From faa23b3ebc42d4d695b945041f1fba3f8e4df050 Mon Sep 17 00:00:00 2001 From: Bartok Date: Mon, 13 Jul 2026 16:38:19 -0500 Subject: [PATCH] docs(mc_pos_control): fix MPC_ACC_HOR_MAX description for MPC_POS_MODE (#27880) * docs(mc_pos_control): fix MPC_ACC_HOR_MAX description for MPC_POS_MODE MPC_POS_MODE only exposes Direct velocity (0) and Acceleration based (4). Replace the stale "mode 1" wording so parameter metadata matches the live enum. * docs(mc_pos_control): shorten MPC_ACC_HOR_MAX long description Keep it short per review (@dakejahl), in the spirit of #27758. --- .../mc_pos_control/multicopter_position_mode_params.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/mc_pos_control/multicopter_position_mode_params.yaml b/src/modules/mc_pos_control/multicopter_position_mode_params.yaml index 0cc21463af3..26154cdaa24 100644 --- a/src/modules/mc_pos_control/multicopter_position_mode_params.yaml +++ b/src/modules/mc_pos_control/multicopter_position_mode_params.yaml @@ -63,9 +63,8 @@ parameters: description: short: Maximum horizontal acceleration long: |- - MPC_POS_MODE - 1 just deceleration - 4 not used, use MPC_ACC_HOR instead + With MPC_POS_MODE=0 it limits deceleration. + With MPC_POS_MODE=4 it is unused (see MPC_ACC_HOR). type: float default: 5.0 unit: m/s^2