MotorToPosition

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


constructor(motor: DcMotorEx, target: Double, controller: PIDFController, subsystems: Set<Subsystem>)

Parameters

motor

the motor to control

target

the target position

controller

the controller to implement

subsystems

the list of subsystems this command interacts with (should be whatever subsystem holds this command)