Skip to content

Commit

Permalink
AP_AHRS: add missing SITL header include
Browse files Browse the repository at this point in the history
the singleton is used in this file
  • Loading branch information
peterbarker authored and tridge committed Jan 3, 2024
1 parent c22794d commit 3ed8a43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_AHRS/AP_AHRS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3ed8a43

Please sign in to comment.