-
Notifications
You must be signed in to change notification settings - Fork 0
MiP_Position
Manages reporitng of MiP's position.
Signature: MiP_Position(MiP &mip)
Summary: Constructs the position manager.
Parameters:
| Parameter | Description |
|---|---|
mip |
A reference to the main MiP object to access core services. |
Signature: MiPPosition read()
Summary: Reads the current physical position or orientation of the MiP.
Details:
Uses cached status data (updated automatically from OOB events). No new serial request is sent to the robot.
Returns: Current position as a MiPPosition enum value.
Signature: bool isOnBack()
Summary: Checks if the MiP is lying on its back.
Returns: true if on its back.
Signature: bool isFaceDown()
Summary: Checks if the MiP is face down.
Returns: true if face down.
Signature: bool isUpright()
Summary: Checks if the MiP is upright.
Returns: true if upright.
Signature: bool isPickedUp()
Summary: Checks if the MiP has been picked up.
Returns: true if picked up.
Signature: bool isHandStanding()
Summary: Checks if the MiP is in a hand-standing position.
Returns: true if hand-standing.
Signature: bool isFaceDownOnTray()
Summary: Checks if the MiP is face down on its tray.
Returns: true if face down on tray.
Signature: bool isOnBackWithKickstand()
Summary: Checks if the MiP is on its back with the kickstand deployed.
Returns: true if on back with kickstand.
🔗 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