From 1d681b0356f2d71d0b152e6e95a922463f2137fd Mon Sep 17 00:00:00 2001 From: Jonathan Lee Date: Sat, 1 Apr 2017 20:27:32 -0400 Subject: [PATCH] Update URL in airspeed calibration error message When a FW/VTOL system detects a missing airspeed sensor, it produces an error message. This patch uses the new relevant URLs in the PX4 documentation. Fixes #4549 --- src/modules/commander/airspeed_calibration.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/commander/airspeed_calibration.cpp b/src/modules/commander/airspeed_calibration.cpp index 7ea5394602..99514fccba 100644 --- a/src/modules/commander/airspeed_calibration.cpp +++ b/src/modules/commander/airspeed_calibration.cpp @@ -109,7 +109,9 @@ int do_airspeed_calibration(orb_advert_t *mavlink_log_pub) float analog_scaling = 0.0f; param_get(param_find("SENS_DPRES_ANSC"), &(analog_scaling)); if (fabsf(analog_scaling) < 0.1f) { - calibration_log_critical(mavlink_log_pub, "[cal] No airspeed sensor, see http://px4.io/help/aspd"); + calibration_log_critical(mavlink_log_pub, "[cal] No airspeed sensor, refer to the following:"); + calibration_log_critical(mavlink_log_pub, "http://px4.io/docs/sensor-selection/"); + calibration_log_critical(mavlink_log_pub, "http://px4.io/docs/vtols-without-airspeed-sensor/"); goto error_return; }