AP_AHRS: add missing SITL header include

the singleton is used in this file
This commit is contained in:
Peter Barker 2023-09-14 21:05:58 +10:00 committed by Andrew Tridgell
parent c22794d078
commit 3ed8a434ce
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@
#include <GCS_MAVLink/GCS.h>
#include <AP_InertialSensor/AP_InertialSensor.h>
#include <AP_CustomRotations/AP_CustomRotations.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <SITL/SITL.h>
#endif
#define ATTITUDE_CHECK_THRESH_ROLL_PITCH_RAD radians(10)
#define ATTITUDE_CHECK_THRESH_YAW_RAD radians(20)