mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +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
|
* @value 2 Terrain hold
|
||||||
* @group Multicopter Position Control
|
* @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)
|
* Maximum horizontal velocity for which position hold is enabled (use 0 to disable check)
|
||||||
|
|||||||
Reference in New Issue
Block a user