Class TurnSegment
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.roadrunner.trajectorysequence.sequencesegment.SequenceSegment
org.firstinspires.ftc.teamcode.fy23.roadrunner.trajectorysequence.sequencesegment.TurnSegment
-
Constructor Summary
ConstructorDescriptionTurnSegment
(com.acmerobotics.roadrunner.geometry.Pose2d startPose, double totalRotation, com.acmerobotics.roadrunner.profile.MotionProfile motionProfile, List<com.acmerobotics.roadrunner.trajectory.TrajectoryMarker> markers) -
Method Summary
Modifier and TypeMethodDescriptionfinal com.acmerobotics.roadrunner.profile.MotionProfile
final double
Methods inherited from class org.firstinspires.ftc.teamcode.fy23.roadrunner.trajectorysequence.sequencesegment.SequenceSegment
getDuration, getEndPose, getMarkers, getStartPose
-
Constructor Details
-
TurnSegment
public TurnSegment(com.acmerobotics.roadrunner.geometry.Pose2d startPose, double totalRotation, com.acmerobotics.roadrunner.profile.MotionProfile motionProfile, List<com.acmerobotics.roadrunner.trajectory.TrajectoryMarker> markers)
-
-
Method Details
-
getTotalRotation
public final double getTotalRotation() -
getMotionProfile
public final com.acmerobotics.roadrunner.profile.MotionProfile getMotionProfile()
-