libyggdrasil
v1.0.0
|
Driver to use the ICM-42605 Six Axis Sensor. More...
#include <c/yggdrasil/types.h>
Go to the source code of this file.
Classes | |
struct | Coordinate |
Coordinates. More... | |
struct | Orientation |
Absolute board orientation. More... | |
Functions | |
C_LINKAGE bool | yggdrasil_SixAxisSensor_Init (enum SixAxisSensorAccelFullScaleRange accelScale, enum SixAxisSensorGyroFullScaleRange gyroScale, enum SixAxisSensorAccelOutputDataRange accelOdr, enum SixAxisSensorGyroOutputDataRange gyroOdr) |
Initializes the ICM-42605 Six Axis Sensor. More... | |
C_LINKAGE struct Coordinate | yggdrasil_SixAxisSensor_GetRotation (void) |
Get yggdrasil's current orientation from the gyroscope. More... | |
C_LINKAGE struct Coordinate | yggdrasil_SixAxisSensor_GetAcceleration (void) |
Get yggdrasil's current acceleration from the accelerometer. More... | |
C_LINKAGE float | yggdrasil_SixAxisSensor_GetTemperature (void) |
Get the internal temperature of the ICM-42605 sensor. More... | |
C_LINKAGE struct Orientation | yggdrasil_SixAxisSensor_GetBoardOrientation (void) |
Get yggdrasil's current orientation. More... | |
Driver to use the ICM-42605 Six Axis Sensor.
Accelerometer range.
Accelerometer data rate.
Gyroscope range.
Gyroscope data rate.
C_LINKAGE struct Coordinate yggdrasil_SixAxisSensor_GetAcceleration | ( | void | ) |
Get yggdrasil's current acceleration from the accelerometer.
C_LINKAGE struct Orientation yggdrasil_SixAxisSensor_GetBoardOrientation | ( | void | ) |
Get yggdrasil's current orientation.
C_LINKAGE struct Coordinate yggdrasil_SixAxisSensor_GetRotation | ( | void | ) |
Get yggdrasil's current orientation from the gyroscope.
C_LINKAGE float yggdrasil_SixAxisSensor_GetTemperature | ( | void | ) |
Get the internal temperature of the ICM-42605 sensor.
C_LINKAGE bool yggdrasil_SixAxisSensor_Init | ( | enum SixAxisSensorAccelFullScaleRange | accelScale, |
enum SixAxisSensorGyroFullScaleRange | gyroScale, | ||
enum SixAxisSensorAccelOutputDataRange | accelOdr, | ||
enum SixAxisSensorGyroOutputDataRange | gyroOdr | ||
) |
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 |