VOXL Inspect GPS
This tool subscribes to the mavlink_gps_raw_int pipe published by voxl-vision-hub which provides a copy of all GPS_RAW_INT mavlink messages received from a PX4 flight controller.
Also note that voxl-portal subscribes to the same pipe and also shows GPS satellites in the top right corner of the webpage.
Arguments
voxl2:/$ voxl-inspect-gps --help
Tool to print GPS data from autopilot to the screen for inspection.
If no data comes through then either:
1. the voxl-vision-hub service isn't running
2. Autopilot isn't connected
3. Autopilot doesn't have GPS lock yet
-h, --help print this help message
-n, --newline print newline between each sample
Use
voxl2:/$ voxl-inspect-gps
dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
200.2 | 3D FIX | 5 | 32.9007509 | -117.2223741 | 10.9 | 0.02 | 33.962 | 30.965 |
The fix type column can report: NO GPS, NO FIX, 2D FIX, 3D FIX, DGPS, RTKFLOAT, RTKFIXED, STATIC, or 3D PPP.
Troubleshooting
If no data is displayed, then either voxl-vision-hub is not running or PX4 is not connected or operating. PX4 may also not be connected to a GPS or configured to enable it.
Source
Source code available on Gitlab.