mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Rover: move SITL object up to AP_Vehicle
This commit is contained in:
parent
62bbfd60fb
commit
16498b7aee
@ -76,10 +76,6 @@
|
|||||||
#include <AP_Scripting/AP_Scripting.h>
|
#include <AP_Scripting/AP_Scripting.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
|
||||||
#include <SITL/SITL.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Local modules
|
// Local modules
|
||||||
#include "mode.h"
|
#include "mode.h"
|
||||||
#include "AP_Arming.h"
|
#include "AP_Arming.h"
|
||||||
@ -169,10 +165,6 @@ private:
|
|||||||
AP_OSD osd;
|
AP_OSD osd;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
|
||||||
SITL::SIM sitl;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// GCS handling
|
// GCS handling
|
||||||
GCS_Rover _gcs; // avoid using this; use gcs()
|
GCS_Rover _gcs; // avoid using this; use gcs()
|
||||||
GCS_Rover &gcs() { return _gcs; }
|
GCS_Rover &gcs() { return _gcs; }
|
||||||
|
Loading…
Reference in New Issue
Block a user