Package com.acmerobotics.roadrunner
Class InstantAction
-
- All Implemented Interfaces:
-
com.acmerobotics.roadrunner.Action
public final class InstantAction implements Action
Instant action that executes f immediately.
-
-
Field Summary
Fields Modifier and Type Field Description private final InstantFunction
f
-
Constructor Summary
Constructors Constructor Description InstantAction(InstantFunction f)
-
Method Summary
Modifier and Type Method Description final InstantFunction
getF()
Boolean
run(TelemetryPacket p)
Runs a single uninterruptible block. -
-
Constructor Detail
-
InstantAction
InstantAction(InstantFunction f)
-
-
Method Detail
-
getF
final InstantFunction getF()
-
-
-
-