mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 07:11:35 +08:00
mc_pos_control: target_threshold value change
mc_pos_control: reorder if statement mc_pos_control: add get function for cruising speed
This commit is contained in:
@@ -256,22 +256,6 @@ PARAM_DEFINE_FLOAT(MPC_XY_VEL_D, 0.01f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_XY_CRUISE, 5.0f);
|
||||
|
||||
/**
|
||||
* Nominal horizontal velocity minimum cruise speed when close to target
|
||||
*
|
||||
* Normal horizontal velocity in AUTO modes (includes
|
||||
* also RTL / hold / etc.) and endpoint for
|
||||
* position stabilized mode (POSCTRL).
|
||||
*
|
||||
* @unit m/s
|
||||
* @min 0.0
|
||||
* @max 10.0
|
||||
* @increment 1
|
||||
* @decimal 2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_CRUISE_MIN, 0.5f);
|
||||
|
||||
/**
|
||||
* Distance Threshold Horizontal Auto
|
||||
*
|
||||
@@ -286,7 +270,7 @@ PARAM_DEFINE_FLOAT(MPC_CRUISE_MIN, 0.5f);
|
||||
* @decimal 2
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_TARGET_THRE, 10.0f);
|
||||
PARAM_DEFINE_FLOAT(MPC_TARGET_THRE, 15.0f);
|
||||
|
||||
/**
|
||||
* Maximum horizontal velocity
|
||||
|
||||
Reference in New Issue
Block a user