mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-23 01:04:01 +08:00
47d30174d3
* sensord: move to system/ * add gitignore to releaes files old-commit-hash: 6f40f0d4427f4238c3939a64d1d6baa7d77f1ecc
19 lines
542 B
C
19 lines
542 B
C
#pragma once
|
|
|
|
|
|
#define SENSOR_ACCELEROMETER 1
|
|
#define SENSOR_MAGNETOMETER 2
|
|
#define SENSOR_MAGNETOMETER_UNCALIBRATED 3
|
|
#define SENSOR_GYRO 4
|
|
#define SENSOR_GYRO_UNCALIBRATED 5
|
|
#define SENSOR_LIGHT 7
|
|
|
|
#define SENSOR_TYPE_ACCELEROMETER 1
|
|
#define SENSOR_TYPE_GEOMAGNETIC_FIELD 2
|
|
#define SENSOR_TYPE_GYROSCOPE 4
|
|
#define SENSOR_TYPE_LIGHT 5
|
|
#define SENSOR_TYPE_AMBIENT_TEMPERATURE 13
|
|
#define SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED 14
|
|
#define SENSOR_TYPE_MAGNETIC_FIELD SENSOR_TYPE_GEOMAGNETIC_FIELD
|
|
#define SENSOR_TYPE_GYROSCOPE_UNCALIBRATED 16
|