atan2 function on NXT (version 1.1)
Monday, March 12th, 2007
In many mobile robot applications you need the atan2-function that is applied to robot coordinates x and y and that should return the correct angle in all 4 quadrants. This function has the same precision as the previous atan. The result is expressed in a strange unit: deci-degrees (because of integer variables) www.convict.lu/Jeunes/RoboticsIntro.htm
(bug fixed 13.03.07 -trouble with large ratios y/x; version 1.1)
Posted in news | No Comments »