This commit is contained in:
BlueOceanWave 2024-03-05 16:30:26 -06:00
commit b861a61f07

View File

@ -67,7 +67,7 @@
"source": [ "source": [
"def normalize_degree(theta):\n", "def normalize_degree(theta):\n",
" # Normalizes degree theta from -1.5pi to 1.5pi\n", " # Normalizes degree theta from -1.5pi to 1.5pi\n",
" multiplier = 1\n", " multiplier = 1.5\n",
" normalized_theta = theta % (math.pi * multiplier)\n", " normalized_theta = theta % (math.pi * multiplier)\n",
" \n", " \n",
" # Maintain the negative sign if the original angle is negative\n", " # Maintain the negative sign if the original angle is negative\n",