RotateTask

constructor(goal: Double, relative: Boolean, controller: PTPController)

Parameters

goal

Target angle in radians

relative

If true robot will rotate relative to its current rotation and if false it will rotate to the goal orientation

controller

Point to point controller