TurnSegment

constructor(startPose: Pose2d, totalRotation: Double, motionProfile: MotionProfile, markers: List<TrajectoryMarker>)

Create a new turn segment

Parameters

startPose

The start pose

totalRotation

The total rotation to turn

motionProfile

The motion profile to use

markers

The markers to use