-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Position
Manages reporting of MiP's physical orientation and stance position.
Signature: MiPPosition read()
Summary: Reads MiP's current physical position or orientation.
Details:
Uses cached status data (updated automatically from Out-Of-Band status events). No new serial request is sent to the robot hardware.
Returns: MiPPosition Current physical position as a MiPPosition enum value. Returns MIP_POSITION_ON_BACK_WITH_KICKSTAND if uninitialized.
Signature: bool isOnBack()
Summary: Checks if MiP is lying on back position.
Returns: true if MiP is lying on back, false otherwise.
Signature: bool isFaceDown()
Summary: Checks if MiP is face down.
Returns: true if MiP is lying face down, false otherwise.
Signature: bool isUpright()
Summary: Checks if MiP is upright.
Returns: true if MiP is standing upright, false otherwise.
Signature: bool isPickedUp()
Summary: Checks if MiP has been picked up.
Returns: true if MiP is currently picked up off the surface, false otherwise.
Signature: bool isHandStanding()
Summary: Checks if MiP is in a hand-standing position.
Returns: true if MiP is in a hand-stand position, false otherwise.
Signature: bool isFaceDownOnTray()
Summary: Checks if MiP is face down on tray position.
Returns: true if MiP is face down on tray, false otherwise.
Signature: bool isOnBackWithKickstand()
Summary: Checks if MiP is on back with the kickstand deployed.
Returns: true if MiP is on back with kickstand deployed, false otherwise.
🔗 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