TrajectorySequence

Represents a sequence of trajectory segments.

Constructors

Link copied to clipboard
constructor(sequenceList: List<SequenceSegment>)
Constructs a new TrajectorySequence.

Functions

Link copied to clipboard
open fun duration(): Double
Returns the total duration of the trajectory sequence.
Link copied to clipboard
open fun end(): Pose2d
Returns the ending pose of the trajectory sequence.
Link copied to clipboard
open fun get(i: Int): SequenceSegment
Returns the sequence segment at the specified index.
Link copied to clipboard
open fun size(): Int
Returns the number of sequence segments in the trajectory sequence.
Link copied to clipboard
open fun start(): Pose2d
Returns the starting pose of the trajectory sequence.