From 234eaceb141bb071a940cb2e9645902fc6fc96e0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 28 Sep 2013 19:34:34 +1000 Subject: [PATCH] Copter: update for Stub -> HIL --- ArduCopter/ArduCopter.pde | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 0d14d78921..656ca64def 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -222,7 +222,7 @@ static AP_InertialSensor_MPU6000 ins; #elif CONFIG_IMU_TYPE == CONFIG_IMU_OILPAN static AP_InertialSensor_Oilpan ins(&adc); #elif CONFIG_IMU_TYPE == CONFIG_IMU_SITL -static AP_InertialSensor_Stub ins; +static AP_InertialSensor_HIL ins; #elif CONFIG_IMU_TYPE == CONFIG_IMU_PX4 static AP_InertialSensor_PX4 ins; #elif CONFIG_IMU_TYPE == CONFIG_IMU_FLYMAPLE @@ -291,7 +291,7 @@ static AP_ADC_HIL adc; static AP_Baro_HIL barometer; static AP_Compass_HIL compass; static AP_GPS_HIL g_gps_driver; -static AP_InertialSensor_Stub ins; +static AP_InertialSensor_HIL ins; static AP_AHRS_DCM ahrs(&ins, g_gps); static int32_t gps_base_alt; @@ -303,7 +303,7 @@ static SITL sitl; #elif HIL_MODE == HIL_MODE_ATTITUDE static AP_ADC_HIL adc; -static AP_InertialSensor_Stub ins; +static AP_InertialSensor_HIL ins; static AP_AHRS_HIL ahrs(&ins, g_gps); static AP_GPS_HIL g_gps_driver; static AP_Compass_HIL compass; // never used