class PointTurn : TrajectorySegment
Point turn trajectory segment.
angle
- angle to sweep through (may exceed a full revolution)
constraints
- drive constraints
PointTurn(start: Pose2d, angle: Double, constraints: DriveConstraints)
Point turn trajectory segment. |
val angle: Double
angle to sweep through (may exceed a full revolution) |
|
val constraints: DriveConstraints
drive constraints |
|
val profile: MotionProfile
Motion profile for the time parametrization of the turn. |
|
val start: Pose2d
start pose |
fun acceleration(time: Double): Pose2d
Returns the pose acceleration at the given time. |
|
fun duration(): Double
Returns the duration of the segment. |
|
fun get(time: Double): Pose2d
Returns the pose at the given time. |
|
fun velocity(time: Double): Pose2d
Returns the pose velocity at the given time. |