toggle menu
MeepMeep
jvm
switch theme
search in API
MeepMeep
/
org.rowlandhall.meepmeep.roadrunner.trajectorysequence.sequencesegment
/
TurnSegment
Turn
Segment
class
TurnSegment
:
SequenceSegment
Represents a segment of a trajectory sequence that involves a turn.
Members
Constructors
Turn
Segment
Link copied to clipboard
constructor
(
startPose
:
Pose2d
,
totalRotation
:
Double
,
motionProfile
:
MotionProfile
,
markers
:
List
<
TrajectoryMarker
>
)
Constructs a new TurnSegment.
Properties
duration
Link copied to clipboard
val
duration
:
Double
The duration of the segment.
end
Pose
Link copied to clipboard
val
endPose
:
Pose2d
The ending pose of the segment.
markers
Link copied to clipboard
val
markers
:
List
<
TrajectoryMarker
>
The list of trajectory markers associated with the segment.
motion
Profile
Link copied to clipboard
val
motionProfile
:
MotionProfile
The motion profile for the turn.
start
Pose
Link copied to clipboard
val
startPose
:
Pose2d
The starting pose of the segment.
total
Rotation
Link copied to clipboard
val
totalRotation
:
Double
The total rotation for the turn.