From 8032ed295db02685be59c3d740fb2ca2dcdf18c9 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar Do Carmo Lucas" Date: Mon, 9 Jan 2017 13:17:29 +0900 Subject: [PATCH] AP_Avoidance: add units to param descriptions --- libraries/AP_Avoidance/AP_Avoidance.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/AP_Avoidance/AP_Avoidance.cpp b/libraries/AP_Avoidance/AP_Avoidance.cpp index d298ef1eb2..d78201de25 100644 --- a/libraries/AP_Avoidance/AP_Avoidance.cpp +++ b/libraries/AP_Avoidance/AP_Avoidance.cpp @@ -76,36 +76,42 @@ const AP_Param::GroupInfo AP_Avoidance::var_info[] = { // @Param: W_TIME // @DisplayName: Time Horizon Warn // @Description: Aircraft velocity vectors are multiplied by this time to determine closest approach. If this results in an approach closer than W_DIST_XY or W_DIST_Z then W_ACTION is undertaken (assuming F_ACTION is not undertaken) + // @Units: seconds // @User: Advanced AP_GROUPINFO("W_TIME", 6, AP_Avoidance, _warn_time_horizon, AP_AVOIDANCE_WARN_TIME_DEFAULT), // @Param: F_TIME // @DisplayName: Time Horizon Fail // @Description: Aircraft velocity vectors are multiplied by this time to determine closest approach. If this results in an approach closer than F_DIST_XY or F_DIST_Z then F_ACTION is undertaken + // @Units: seconds // @User: Advanced AP_GROUPINFO("F_TIME", 7, AP_Avoidance, _fail_time_horizon, AP_AVOIDANCE_FAIL_TIME_DEFAULT), // @Param: W_DIST_XY // @DisplayName: Distance Warn XY // @Description: Closest allowed projected distance before W_ACTION is undertaken + // @Units: meters // @User: Advanced AP_GROUPINFO("W_DIST_XY", 8, AP_Avoidance, _warn_distance_xy, AP_AVOIDANCE_WARN_DISTANCE_XY_DEFAULT), // @Param: F_DIST_XY // @DisplayName: Distance Fail XY // @Description: Closest allowed projected distance before F_ACTION is undertaken + // @Units: meters // @User: Advanced AP_GROUPINFO("F_DIST_XY", 9, AP_Avoidance, _fail_distance_xy, AP_AVOIDANCE_FAIL_DISTANCE_XY_DEFAULT), // @Param: W_DIST_Z // @DisplayName: Distance Warn Z // @Description: Closest allowed projected distance before BEHAVIOUR_W is undertaken + // @Units: meters // @User: Advanced AP_GROUPINFO("W_DIST_Z", 10, AP_Avoidance, _warn_distance_z, AP_AVOIDANCE_WARN_DISTANCE_Z_DEFAULT), // @Param: F_DIST_Z // @DisplayName: Distance Fail Z // @Description: Closest allowed projected distance before BEHAVIOUR_F is undertaken + // @Units: meters // @User: Advanced AP_GROUPINFO("F_DIST_Z", 11, AP_Avoidance, _fail_distance_z, AP_AVOIDANCE_FAIL_DISTANCE_Z_DEFAULT),