Data Fields
sensors_event_t Struct Reference

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
 

Detailed Description

Union of the various types of sensor data that can be returned.

Definition at line 328 of file sensors.h.

Field Documentation

union { ... }
sensors_vec_t sensors_event_t::acceleration

Definition at line 348 of file sensors.h.

float sensors_event_t::data[16]

Definition at line 345 of file sensors.h.

float sensors_event_t::distance

Definition at line 363 of file sensors.h.

sensors_vec_t sensors_event_t::gyro

Definition at line 357 of file sensors.h.

float sensors_event_t::light

Definition at line 366 of file sensors.h.

sensors_vec_t sensors_event_t::magnetic

Definition at line 351 of file sensors.h.

sensors_vec_t sensors_event_t::orientation

Definition at line 354 of file sensors.h.

float sensors_event_t::pressure

Definition at line 369 of file sensors.h.

float sensors_event_t::relative_humidity

Definition at line 372 of file sensors.h.

int32_t sensors_event_t::reserved0

Definition at line 339 of file sensors.h.

uint32_t sensors_event_t::reserved1[4]

Definition at line 374 of file sensors.h.

int32_t sensors_event_t::sensor

Definition at line 333 of file sensors.h.

float sensors_event_t::temperature

Definition at line 360 of file sensors.h.

int64_t sensors_event_t::timestamp

Definition at line 342 of file sensors.h.

int32_t sensors_event_t::type

Definition at line 336 of file sensors.h.

int32_t sensors_event_t::version

Definition at line 330 of file sensors.h.