getVelocity

This returns the velocity of the robot as a Vector. If this is called multiple times in a single update, the velocity Vector is cached so that subsequent calls don't have to repeat localizer calls or calculations.

Return

returns the velocity of the robot.