Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
sensorData Struct Reference

#include <qaGobiApiLoc.h>

Data Fields

ULONG timeOfFirstSample
 
BYTE flags
 
BYTE sensorDataLen
 
WORD timeOffset [MAX_SENSOR_DATA_LEN]
 
ULONG xAxis [MAX_SENSOR_DATA_LEN]
 
ULONG yAxis [MAX_SENSOR_DATA_LEN]
 
ULONG zAxis [MAX_SENSOR_DATA_LEN]
 

Detailed Description

This structure specifies information regarding the 3-Axis Sensor Data.

Parameters
timeOfFirstSample
  • Denotes a full 32-bit time stamp of the first (oldest) sample in this message.
  • The time stamp is in the time reference scale that is used by the sensor time source.
  • Units - Milliseconds
flags
  • Flags to indicate any deviation from the default measurement assumptions.
  • All unused bits in this field must be set to 0.
  • Valid bitmasks
    • 0x01 - Bitmask to specify that a sign reversal is required while interpreting the sensor data; only applies to the accelerometer samples
    • 0x02 - Bitmask to specify that the sensor time stamp is the same as the modem time stamp
sensorDataLen
  • Number of sets of the following elements
    • timeOffset
    • xAxis
    • yAxis
    • zAxis
timeOffset
  • Sample time offset
  • Units - Milliseconds
xAxis
  • Sensor x-axis sample.
  • Units Accelerometer - Meters/seconds square
  • Units Gyroscope - Radians/second
yAxis
  • Sensor Y-axis sample.
  • Units Accelerometer - Meters/seconds square
  • Units Gyroscope - Radians/second
xAxis
  • Sensor Z-axis sample.
  • Units Accelerometer - Meters/seconds square
  • Units Gyroscope - Radians/second

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