Skip to content

Commit

Permalink
mc_pos_control: remove un-used parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
priseborough committed Jul 22, 2018
1 parent 73a7aa7 commit a37580c
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/modules/mc_pos_control/mc_pos_control_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ PARAM_DEFINE_FLOAT(MPC_JERK_MIN, 1.0f);
* by the local_position.distance_bottom_valid message being false.
* Set to 2 to control height relative to ground (requires a distance sensor) when stationary and relative
* to earth frame origin when moving horizontally.
* The speed threshold is controlled by the MPC_ALT_MODE_SPD parameter.
* The speed threshold is controlled by the MPC_HOLD_MAX_XY parameter.
*
* @min 0
* @max 2
Expand All @@ -523,22 +523,6 @@ PARAM_DEFINE_FLOAT(MPC_JERK_MIN, 1.0f);
*/
PARAM_DEFINE_INT32(MPC_ALT_MODE, 0);

/**
* Terrain hold speed threshold.
*
* Controls the horizontal speed threshold used when MPC_ALT_MODE = 2. When MPC_ALT_MODE = 2,
* the distance to ground will not be used to control height when horizontal speed is greater
* than MPC_ALT_MODE_SPD.
*
* @unit m/s
* @min 0.2
* @max 2.0
* @increment 0.1
* @decimal 1
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_ALT_MODE_SPD, 0.5f);

/**
* Manual control stick exponential curve sensitivity attenuation with small velocity setpoints
*
Expand Down

0 comments on commit a37580c

Please sign in to comment.