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
+3 -3
View File
@@ -587,7 +587,7 @@ PARAM_DEFINE_FLOAT(COM_ARM_EKF_GB, 0.0011f);
* Maximum accelerometer inconsistency between IMU units that will allow arming
*
* @group Commander
* @unit m/s/s
* @unit m/s^2
* @min 0.1
* @max 1.0
* @decimal 2
@@ -703,7 +703,7 @@ PARAM_DEFINE_INT32(COM_ARM_AUTH_REQ, 0);
* This sets number of seconds that the position checks need to be failed before the failsafe will activate.
* The default value has been optimised for rotary wing applications. For fixed wing applications, a larger value between 5 and 10 should be used.
*
* @unit sec
* @unit s
* @reboot_required true
* @group Commander
* @min 1
@@ -720,7 +720,7 @@ PARAM_DEFINE_INT32(COM_POS_FS_DELAY, 1);
* If position checks are failing, the probation delay will increase by COM_POS_FS_GAIN seconds for every lapsed second up to a maximum of 100 seconds.
* The default value has been optimised for rotary wing applications. For fixed wing applications, a value of 1 should be used.
*
* @unit sec
* @unit s
* @reboot_required true
* @group Commander
* @min 1
@@ -55,7 +55,7 @@
*
* @min 60
* @max 180
* @unit degrees
* @unit deg
* @group Failure Detector
*/
PARAM_DEFINE_INT32(FD_FAIL_R, 60);
@@ -73,7 +73,7 @@ PARAM_DEFINE_INT32(FD_FAIL_R, 60);
*
* @min 60
* @max 180
* @unit degrees
* @unit deg
* @group Failure Detector
*/
PARAM_DEFINE_INT32(FD_FAIL_P, 60);
@@ -123,7 +123,7 @@ PARAM_DEFINE_INT32(FD_EXT_ATS_EN, 0);
*
* External ATS is required by ASTM F3322-18.
*
* @unit microseconds
* @unit us
* @decimal 2
*
* @group Failure Detector