mc_pos_control: MPC_ALT_MODE make terrain hold default

This commit is contained in:
alexklimaj 2023-11-06 12:33:09 -07:00 committed by Daniel Agar
parent de0910c767
commit 4dda99c80b
1 changed files with 1 additions and 1 deletions

View File

@ -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)