class WaitSegment : TrajectorySegment
Static trajectory segment that holds a constant pose. Used for giving trajectories extra time to settle.
WaitSegment(pose: Pose2d, duration: Double)
Static trajectory segment that holds a constant pose. Used for giving trajectories extra time to settle. |
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. |