Skip to content

MiP_Odometer

github-actions[bot] edited this page Aug 10, 2026 · 9 revisions

Class MiP_Odometer

Manages MiP's odometer monitoring.

Members & Functions

Type Signature Description
variable constexpr uint8_t MIP_CMD_READ_ODOMETERNone MiP protocol command bytes used by the odometer subsystem.
variable constexpr uint8_t MIP_CMD_RESET_ODOMETERNone
variable MiP & m_mipNone
function MiP_Odometer(MiP &mip) Constructs the odometer manager.
function float read() Reads the total distance travelled by the MiP.
function void reset() Resets the odometer distance to zero.
function int8_t rawRead(float &distanceInCm)

Clone this wiki locally