Skip to content

Commit

Permalink
[nps] define some default MAG_x_SENS values
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Aug 27, 2013
1 parent b2504c7 commit 446c7f1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sw/airborne/subsystems/imu/imu_nps.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@
#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 {
uint8_t mag_available;
uint8_t accel_available;
Expand Down

0 comments on commit 446c7f1

Please sign in to comment.