getVelocity

open fun getVelocity(): Double

Get the velocity of the encoder with velocity overflow corrected. updateVelocity must be executed every frame for this to work correctly