Check out ConfigSensor.h defined in the A2300 API. The format is defined by the following structures.
//Motion Sensor Types.
struct Motion_RawSample
{
short gyro[3];
short accel[3];
long quat[3];
unsigned long timecode;
short flags;
};
struct Motion_DataSet
{
short ctRecs;
Motion_RawSample Samples[6]; //Max 6 raw samples per set.
};
I have few questions regarding Motion_RawSample structure.
The size of integer type depends on the architecture. I assumed that the size of long type is 32 bits and the size of short is 16 bits in WCA DCI messages. Am I right?
Why is not quaternion defined as a four-dimensional?
Please let me know about scale factors of gyroscope, accelerometer and quaternion.