Data Fields
sMI_Gyroscope Struct Reference

internal struct used to save data related to angular velocity (imu) More...

#include <twi.h>

Data Fields

uint8_t gyro_xout_h
 
uint8_t gyro_xout_l
 
uint8_t gyro_yout_h
 
uint8_t gyro_yout_l
 
uint8_t gyro_zout_h
 
uint8_t gyro_zout_l
 

Detailed Description

internal struct used to save data related to angular velocity (imu)

The angular velocities and their offsets are full scaled to +/-250°/s. Hence, those values are measured in about 130 steps per degree per second.
1 LSB = 250°/s / 2^15 ~ 7.623 * 10^-3 °/s

Note
All values are 16-bit wide and stored in order:
High byte first, low byte second.
See also
imu_get(), imu_request() and MI_Gyroscope

Field Documentation

◆ gyro_xout_h

uint8_t sMI_Gyroscope::gyro_xout_h

angular velocity around x-axis (high byte)

◆ gyro_xout_l

uint8_t sMI_Gyroscope::gyro_xout_l
See also
imu_get() and kImuGetGyroX angular velocity around x-axis (low byte)

◆ gyro_yout_h

uint8_t sMI_Gyroscope::gyro_yout_h
See also
imu_get() and kImuGetGyroX angular velocity around y-axis (high byte)

◆ gyro_yout_l

uint8_t sMI_Gyroscope::gyro_yout_l
See also
imu_get() and kImuGetGyroY angular velocity around y-axis (low byte)

◆ gyro_zout_h

uint8_t sMI_Gyroscope::gyro_zout_h
See also
imu_get() and kImuGetGyroY angular velocity around z-axis (high byte)

◆ gyro_zout_l

uint8_t sMI_Gyroscope::gyro_zout_l
See also
imu_get() and kImuGetGyroZ angular velocity around z-axis (low byte)

The documentation for this struct was generated from the following file: