libyggdrasil
v1.0.0
|
6 axis sensor driver ICM-42605 More...
#include <six_axis_sensor.hpp>
Classes | |
struct | Coordinate |
Coordinates. More... | |
struct | Orientation |
Absolute board orientation. More... | |
Public Member Functions | |
SixAxisSensor ()=delete | |
Static Public Member Functions | |
static bool | init (AccelFullScaleRange accelScale=AccelFullScaleRange::_2G, GyroFullScaleRange gyroScale=GyroFullScaleRange::_250DPS, AccelOutputDataRange accelOdr=AccelOutputDataRange::_1000Hz, GyroOutputDataRange gyroOdr=GyroOutputDataRange::_1000Hz) |
Initializes the ICM-42605 Six Axis Sensor. More... | |
static Coordinate | getRotation () |
Get yggdrasil's current orientation from the gyroscope. More... | |
static Coordinate | getAcceleration () |
Get yggdrasil's current acceleration from the accelerometer. More... | |
static float | getTemperature () |
Get the internal temperature of the ICM-42605 sensor. More... | |
static Orientation | getBoardOrientation () |
Get yggdrasil's current orientation. More... | |
6 axis sensor driver ICM-42605
|
strong |
|
strong |
Accelerometer data rate.
|
strong |
Gyroscope range.
|
strong |
Gyroscope data rate.
|
delete |
|
inlinestatic |
Get yggdrasil's current acceleration from the accelerometer.
|
inlinestatic |
Get yggdrasil's current orientation.
|
inlinestatic |
Get yggdrasil's current orientation from the gyroscope.
|
inlinestatic |
Get the internal temperature of the ICM-42605 sensor.
|
inlinestatic |
Initializes the ICM-42605 Six Axis Sensor.
accelScale | Scaling factor of the Accelerometer |
gyroScale | Scaling factor of the Gyroscope |
accelOdr | Output data rate of the Accelerometer |
gyroOdr | Output data rate of the Gyroscope |