Package-level declarations

Types

Link copied to clipboard
abstract class IntentCommand(requirements: Subsystem) : Command

Base class for intent-based commands that coordinate multiple subsystems.

Link copied to clipboard
class StateMachine<S>(initialState: S)

Generic state machine for subsystems.

Functions

Link copied to clipboard
fun intentCommand(name: String, vararg requirements: Subsystem, canExecute: () -> Boolean = { true }, onStart: () -> Unit, isComplete: () -> Boolean, onFinish: (Boolean) -> Unit = {}): IntentCommand

DSL-style builder for simple intent commands without creating a class.