Browse Source

AP_AHRS: Fix build

Due to interdependancy between optical flow and AHRS, it is not possible
to include full class definition which rely on each other
master
Julien BERAUD 9 years ago committed by Andrew Tridgell
parent
commit
924a94633d
  1. 3
      libraries/AP_AHRS/AP_AHRS.h

3
libraries/AP_AHRS/AP_AHRS.h

@ -31,8 +31,7 @@ @@ -31,8 +31,7 @@
#include <AP_Baro/AP_Baro.h>
#include <AP_Param/AP_Param.h>
#include <AP_OpticalFlow/AP_OpticalFlow.h>
class OpticalFlow;
#define AP_AHRS_TRIM_LIMIT 10.0f // maximum trim angle in degrees
#define AP_AHRS_RP_P_MIN 0.05f // minimum value for AHRS_RP_P parameter
#define AP_AHRS_YAW_P_MIN 0.05f // minimum value for AHRS_YAW_P parameter

Loading…
Cancel
Save