sensor_type_t

Supported sensors.

Synopsis:

#include <bps/sensor.h>
 
typedef enum {
      SENSOR_TYPE_ACCELEROMETER = 0   
      SENSOR_TYPE_MAGNETOMETER = 1   
      SENSOR_TYPE_GYROSCOPE = 2   
      SENSOR_TYPE_AZIMUTH_PITCH_ROLL = 3   
      SENSOR_TYPE_ALTIMETER = 4   
      SENSOR_TYPE_TEMPERATURE = 5   
      SENSOR_TYPE_PROXIMITY = 6   
      SENSOR_TYPE_LIGHT = 7   
      SENSOR_TYPE_GRAVITY = 8   
      SENSOR_TYPE_LINEAR_ACCEL = 9   
      SENSOR_TYPE_ROTATION_VECTOR = 10   
      SENSOR_TYPE_ROTATION_MATRIX = 11   
      SENSOR_TYPE_ORIENTATION = 12   
} sensor_type_t;

Data:

SENSOR_TYPE_ACCELEROMETER
SENSOR_TYPE_MAGNETOMETER
SENSOR_TYPE_GYROSCOPE
SENSOR_TYPE_AZIMUTH_PITCH_ROLL
SENSOR_TYPE_ALTIMETER
SENSOR_TYPE_TEMPERATURE
SENSOR_TYPE_PROXIMITY
SENSOR_TYPE_LIGHT
SENSOR_TYPE_GRAVITY
SENSOR_TYPE_LINEAR_ACCEL
SENSOR_TYPE_ROTATION_VECTOR
SENSOR_TYPE_ROTATION_MATRIX
SENSOR_TYPE_ORIENTATION

Library:

libbps

Description:

This enumeration defines the various sensors that are supported by this API.