HoldPosition
class HoldPosition @JvmOverloads constructor(val controllable: Controllable, val controller: Controller, val subsystems: Set<Subsystem> = setOf()) : Command
This implements a Controller to hold a Controllable in its current position.
Parameters
controllable
the Controllable to control
controller
the Controller to implement
subsystems
the list of subsystems this command interacts with (should be whatever subsystem holds this command)
Constructors
Link copied to clipboard
constructor(controllable: Controllable, controller: Controller, subsystems: Set<Subsystem> = setOf())