ArduPlane: move SITL object up to AP_Vehicle

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

View File

@ -117,10 +117,6 @@
#endif #endif
#include "AP_Arming.h" #include "AP_Arming.h"
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <SITL/SITL.h>
#endif
/* /*
main APM:Plane class main APM:Plane class
*/ */
@ -212,10 +208,6 @@ private:
AP_YawController yawController{aparm}; AP_YawController yawController{aparm};
AP_SteerController steerController{}; AP_SteerController steerController{};
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
SITL::SIM sitl;
#endif
// Training mode // Training mode
bool training_manual_roll; // user has manual roll control bool training_manual_roll; // user has manual roll control
bool training_manual_pitch; // user has manual pitch control bool training_manual_pitch; // user has manual pitch control