mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[nps] define some default MAG_x_SENS values
This commit is contained in:
@@ -56,6 +56,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined IMU_MAG_X_SENS & !defined IMU_MAG_Y_SENS & !defined IMU_MAG_Z_SENS
|
||||||
|
#define IMU_MAG_X_SENS 3.5
|
||||||
|
#define IMU_MAG_X_SENS_NUM 7
|
||||||
|
#define IMU_MAG_X_SENS_DEN 2
|
||||||
|
#define IMU_MAG_Y_SENS 3.5
|
||||||
|
#define IMU_MAG_Y_SENS_NUM 7
|
||||||
|
#define IMU_MAG_Y_SENS_DEN 2
|
||||||
|
#define IMU_MAG_Z_SENS 3.5
|
||||||
|
#define IMU_MAG_Z_SENS_NUM 7
|
||||||
|
#define IMU_MAG_Z_SENS_DEN 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct ImuNps {
|
struct ImuNps {
|
||||||
uint8_t mag_available;
|
uint8_t mag_available;
|
||||||
uint8_t accel_available;
|
uint8_t accel_available;
|
||||||
|
|||||||
Reference in New Issue
Block a user