Hermes
Toggle table of contents
0.2.1
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Hermes
ftc
/
com.acmerobotics.roadrunner.ftc
/
FollowTrajectoryAction
Follow
Trajectory
Action
class
FollowTrajectoryAction
(
follower
:
Follower
,
drive
:
Drive
)
:
Action
Members
Constructors
Follow
Trajectory
Action
Link copied to clipboard
constructor
(
traj
:
Trajectory
<
*
>
,
drive
:
Drive
)
constructor
(
path
:
PosePath
,
drive
:
Drive
,
velConstraintOverride
:
VelConstraint
,
accelConstraintOverride
:
AccelConstraint
)
constructor
(
follower
:
Follower
,
drive
:
Drive
)
Properties
requirements
Link copied to clipboard
open
val
requirements
:
Set
<
Any
>
Functions
delay
Link copied to clipboard
open
fun
delay
(
dt
:
Duration
)
:
SequentialAction
open
fun
delay
(
dt
:
Duration
)
:
SequentialAction
interruptible
Link copied to clipboard
open
fun
interruptible
(
onInterruption
:
Action
)
:
Interruptible
open
fun
interruptible
(
onInterruption
:
InstantFunction
)
:
Interruptible
open
fun
interruptible
(
onInterruption
:
(
)
->
Action
)
:
Interruptible
preview
Link copied to clipboard
open
fun
preview
(
fieldOverlay
:
Canvas
)
race
Link copied to clipboard
open
fun
race
(
a
:
Action
)
:
RaceAction
open
fun
race
(
f
:
InstantFunction
)
:
RaceAction
open
fun
race
(
a
:
(
)
->
Action
)
:
RaceAction
run
Link copied to clipboard
open
override
fun
run
(
p
:
TelemetryPacket
)
:
Boolean
then
Link copied to clipboard
open
fun
then
(
a
:
Action
)
:
SequentialAction
open
fun
then
(
f
:
InstantFunction
)
:
SequentialAction
open
fun
then
(
a
:
(
)
->
Action
)
:
SequentialAction
with
Link copied to clipboard
open
fun
with
(
a
:
Action
)
:
ParallelAction
open
fun
with
(
f
:
InstantFunction
)
:
ParallelAction
open
fun
with
(
a
:
(
)
->
Action
)
:
ParallelAction
with
Preview
Link copied to clipboard
open
fun
withPreview
(
preview
:
Consumer
<
Canvas
>
)
:
Action
open
fun
withPreview
(
preview
:
(
Canvas
)
->
Unit
)
:
Action
with
Requirements
Link copied to clipboard
open
fun
withRequirements
(
vararg
reqs
:
Any
)
:
Action
open
fun
withRequirements
(
reqs
:
Set
<
Any
>
)
:
Action