Union of the various types of sensor data that can be returned. More...
Data Fields | |
union { | |
sensors_vec_t acceleration | |
float data [16] | |
float distance | |
sensors_vec_t gyro | |
float light | |
sensors_vec_t magnetic | |
sensors_vec_t orientation | |
float pressure | |
float relative_humidity | |
float temperature | |
}; | |
int32_t | reserved0 |
uint32_t | reserved1 [4] |
int32_t | sensor |
int64_t | timestamp |
int32_t | type |
int32_t | version |
Union of the various types of sensor data that can be returned.
union { ... } |
sensors_vec_t sensors_event_t::acceleration |
sensors_vec_t sensors_event_t::gyro |
sensors_vec_t sensors_event_t::magnetic |
sensors_vec_t sensors_event_t::orientation |