Contiki-Inga 3.x
|
This sensor interface allows to control the gyroscope of the INGA sensor platform. More...
Configuration Types | |
#define | GYRO_CONF_SENSITIVITY 10 |
Configures the sensitivity. More... | |
#define | GYRO_CONF_DATA_RATE 20 |
Configures the output data rate. More... | |
SENSITIVITY Values | |
| |
#define | GYRO_250DPS 250 |
#define | GYRO_500DPS 500 |
#define | GYRO_2000DPS 2000 |
DATA_RATE Values. | |
| |
#define | GYRO_100HZ 100 |
#define | GYRO_200HZ 200 |
#define | GYRO_400HZ 400 |
#define | GYRO_800HZ 800 |
This sensor interface allows to control the gyroscope of the INGA sensor platform.
acc_sensor.configure(type, value)
The sensor interface allows to configure:
Details of the different configurations are given in the documentation of respective config.
acc_sensor.value(channel)
The sensor provides 7 data channels.
#define GYRO_CONF_DATA_RATE 20 |
Configures the output data rate.
The sensor can operate at different update rates (100,200,400,800 [Hz]). Allowed values can be found in DATA_RATE Values
Definition at line 129 of file gyro-sensor.h.
#define GYRO_CONF_SENSITIVITY 10 |
Configures the sensitivity.
The sensor can operate at three different sensitivity levels (+/-250,+/-500,+/-2000 [dps]). Possible values can be found in SENSITIVITY Values
Definition at line 124 of file gyro-sensor.h.