Hello all,
I am having the “Preflight Fail: check Airspeed Cal or Pitot” error very often on windy days. The workaround I do is just yawing 90 degrees the aircraft so that it has side wind at takeoff, which is quite dirty solution especially in stormy days.
I noticed that the preflight airspeed limit is a hard-coded 4 m/s value in airspeedCheck.cpp as following:
/*
* Check if airspeed is higher than 4m/s (accepted max) while the vehicle is landed / not flying
* Negative and positive offsets are considered. Do not check anymore while arming because pitot cover
* might have been removed.
*/
if (fabsf(airspeed.indicated_airspeed_m_s) > 4.0f && prearm) {
if (report_fail) {
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: check Airspeed Cal or Pitot");
}
present = true;
success = false;
goto out;
}
Wouldn’t it be handy to put a user-accesible variable to set the airspeed limit to arm?
Thanks,
Ozan