Browse Source

AP_Arming: updated z-axis accel threshold comment

master
Tom Pittenger 9 years ago
parent
commit
ebd993dabb
  1. 5
      libraries/AP_Arming/AP_Arming.cpp

5
libraries/AP_Arming/AP_Arming.cpp

@ -210,9 +210,12 @@ bool AP_Arming::ins_checks(bool report) @@ -210,9 +210,12 @@ bool AP_Arming::ins_checks(bool report)
*/
threshold *= 3;
}
// EKF is less sensitive to Z-axis error and Z-axis is more
// likely to be temperature-sensitive on our hardware
// likely to be temperature-sensitive on MEMS accel sensors
// such as the MPU-6000.
vec_diff.z *= 0.5f;
if (vec_diff.length() <= threshold) {
last_accel_pass_ms[i] = AP_HAL::millis();
}

Loading…
Cancel
Save