Skip to content

Instantly share code, notes, and snippets.

@pvazteixeira
Created July 30, 2020 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvazteixeira/504fe5bfca749447d1866ba78ee7caa4 to your computer and use it in GitHub Desktop.
Save pvazteixeira/504fe5bfca749447d1866ba78ee7caa4 to your computer and use it in GitHub Desktop.
gpsd nmea logging
This set of notes describes the process to get a raspberry pi to log position data using a USB GNSS receiver 
- Install gpsd and its clients: `sudo apt install gpsd gpsd-clients`
- Connect your USB GPS and restart
- Make sure `gpsd` is running: `sudo service gpsd status`
- Check you're getting good GPS reception by running `cgps`
- Run `nohup gpspipe -w -r -o track.nmea` to log NMEA sentences to a file (add `-t` flag to log system time at every sentence)
  - the `nohup` command will let the logging continue even if your SSH connection drops
- Copy the log to your machine and use a tool like GPXSee to plot your path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment