Dezibot 4
MotionDetection.h File Reference

This component controls the IMU (Accelerometer & Gyroscope) ICM-42670-P. More...

#include <SPI.h>
#include <Arduino.h>
#include "IMU_CMDs.h"
+ Include dependency graph for MotionDetection.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IMUResult
 
struct  Orientation
 
struct  FIFO_Package
 
class  MotionDetection
 

Enumerations

enum  Axis { xAxis = 0x01, yAxis = 0x02, zAxis = 0x04 }
 
enum  Direction {
  Front, Left, Right, Back,
  Neutral, Flipped, Error
}
 

Detailed Description

This component controls the IMU (Accelerometer & Gyroscope) ICM-42670-P.

Author
Hans Haupt
Version
0.1
Date
2023-12-15

Definition in file MotionDetection.h.

Enumeration Type Documentation

◆ Axis

enum Axis
Enumerator
xAxis 
yAxis 
zAxis 

Definition at line 21 of file MotionDetection.h.

◆ Direction

enum Direction
Enumerator
Front 
Left 
Right 
Back 
Neutral 
Flipped 
Error 

Definition at line 32 of file MotionDetection.h.