From 079363fc51c952d2f7b4dcf8640bdd0ce3452a0a Mon Sep 17 00:00:00 2001 From: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> Date: Mon, 24 Aug 2026 13:18:50 -0600 Subject: [PATCH] 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. --- src/drivers/gps/params.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/drivers/gps/params.yaml b/src/drivers/gps/params.yaml index f5762742d61..79ae9aacb28 100644 --- a/src/drivers/gps/params.yaml +++ b/src/drivers/gps/params.yaml @@ -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: