gps_umd
gps_umd copied to clipboard
fix status on /extended_fix topic for DGPS and RTK.
When status is DGPS or RTK fix the field status.status in the /extended_fix topic currently returns -1/STATUS_NO_FIX. This PR should fix that.
For DGPS: My gpsd is GPSD_API_MAJOR_VERSION=6 and has STATUS_DGPS_FIX so use ifdef instead
Disclaimer: My gpsd does not have STATUS_RTK_FIX and STATUS_RTK_FLT yet, so this part is untested. At least it now reports 0/STATUS_FIX for RTK.
Any news on this?
Fixed via https://github.com/swri-robotics/gps_umd/pull/93 and https://github.com/swri-robotics/gps_umd/pull/74.