mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-28 11:00:38 +08:00
fix(params): raise decimal places to match parameter limits (#29495)
Several float parameters had a min, default or increment with more fractional digits than their decimal setting, so ground stations rounded them in the help text and value field. For MPC_JERK_MAX (min 0.5, decimal 0) the help text showed "Min: 1" while the range check rejected values outside 0.5..500, and an entered 0.5 was displayed as 0. Only the decimal field changes; defaults and limits are untouched. Radian parameters whose limits are approximations of pi are left as is. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Andrea Bernasconi <andrea.bernasconi@auterion.com>
This commit is contained in:
1 parent
f84042f1a5
commit
0aa0553dca
10 files changed
+16
-16
No files matched your search
@@ -322,7 +322,7 @@ parameters:
|
||||
default: 0.0165
|
||||
unit: Nm
|
||||
min: 0.0
|
||||
decimal: 3
|
||||
decimal: 4
|
||||
SIH_F_CT0:
|
||||
description:
|
||||
short: Forward thruster static thrust coefficient
|
||||
|
||||
Reference in new issue
Block a user