-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Shake
Manages MiP's shake event detection system.
Monitors physical shake events detected by MiP's internal accelerometers and maintains internal state flags for one-shot event reading.
Signature: bool read()
Summary: Checks whether the MiP has been shaken since the last call.
Details:
Flushes pending serial transport data, inspects the internal shake flag, and clears the flag after returning true (one-shot detection).
Returns: true if a shake was detected since the last call, false otherwise.
Signature: constexpr uint8_t MIP_CMD_SHAKE_RESPONSE
Summary: MiP protocol notification byte received when a physical shake event occurs.
Details:
Dispatched asynchronously by MiP over UART as an Out-Of-Band (OOB) notification when the robot experiences a physical shake motion.
🔗 Quick Links: Main Repository • Report an Issue • Wiki Home
An open-source API for the WowWee MiP Robot. Licensed under Apache-2.0.
- MiP
- MiPChestLED
- MiPClapSettings
- MiPDebug
- MiPHardwareInfo
- MiPHeadLEDs
- MiPIRDongleCode
- MiPSoftwareVersion
- MiPStatus
- MiP_Battery
- MiP_ChestLED
- MiP_Clap
- MiP_EEPROM
- MiP_Gesture
- MiP_HeadLEDs
- MiP_Infrared
- MiP_Mode
- MiP_Motion
- MiP_Odometer
- MiP_Position
- MiP_Radar
- MiP_Serial
- MiP_Shake
- MiP_Sound
- MiP_Version
- MiP_Weight
- MiP_WiFi