
Here's what you need:
1. GPS device...we used the GT-31 but any GPS device that outputs NMEA sentences will do2. A notebook with Ubuntu 9.04 (or any distro you want) installed
3. tangoGPS
You can install tangoGPS via synaptic:
sudo aptitude install tangogps
Ensure that gpsd and gpsd-clients is installed as well:
sudo aptitude install gpsd gpsd-clients
Gpsd is a service daemon that monitors one or more GPS devices attached to a host computer through serial or USB ports. It then serves this information via port 2947 and allow multiple client application to access the to GPS devices without contention or data loss. You can actually use one GPS device for navigation, wardriving, mapping or whatnot all at the same time!
tangoGPS does not interface directly with a GPS device, however it accesses GPS data by listening to a gpsd service. So before you can actually use Tango you'll have to make sure gpsd is running. You also have to check what particular USB port the GT-31 or any (GPS device for that matter) is connected.
dmesg | grep ttyUSB
Normally it should give you /dev/ttyUSB0 but it could be any other number depending on which port is available. Next, run the gpsd service:
gpsd -N -n -D 2 /dev/ttyUSB0
Once the service is running, fire-up tangoGPS and proceed to configuration. The default setup should work (IP: 127.0.0.1 port 2947) as it uses a loopback address, change the IP if you're accessing the service from another machine. Thats about it, once the GPS gets a satellite fix tangoGPS will draw a marker that shows your current position and bearing. Righ-clicking on the map allows you to add POIs, which was exactly what Marloue was doing during the trip. I managed to discover a better driving route while doing this experiment and I hope something similar happens to you as well, have fun riding the city!
3 comments:
we want more screenshots!!
:D
now i'm really looking forward to your talk at IdeaCamp Davao 1.0 :-)
@ragingmon: hahaha akong k750i ra ang nadala, I'll bring my camera next time :)
@Mark: see you there!
Post a Comment