ArduCopter: move SITL object up to AP_Vehicle

This commit is contained in:
Peter Barker 2021-10-06 15:51:07 +11:00 committed by Andrew Tridgell
parent af9b40174a
commit 1aefa1b378

View File

@ -170,10 +170,6 @@
#include "avoidance_adsb.h"
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <SITL/SITL.h>
#endif
#include "mode.h"
class Copter : public AP_Vehicle {
@ -305,10 +301,6 @@ private:
// Inertial Navigation EKF - different viewpoint
AP_AHRS_View *ahrs_view;
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
SITL::SIM sitl;
#endif
// Arming/Disarming management class
AP_Arming_Copter arming;