mirror of https://github.com/ArduPilot/ardupilot
AP_ExternalARHS: Don't offer IMU by default
* Since MicroStrain won't support >400Hz yet Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
1e644d56a5
commit
dee0ca2f34
|
@ -65,6 +65,11 @@ AP_ExternalAHRS_MicroStrain7::AP_ExternalAHRS_MicroStrain7(AP_ExternalAHRS *_fro
|
|||
AP_BoardConfig::allocation_error("MicroStrain7 failed to allocate ExternalAHRS update thread");
|
||||
}
|
||||
|
||||
// don't offer IMU by default, at 100Hz it is too slow for many aircraft
|
||||
set_default_sensors(uint16_t(AP_ExternalAHRS::AvailableSensor::GPS) |
|
||||
uint16_t(AP_ExternalAHRS::AvailableSensor::BARO) |
|
||||
uint16_t(AP_ExternalAHRS::AvailableSensor::COMPASS));
|
||||
|
||||
hal.scheduler->delay(5000);
|
||||
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "MicroStrain7 ExternalAHRS initialised");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue