Skip to main content

Orphaned Members

This page contains all of the various functions that aren't children of a class.

sequential(block: SequentialCommandGroup.() => Unit): SequentialCommandGroup

This function returns a sequential comand group. It should be used as follows:

val mySequentialCommandGroup: SequentialCommandGroup
get() = sequential {
+FirstCommand()
+SecondCommand()
}

Definition in com.atomicrobotics.cflib/CommandGroup.kt

parallel(block: ParallelCommandGroup.() -> Unit): ParallelCommandGroup

This function returns a parallel command group. It should be used as follows:

val myParallelCommandGroup: ParallelCommandGroup
get() = parallel {
+FirstCommand()
+SecondCommand()
}

Definition in com.atomicrobotics.cflib/CommandGroup.kt