interface TrajectorySegment
Generic trajectory segment.
abstract fun acceleration(time: Double): Pose2d
Returns the pose acceleration at the given time. |
|
abstract fun duration(): Double
Returns the duration of the segment. |
|
abstract operator fun get(time: Double): Pose2d
Returns the pose at the given time. |
|
abstract fun velocity(time: Double): Pose2d
Returns the pose velocity at the given time. |
class PathTrajectorySegment : TrajectorySegment
Trajectory segment backed by a list of Path objects. |
|
class PointTurn : TrajectorySegment
Point turn trajectory segment. |
|
class WaitSegment : TrajectorySegment
Static trajectory segment that holds a constant pose. Used for giving trajectories extra time to settle. |