onboard speed calculation in odom getting