Skip to content

feat: add GPSHelper::isMovingBase() virtual#206

Open
dakejahl wants to merge 1 commit intoPX4:mainfrom
dakejahl:dakejahl/add-is-moving-base
Open

feat: add GPSHelper::isMovingBase() virtual#206
dakejahl wants to merge 1 commit intoPX4:mainfrom
dakejahl:dakejahl/add-is-moving-base

Conversation

@dakejahl
Copy link
Copy Markdown
Contributor

Summary

Adds a virtual bool isMovingBase() const on GPSHelper (defaults to false) and overrides it in GPSDriverUBX to return true when the UBX mode is MovingBase or MovingBaseUART1.

Companion PR in PX4-Autopilot (PX4/PX4-Autopilot#TBD) uses this to route moving-baseline RTCM (RTCM 4072) to a dedicated rtcm_moving_baseline uORB topic, separate from external fixed-base corrections on rtcm_corrections. That fixes the topic conflation described in PX4/PX4-Autopilot#27088, which breaks dual GPS (moving base + rover) + fixed base setups.

Lets callers query whether a configured GPS is acting as a moving base.
Used by the PX4 gps driver to route RTCM output (RTCM 4072 moving-baseline
data for a rover) to a dedicated uORB topic, separate from external
fixed-base corrections.

UBX override: true when UBXMode is MovingBase or MovingBaseUART1.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant