ArduSub: 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 987d67b867
commit 4c1c0e591f
1 changed files with 0 additions and 8 deletions

View File

@ -110,10 +110,6 @@
#include <AP_Scripting/AP_Scripting.h>
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <SITL/SITL.h>
#endif
class Sub : public AP_Vehicle {
public:
friend class GCS_MAVLINK_Sub;
@ -164,10 +160,6 @@ private:
AP_RPM rpm_sensor;
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
SITL::SIM sitl;
#endif
// Mission library
AP_Mission mission{
FUNCTOR_BIND_MEMBER(&Sub::start_command, bool, const AP_Mission::Mission_Command &),