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
drewmccluskey edited this page Jan 23, 2019
·
4 revisions
angle_difference
returns the difference between two angles within -180 and 180 return values.
Syntax:
angle_difference(doublesrc,doubledest)
Vector
Argument
Description
double src
Current angle
double dest
Desired angle
Returns:double
Description:
This function will return the difference between two input angles within -180 and 180. It is used to gather information to know which direction to rotate in the quickest way to get to a specific direction.