turn

Adds a turn segment that turns the specified angle.

Parameters

angle

angle to turn


fun turn(angle: Angle, angVelOverride: Angle, angAccelOverride: Angle = builder.baseAngAccel, angJerkOverride: Angle = builder.baseAngJerk): TrajectoryCommandBuilder

Adds a turn segment that turns angle degrees.

Parameters

angle

angle to turn (in degrees)

constraintsOverride

segment-specific constraints