mc_pos_control : update to use new navigation limits architechture

This commit is contained in:
Mohammed Kabir
2018-06-09 13:38:04 +02:00
committed by Lorenz Meier
parent 8f5ceac936
commit c1169eb38b
2 changed files with 54 additions and 49 deletions
@@ -434,8 +434,9 @@ PARAM_DEFINE_FLOAT(MPC_ACC_HOR, 5.0f);
PARAM_DEFINE_FLOAT(MPC_DEC_HOR_SLOW, 5.0f);
/**
* Horizontal acceleration in manual modes when optical flow ground speed limit is removed.
* If full stick is being applied and the EKF starts using GPS whilst using optical flow,
* Horizontal acceleration in manual modes when te estimator speed limit is removed.
* If full stick is being applied and the estimator stops demanding a speed limit,
* which it had been before (e.g if GPS is gained while flying on optical flow/vision only),
* the vehicle will accelerate at this rate until the normal position control speed is achieved.
*
* @unit m/s/s
@@ -445,7 +446,7 @@ PARAM_DEFINE_FLOAT(MPC_DEC_HOR_SLOW, 5.0f);
* @decimal 1
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_ACC_HOR_FLOW, 0.5f);
PARAM_DEFINE_FLOAT(MPC_ACC_HOR_ESTM, 0.5f);
/**
* Maximum vertical acceleration in velocity controlled modes upward