velocity

var CANSparkBase.velocity: RotationVelocity

The velocity that the motor is rotating at. The velocity is measured by this motor's com.revrobotics.RelativeEncoder, and controlled by its com.revrobotics.SparkPIDController.

Since

2024-02-08

See also

CANSparkBase.encoder
CANSparkBase.pidController