TurnTo

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

Parameters

targetHeading

the heading to turn to

tolerance

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