mirror of https://github.com/ArduPilot/ardupilot
ArduSub: move SITL object up to AP_Vehicle
This commit is contained in:
parent
987d67b867
commit
4c1c0e591f
|
@ -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 &),
|
||||
|
|
Loading…
Reference in New Issue