SELKIELogger  1.0.0
lpms_data Struct Reference

LPMS IMU data packet. More...

#include <LPMSTypes.h>

Collaboration diagram for lpms_data:

Public Attributes

uint32_t timestamp
 Counted in 0.002s increments.
 
float accel_raw [3]
 Raw accelerometer values [g].
 
float accel_cal [3]
 Calibrated accelerometer values [g].
 
float gyro_raw [3]
 Raw gyroscope values [X/s].
 
float gyro_cal [3]
 Calibrated gyroscope values [X/s].
 
float gyro_aligned [3]
 Calibrated and aligned gyroscope values [X/s].
 
float mag_raw [3]
 Raw magnetometer values [uT].
 
float mag_cal [3]
 Calibrated magnetometer values [uT].
 
float omega [3]
 Angular velocity [X/s].
 
float quaternion [4]
 Orientation in quaternion form.
 
float euler_angles [3]
 Orientation as Euler roll angles [X].
 
float accel_linear [3]
 Linear acceleration (only) [g].
 
float pressure
 Atmospheric pressure [kPa].
 
float altitude
 Altitude [m].
 
float temperature
 Temperature [Celsius].
 
uint32_t present
 Bitmask indicating set/valid members.
 

Detailed Description

LPMS IMU data packet.

The exact combination of data transmitted by the sensors is configurable at run time, so this represents all possible values that could be retrieved. It almost certainly will not correspond to the on-wire format of the data received.

The present member will contain a bitmask indicating which members are set, as reported by the sensor. This is not transmitted with every packet, so must be cached and set explicitly.

Definition at line 72 of file LPMSTypes.h.


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