MotorHoldPosition

constructor(motor: DcMotorEx, controller: PIDFController, subsystem: Subsystem)


constructor(motor: DcMotorEx, controller: PIDFController, subsystems: Set<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)