Loop Cmd
class LoopCmd(action: () -> Unit, requirements: KSubsystem) : LoopUntilCmd
Content copied to clipboard
Command that runs infinitely
Parameters
action
action to run
requirements
subsystem requirements
Constructors
Inherited properties
Inherited functions
Link copied to clipboard
Run n commands in parallel with this command, ending when all commands have ended
Link copied to clipboard
Pause for n seconds after this command ends
Link copied to clipboard
Runs n commands sequentially after this command
Link copied to clipboard
Cancel command. KScheduler.cancel
Link copied to clipboard
Runs n commands in parallel with this command, ending when this command ends
Link copied to clipboard
First part of running a command, called on start of command.
Link copied to clipboard
Schedule command. Syntax sugar for KScheduler.schedule
Link copied to clipboard
Wait until a condition has been fulfilled to run this command
Link copied to clipboard
Cancels this command after some time if not finished