turn
Turn to a given angle.
Return
The builder
Parameters
radians
The angle to turn (radians)
Turn to a given angle.
Return
The builder
Parameters
angle
The angle to turn
angle Unit
The unit of the angle (will be converted to radians)
Turn to a given angle with custom maximum angular velocity and acceleration.
Return
The builder
Parameters
angle
The angle to turn (radians)
max Ang Vel
The maximum angular velocity (radians/sec)
max Ang Accel
The maximum angular acceleration (radians/sec^2)
open fun turn(angle: Double, angleUnit: Angle, maxAngVel: Double, velUnit: Velocity<Angle>, maxAngAccel: Double, accelUnit: Velocity<Velocity<Angle>>): T
Turn to a given angle with custom maximum angular velocity and acceleration.
Return
The builder
Parameters
angle
The angle to turn
angle Unit
The unit of the angle (will be converted to radians)
max Ang Vel
The maximum angular velocity
vel Unit
The unit of the maximum angular velocity (will be converted to radians/sec)
max Ang Accel
The maximum angular acceleration
accel Unit
The unit of the maximum angular acceleration (will be converted to radians/sec^2)