MotorHoldPosition
class MotorHoldPosition(val motor: DcMotorEx, val controller: PIDFController, val subsystems: Set<Subsystem>) : Command
Deprecated
Removed in favor of controllables
Replace with
RunToPosition
Content copied to clipboard
This command holds a motor's position until another command is scheduled that uses the same subsystem.
Parameters
motor
the motor to control
controller
the controller to implement
subsystems
the list of subsystems this command interacts with (should be whatever subsystem holds this command)