GPS U blox NEO 6 with Raspberry Pi

Peter Vojtek edited this page Oct 31, 2013 · 4 revisions

Notes on using GPS logger U blox NEO 6 with Raspberry Pi via Ruby.

This page was useful to setup the gps on Raspberry Pi. Once the gpsd was running and cgps -s was providing proper infomation, I started to look for some ruby gem/library.

rb-gps gem seems good, however in real usage the latitude and longitude provided by Gps::Receiver was always 0 even if cgps -s displayed meaningful info.

After all I read the GPSD Client Howto and updated the gpsd.rb receiver code in rb-gps gem to use the newer JSON-based API. Here is my updated version of rb-gps gem which works well now.