Skip to content
Snippets Groups Projects
Commit 08408594 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Renamed parameters which changed from RAD to DEGREES to avoid user confusion....

Renamed parameters which changed from RAD to DEGREES to avoid user confusion. Also made naming of the two parameters more consistent.
parent e6d332aa
No related branches found
No related tags found
No related merge requests found
......@@ -174,34 +174,35 @@ PARAM_DEFINE_FLOAT(MPC_XY_VEL_MAX, 5.0f);
PARAM_DEFINE_FLOAT(MPC_XY_FF, 0.5f);
/**
* Maximum tilt
* Maximum tilt angle in air
*
* Limits maximum tilt in AUTO and EASY modes.
* Limits maximum tilt in AUTO and EASY modes during flight.
*
* @unit deg
* @min 0.0
* @max 90.0
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_TILT_MAX, 45.0f);
PARAM_DEFINE_FLOAT(MPC_TILTMAX_AIR, 45.0f);
/**
* Landing descend rate
* Maximum tilt during landing
*
* @unit m/s
* Limits maximum tilt angle on landing.
*
* @unit deg
* @min 0.0
* @max 90.0
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_LAND_SPEED, 1.0f);
PARAM_DEFINE_FLOAT(MPC_TILTMAX_LND, 15.0f);
/**
* Maximum landing tilt
*
* Limits maximum tilt on landing.
* Landing descend rate
*
* @unit deg
* @unit m/s
* @min 0.0
* @max 90.0
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_LAND_TILT, 15.0f);
PARAM_DEFINE_FLOAT(MPC_LAND_SPEED, 1.0f);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment