mc_pos_control: correct tilt parameter limits

- correcting
c9e52d4386
to allow 180° maximum tilt instead of landing tilt.
- Introducing tilt limitation minimums like requested in #11473
This commit is contained in:
Matthias Grob 2019-03-21 21:44:19 +01:00
parent f402f68fb1
commit 295c3fd0c5
1 changed files with 4 additions and 4 deletions

View File

@ -320,8 +320,8 @@ PARAM_DEFINE_FLOAT(MPC_XY_VEL_MAX, 12.0f);
* Limits maximum tilt in AUTO and POSCTRL modes during flight.
*
* @unit deg
* @min 0.0
* @max 90.0
* @min 20.0
* @max 180.0
* @decimal 1
* @group Multicopter Position Control
*/
@ -333,8 +333,8 @@ PARAM_DEFINE_FLOAT(MPC_TILTMAX_AIR, 45.0f);
* Limits maximum tilt angle on landing.
*
* @unit deg
* @min 0.0
* @max 180.0
* @min 10.0
* @max 90.0
* @decimal 1
* @group Multicopter Position Control
*/