Class TurnSegment
java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.roadrunner.trajectorysequence.sequencesegment.SequenceSegment
org.firstinspires.ftc.teamcode.subsystems.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 TypeMethodDescriptioncom.acmerobotics.roadrunner.profile.MotionProfile
double
Methods inherited from class org.firstinspires.ftc.teamcode.subsystems.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 double getTotalRotation() -
getMotionProfile
public com.acmerobotics.roadrunner.profile.MotionProfile getMotionProfile()
-