mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:53:34 +08:00
params: make parameter units more consistent (#15502)
This commit is contained in:
@@ -465,7 +465,7 @@ PARAM_DEFINE_FLOAT(MPC_VELD_LP, 5.0f);
|
||||
*
|
||||
* Maximum deceleration for MPC_POS_MODE 1. Maximum acceleration and deceleration for MPC_POS_MODE 3.
|
||||
*
|
||||
* @unit m/s/s
|
||||
* @unit m/s^2
|
||||
* @min 2.0
|
||||
* @max 15.0
|
||||
* @increment 1
|
||||
@@ -479,7 +479,7 @@ PARAM_DEFINE_FLOAT(MPC_ACC_HOR_MAX, 5.0f);
|
||||
*
|
||||
* Note: In manual, this parameter is only used in MPC_POS_MODE 1.
|
||||
*
|
||||
* @unit m/s/s
|
||||
* @unit m/s^2
|
||||
* @min 2.0
|
||||
* @max 15.0
|
||||
* @increment 1
|
||||
@@ -494,7 +494,7 @@ PARAM_DEFINE_FLOAT(MPC_ACC_HOR, 3.0f);
|
||||
*
|
||||
* Note: This is only used when MPC_POS_MODE is set to 1.
|
||||
*
|
||||
* @unit m/s/s
|
||||
* @unit m/s^2
|
||||
* @min 0.5
|
||||
* @max 10.0
|
||||
* @increment 1
|
||||
@@ -506,7 +506,7 @@ PARAM_DEFINE_FLOAT(MPC_DEC_HOR_SLOW, 5.0f);
|
||||
/**
|
||||
* Maximum vertical acceleration in velocity controlled modes upward
|
||||
*
|
||||
* @unit m/s/s
|
||||
* @unit m/s^2
|
||||
* @min 2.0
|
||||
* @max 15.0
|
||||
* @increment 1
|
||||
@@ -518,7 +518,7 @@ PARAM_DEFINE_FLOAT(MPC_ACC_UP_MAX, 4.0f);
|
||||
/**
|
||||
* Maximum vertical acceleration in velocity controlled modes down
|
||||
*
|
||||
* @unit m/s/s
|
||||
* @unit m/s^2
|
||||
* @min 2.0
|
||||
* @max 15.0
|
||||
* @increment 1
|
||||
@@ -538,7 +538,7 @@ PARAM_DEFINE_FLOAT(MPC_ACC_DOWN_MAX, 3.0f);
|
||||
*
|
||||
* Note: This is only used when MPC_POS_MODE is set to a smoothing mode 1 or 3.
|
||||
*
|
||||
* @unit m/s/s/s
|
||||
* @unit m/s^3
|
||||
* @min 0.5
|
||||
* @max 500.0
|
||||
* @increment 1
|
||||
@@ -561,7 +561,7 @@ PARAM_DEFINE_FLOAT(MPC_JERK_MAX, 8.0f);
|
||||
*
|
||||
* Note: This is only used when MPC_POS_MODE is set to 1.
|
||||
*
|
||||
* @unit m/s/s/s
|
||||
* @unit m/s^3
|
||||
* @min 0
|
||||
* @max 30.0
|
||||
* @increment 1
|
||||
@@ -577,7 +577,7 @@ PARAM_DEFINE_FLOAT(MPC_JERK_MIN, 8.0f);
|
||||
* A lower value leads to smoother vehicle motions, but it also limits its
|
||||
* agility.
|
||||
*
|
||||
* @unit m/s/s/s
|
||||
* @unit m/s^3
|
||||
* @min 1.0
|
||||
* @max 80.0
|
||||
* @increment 1
|
||||
|
||||
Reference in New Issue
Block a user