params: make parameter units more consistent (#15502)

This commit is contained in:
Hamish Willee
2020-08-24 11:33:08 +02:00
committed by GitHub
parent 9cebf3b969
commit 979243f38f
25 changed files with 127 additions and 109 deletions
+2 -4
View File
@@ -48,7 +48,7 @@
*
* The minimum height in meters relative to home for following a target
*
* @unit meters
* @unit m
* @min 8.0
* @group Follow target
*/
@@ -59,7 +59,7 @@ PARAM_DEFINE_FLOAT(NAV_MIN_FT_HT, 8.0f);
*
* The distance in meters to follow the target at
*
* @unit meters
* @unit m
* @min 1.0
* @group Follow target
*/
@@ -70,7 +70,6 @@ PARAM_DEFINE_FLOAT(NAV_FT_DST, 8.0f);
*
* The side to follow the target from (front right = 0, behind = 1, front = 2, front left = 3)
*
* @unit n/a
* @min 0
* @max 3
* @group Follow target
@@ -82,7 +81,6 @@ PARAM_DEFINE_INT32(NAV_FT_FS, 1);
* lower numbers increase the responsiveness to changing long lat
* but also ignore less noise
*
* @unit n/a
* @min 0.0
* @max 1.0
* @decimal 2
+2 -2
View File
@@ -159,7 +159,7 @@ PARAM_DEFINE_FLOAT(NAV_TRAFF_A_RADU, 10);
*
* Latitude of airfield home waypoint
*
* @unit deg * 1e7
* @unit deg*1e7
* @min -900000000
* @max 900000000
* @group Data Link Loss
@@ -171,7 +171,7 @@ PARAM_DEFINE_INT32(NAV_AH_LAT, -265847810);
*
* Longitude of airfield home waypoint
*
* @unit deg * 1e7
* @unit deg*1e7
* @min -1800000000
* @max 1800000000
* @group Data Link Loss
+1 -1
View File
@@ -123,7 +123,7 @@ PARAM_DEFINE_INT32(RTL_TYPE, 0);
* Defines the half-angle of a cone centered around the destination position that
* affects the altitude at which the vehicle returns.
*
* @unit degrees
* @unit deg
* @min 0
* @max 90
* @value 0 No cone, always climb to RTL_RETURN_ALT above destination.