HAL_AVR_SITL: updates for InertialSensor

This commit is contained in:
Andrew Tridgell 2013-09-28 19:33:43 +10:00
parent cf726c6642
commit 350af4d92f
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ bool SITL_State::_motors_on;
uint16_t SITL_State::airspeed_pin_value;
AP_Baro_HIL *SITL_State::_barometer;
AP_InertialSensor_Stub *SITL_State::_ins;
AP_InertialSensor_HIL *SITL_State::_ins;
SITLScheduler *SITL_State::_scheduler;
AP_Compass_HIL *SITL_State::_compass;
@ -170,7 +170,7 @@ void SITL_State::_sitl_setup(void)
// find the barometer object if it exists
_sitl = (SITL *)AP_Param::find_object("SIM_");
_barometer = (AP_Baro_HIL *)AP_Param::find_object("GND_");
_ins = (AP_InertialSensor_Stub *)AP_Param::find_object("INS_");
_ins = (AP_InertialSensor_HIL *)AP_Param::find_object("INS_");
_compass = (AP_Compass_HIL *)AP_Param::find_object("COMPASS_");
if (_sitl != NULL) {

View File

@ -111,7 +111,7 @@ private:
static bool _motors_on;
static AP_Baro_HIL *_barometer;
static AP_InertialSensor_Stub *_ins;
static AP_InertialSensor_HIL *_ins;
static SITLScheduler *_scheduler;
static AP_Compass_HIL *_compass;