DisplacementDelay

class DisplacementDelay(distance: Double) : Command

This is a delay that waits until the robot has been displaced (by driving) a certain distance. This does not use the length of the path; if you are driving in circles smaller than your distance, it will never finish.

Parameters

distance

the distance the robot must drive

Constructors

Link copied to clipboard
constructor(distance: Double)

Properties

Link copied to clipboard
Link copied to clipboard
open override val isDone: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun and(vararg commands: Command): ParallelGroup
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun invoke()
Link copied to clipboard
Link copied to clipboard
fun raceWith(vararg commands: Command): ParallelRaceGroup
Link copied to clipboard
open override fun start()
Link copied to clipboard
open fun stop(interrupted: Boolean)
Link copied to clipboard
fun then(vararg commands: Command): SequentialGroup
Link copied to clipboard
Link copied to clipboard
open fun update()
Link copied to clipboard