You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amber and I changed this to use atan2 instead of atan. atan2 is not the right function to use when calculating angles of a right triangle; switch back to atan.
The function needs to take the robot heading into account. If the robot is facing left instead of right, the calculated heading will swing it around to the right again.
The text was updated successfully, but these errors were encountered:
Two problems:
Amber and I changed this to use atan2 instead of atan. atan2 is not the right function to use when calculating angles of a right triangle; switch back to atan.
The function needs to take the robot heading into account. If the robot is facing left instead of right, the calculated heading will swing it around to the right again.
The text was updated successfully, but these errors were encountered: