HiTechnic ATan2 Block

This block calculates the angle from the +x axis to a line that goes from the origin to the point (x,y). The angle will be positive for counter-clockwise rotation and negative for clockwise. In degrees, the output Angle will be in the range -180 to 180; in radians it will be -pi to pi.

More help »