turn

open fun turn(radians: Double): T

Turn to a given angle.

Return

The builder

Parameters

radians

The angle to turn (radians)


open fun turn(angle: Double, angleUnit: Angle): T

Turn to a given angle.

Return

The builder

Parameters

angle

The angle to turn

angleUnit

The unit of the angle (will be converted to radians)


open fun turn(angle: Double, maxAngVel: Double, maxAngAccel: Double): T

Turn to a given angle with custom maximum angular velocity and acceleration.

Return

The builder

Parameters

angle

The angle to turn (radians)

maxAngVel

The maximum angular velocity (radians/sec)

maxAngAccel

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

angleUnit

The unit of the angle (will be converted to radians)

maxAngVel

The maximum angular velocity

velUnit

The unit of the maximum angular velocity (will be converted to radians/sec)

maxAngAccel

The maximum angular acceleration

accelUnit

The unit of the maximum angular acceleration (will be converted to radians/sec^2)