mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 12:50:34 +08:00
mc_pos_control: MPC_ALT_MODE make terrain hold default
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user