getVelocity

fun getVelocity(): PoseVelocity2d

Calculate the first derivative of the accumulated pose from an internal localizer.

Return

the current pose velocity of the drive, may be nullable if this drive does not support localization or does not supply velocity