toggle menu
BunyipsLib
v4.1.0-master-b97a0460
BunyipsLib
switch theme
search in API
BunyipsLib
/
org.murraybridgebunyips.bunyipslib.roadrunner.trajectorysequence
/
TrajectorySequence
Trajectory
Sequence
open
class
TrajectorySequence
A sequence of trajectory segments.
Since
1.0.0-pre
Members
Constructors
Trajectory
Sequence
Link copied to clipboard
constructor
(
sequenceList
:
List
<
SequenceSegment
>
)
Create a new trajectory sequence
Functions
duration
Link copied to clipboard
open
fun
duration
(
)
:
Double
Get the time in seconds for the sequence to execute.
end
Link copied to clipboard
open
fun
end
(
)
:
Pose2d
Get the end pose of the sequence
get
Link copied to clipboard
open
fun
get
(
i
:
Int
)
:
SequenceSegment
Get the segment at the given index
size
Link copied to clipboard
open
fun
size
(
)
:
Int
Get the number of segments in the sequence
start
Link copied to clipboard
open
fun
start
(
)
:
Pose2d
Get the start pose of the sequence