Skip to content

MiP_Weight

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

Class MiP_Weight

Manages reading the MiP robot's weight sensor.

Members & Functions

Type Signature Description
variable constexpr uint8_t MIP_CMD_GET_WEIGHTNone MiP protocol command bytes used by the weight detection subsystem.
variable MiP & m_mipNone
variable int8_t m_lastWeightNone
friend class MiPNone
function MiP_Weight(MiP &mip) Constructs the Weight manager.
function void processEvent(int8_t weightValue)
function int8_t read() Reads the current weight on the MiP's weight sensor.
function void clear()
function int8_t rawGet(int8_t &weight)
function int8_t parse(int8_t &weight, const uint8_t response[], size_t responseLength)

Clone this wiki locally