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
This commit is contained in:
Julien BERAUD 2015-11-24 10:35:54 +01:00 committed by Andrew Tridgell
parent 6f55f3734c
commit 924a94633d
1 changed files with 1 additions and 2 deletions

View File

@ -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