Browse Source

ArduSub: move SITL object up to AP_Vehicle

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
4c1c0e591f
  1. 8
      ArduSub/Sub.h

8
ArduSub/Sub.h

@ -110,10 +110,6 @@ @@ -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: @@ -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…
Cancel
Save