mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 07:11:36 +08:00
mc_pos_control: limit maximum height when reliant on optical flow data
This commit is contained in:
committed by
Lorenz Meier
parent
9028592c5f
commit
2c325414f9
@@ -447,6 +447,19 @@ PARAM_DEFINE_FLOAT(MPC_DEC_HOR_SLOW, 5.0f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_ACC_HOR_FLOW, 0.5f);
|
||||
|
||||
/**
|
||||
* Maximum height above ground when reliant on optical flow.
|
||||
* The height setpoint will be limited to be no greater than this value when the navigation system is completely reliant on optical flow data.
|
||||
*
|
||||
* @unit m
|
||||
* @min 1.0
|
||||
* @max 25.0
|
||||
* @increment 0.5
|
||||
* @decimal 1
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_MAX_FLOW_HGT, 3.0f);
|
||||
|
||||
/**
|
||||
* Maximum vertical acceleration in velocity controlled modes upward
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user