mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-28 11:00:38 +08:00
fix(gps): limit GPS_UBX_DYNMODEL to models u-blox defines (#28252)
The range allowed 1, which is reserved on every u-blox generation, and 9 (wrist-worn watch), which is not available on all products. Either one is rejected by the receiver, and the dynamic model rides in a CFG-VALSET whose NAK aborts configuration, so a parameter change alone was enough to leave the vehicle with no GPS at all. Cap the range at the airborne models and list the portable, pedestrian and sea models that were already inside the range but undocumented.
This commit is contained in:
1 parent
07463f4750
commit
079363fc51
1 file changed
+4
-1
@@ -27,14 +27,17 @@ parameters:
|
||||
the expected application environment.
|
||||
type: enum
|
||||
values:
|
||||
0: portable
|
||||
2: stationary
|
||||
3: pedestrian
|
||||
4: automotive
|
||||
5: sea
|
||||
6: airborne with <1g acceleration
|
||||
7: airborne with <2g acceleration
|
||||
8: airborne with <4g acceleration
|
||||
default: 7
|
||||
min: 0
|
||||
max: 9
|
||||
max: 8
|
||||
reboot_required: true
|
||||
GPS_UBX_DGNSS_TO:
|
||||
description:
|
||||
|
||||
Reference in new issue
Block a user