Package com.acmerobotics.roadrunner
Class TimeTurn
-
- All Implemented Interfaces:
public final class TimeTurn
A time-indexed turn beginning at beginPose and rotating CCW angle radians subject to constraints.
Note: Regardless of whether the turn is to the left or to the right, the max accel limit is applied when speeding up and the min accel limit is applied when speeding down.
-
-
Field Summary
Fields Modifier and Type Field Description public final TimeProfile
profile
public final Double
duration
public final Boolean
reversed
public final Pose2d
beginPose
public final Double
angle
public final TurnConstraints
constraints
-
Constructor Summary
Constructors Constructor Description TimeTurn(Pose2d beginPose, Double angle, TurnConstraints constraints)
-
Method Summary
-
-
Constructor Detail
-
TimeTurn
TimeTurn(Pose2d beginPose, Double angle, TurnConstraints constraints)
-
-
-
-