mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Plane: fixed HIL builds
This commit is contained in:
parent
a02f723f3a
commit
62d7fd1a26
@ -193,14 +193,14 @@ AP_AHRS_DCM ahrs(&ins, g_gps);
|
||||
// sensor emulators
|
||||
AP_Baro_BMP085_HIL barometer;
|
||||
AP_Compass_HIL compass;
|
||||
AP_GPS_HIL g_gps_driver(NULL);
|
||||
AP_GPS_HIL g_gps_driver;
|
||||
AP_InertialSensor_Stub ins;
|
||||
AP_AHRS_DCM ahrs(&ins, g_gps);
|
||||
|
||||
#elif HIL_MODE == HIL_MODE_ATTITUDE
|
||||
AP_Baro_BMP085_HIL barometer;
|
||||
AP_Compass_HIL compass;
|
||||
AP_GPS_HIL g_gps_driver(NULL);
|
||||
AP_GPS_HIL g_gps_driver;
|
||||
AP_InertialSensor_Stub ins;
|
||||
AP_AHRS_HIL ahrs(&ins, g_gps);
|
||||
|
||||
|
@ -1,2 +1,5 @@
|
||||
include ../mk/Arduino.mk
|
||||
include ../mk/targets.mk
|
||||
|
||||
sitl-newcontrollers: EXTRAFLAGS += "-DAPM_CONTROL=ENABLED "
|
||||
sitl-newcontrollers: sitl
|
||||
|
Loading…
Reference in New Issue
Block a user