Turn

constructor(angle: Angle, tolerance: Angle = 5.deg)

Parameters

angle

the angle to turn by. Positive angles turn counterclockwise and negative angles turn clockwise.

tolerance

the maximum error between the current heading and the target heading required to finish