Skip to content

Commit

Permalink
mc_pos_control: MPC_ALT_MODE make terrain hold default
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKlimaj authored and dagar committed Nov 7, 2023
1 parent de0910c commit 4dda99c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ PARAM_DEFINE_FLOAT(MPC_MAN_Y_TAU, 0.08f);
* @value 2 Terrain hold
* @group Multicopter Position Control
*/
PARAM_DEFINE_INT32(MPC_ALT_MODE, 0);
PARAM_DEFINE_INT32(MPC_ALT_MODE, 2);

/**
* Maximum horizontal velocity for which position hold is enabled (use 0 to disable check)
Expand Down

0 comments on commit 4dda99c

Please sign in to comment.