Doly C++ SDK v1.00
Loading...
Searching...
No Matches
ImuControl

Doly IMU (Inertial Measurement Unit) control and event API. More...

Files

file  ImuControl.h
 Public API for Doly IMU (Inertial Measurement Unit) control.
file  ImuEvent.h
 Event registration helpers for the IMU subsystem.
file  ImuEventListener.h
 Listener interface and data types for IMU (Inertial Measurement Unit) events.

Classes

struct  VectorFloat
 3D float vector (x,y,z). More...
struct  YawPitchRoll
 Yaw / Pitch / Roll angles (degrees). More...
struct  ImuData
 Latest IMU reading snapshot returned by the IMU subsystem. More...
class  ImuEventListener
 Observer interface for receiving IMU events. More...

Enumerations

enum class  ImuGesture : uint8_t {
  ImuGesture::UNDEFINED , ImuGesture::MOVE , ImuGesture::LONG_SHAKE , ImuGesture::SHORT_SHAKE ,
  ImuGesture::VIBRATE , ImuGesture::VIBRATE_EXTREME , ImuGesture::SHOCK_LIGHT , ImuGesture::SHOCK_MEDIUM ,
  ImuGesture::SHOCK_HARD , ImuGesture::SHOCK_EXTREME
}
 High-level gesture types detected from IMU motion analysis. More...
enum class  GestureDirection : uint8_t {
  GestureDirection::LEFT , GestureDirection::RIGHT , GestureDirection::UP , GestureDirection::DOWN ,
  GestureDirection::FRONT , GestureDirection::BACK
}
 Direction associated with a detected gesture (where the motion came from). More...

Detailed Description

Doly IMU (Inertial Measurement Unit) control and event API.

IMU module.

Enumeration Type Documentation

◆ GestureDirection

enum class GestureDirection : uint8_t
strong

Direction associated with a detected gesture (where the motion came from).

Enumerator
LEFT 
RIGHT 
UP 
DOWN 
FRONT 
BACK 
Examples
ImuControl/main.cpp.

◆ ImuGesture

enum class ImuGesture : uint8_t
strong

High-level gesture types detected from IMU motion analysis.

Enumerator
UNDEFINED 

No gesture / unknown state.

MOVE 

Minor movement detected.

LONG_SHAKE 

Long-distance shake detected.

SHORT_SHAKE 

Short-distance shake detected.

VIBRATE 

Vibration detected.

VIBRATE_EXTREME 

Strong/continuous vibration detected.

SHOCK_LIGHT 

Light shock/impact detected.

SHOCK_MEDIUM 

Medium shock/impact detected.

SHOCK_HARD 

Hard shock/impact detected.

SHOCK_EXTREME 

Extreme shock/impact detected.

Examples
ImuControl/main.cpp.