mirror of https://github.com/ArduPilot/ardupilot
Copter: the INS object is needed for HIL_MODE_SENSORS
otherwise we can't level, so can't arm
This commit is contained in:
parent
3ad35363be
commit
8703d39475
|
@ -935,7 +935,7 @@ const AP_Param::Info var_info[] PROGMEM = {
|
||||||
|
|
||||||
// @Group: INS_
|
// @Group: INS_
|
||||||
// @Path: ../libraries/AP_InertialSensor/AP_InertialSensor.cpp
|
// @Path: ../libraries/AP_InertialSensor/AP_InertialSensor.cpp
|
||||||
#if HIL_MODE == HIL_MODE_DISABLED
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
GOBJECT(ins, "INS_", AP_InertialSensor),
|
GOBJECT(ins, "INS_", AP_InertialSensor),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue