TurnSegment

Represents a segment of a trajectory sequence that involves a turn.

Constructors

Link copied to clipboard
constructor(startPose: Pose2d, totalRotation: Double, motionProfile: MotionProfile, markers: List<TrajectoryMarker>)
Constructs a new TurnSegment.

Properties

Link copied to clipboard
The duration of the segment.
Link copied to clipboard
val endPose: Pose2d
The ending pose of the segment.
Link copied to clipboard
val markers: List<TrajectoryMarker>
The list of trajectory markers associated with the segment.
Link copied to clipboard
val motionProfile: MotionProfile
The motion profile for the turn.
Link copied to clipboard
val startPose: Pose2d
The starting pose of the segment.
Link copied to clipboard
The total rotation for the turn.