mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 06:23:34 +08:00
params: make parameter units more consistent (#15502)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user