MotorVelocityTask

constructor(target: Double, motor: Motor, encoder: RotaryEncoder, pid: PID)

Parameters

target

Target Velocity

motor

Motor

encoder

Motor Encoder

pid

PID controller for the velocity