SequentialCommandGroup
The SequentialCommandGroup
class is an extention of the CommandGroup
class. It provides functionality for executing commands one at a time in a specific order.
Root
- Extends:
CommandGroup
- Declaration:
class
- Package:
com.atomicrobotics.cflib
Functions
start()
This method starts the first command in the list.
- Declaration:
override fun
- Parameters: none
- Returns:
Unit
execute()
This function starts the first command in the list if it hasn't been started already, then executes it, and checks to see if it's done. If it is done, it runs the command's end function and removes it from the list. It then starts the next command in the list.
- Declaration:
override fun
- Parameters: none
- Returns:
Unit
Definition in com.atomicrobotics.cflib/CommandGroup.kt