mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -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
|
// sensor emulators
|
||||||
AP_Baro_BMP085_HIL barometer;
|
AP_Baro_BMP085_HIL barometer;
|
||||||
AP_Compass_HIL compass;
|
AP_Compass_HIL compass;
|
||||||
AP_GPS_HIL g_gps_driver(NULL);
|
AP_GPS_HIL g_gps_driver;
|
||||||
AP_InertialSensor_Stub ins;
|
AP_InertialSensor_Stub ins;
|
||||||
AP_AHRS_DCM ahrs(&ins, g_gps);
|
AP_AHRS_DCM ahrs(&ins, g_gps);
|
||||||
|
|
||||||
#elif HIL_MODE == HIL_MODE_ATTITUDE
|
#elif HIL_MODE == HIL_MODE_ATTITUDE
|
||||||
AP_Baro_BMP085_HIL barometer;
|
AP_Baro_BMP085_HIL barometer;
|
||||||
AP_Compass_HIL compass;
|
AP_Compass_HIL compass;
|
||||||
AP_GPS_HIL g_gps_driver(NULL);
|
AP_GPS_HIL g_gps_driver;
|
||||||
AP_InertialSensor_Stub ins;
|
AP_InertialSensor_Stub ins;
|
||||||
AP_AHRS_HIL ahrs(&ins, g_gps);
|
AP_AHRS_HIL ahrs(&ins, g_gps);
|
||||||
|
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
include ../mk/Arduino.mk
|
include ../mk/Arduino.mk
|
||||||
include ../mk/targets.mk
|
include ../mk/targets.mk
|
||||||
|
|
||||||
|
sitl-newcontrollers: EXTRAFLAGS += "-DAPM_CONTROL=ENABLED "
|
||||||
|
sitl-newcontrollers: sitl
|
||||||
|
Loading…
Reference in New Issue
Block a user