tangoGPS, a new gps & mapping software for the Neo
Marcus Bauer
marcus.bauer at gmail.com
Mon Feb 4 10:35:16 CET 2008
Hello,
I wrote tangoGPS, a small but fast gps and mapping software for
Openmoko/Neo.
It uses openstreetmap.org maps, downloading them on demand and caching
them. You can drag the map, zoom in and out and see your current
position and track if a gps signal is available.
In order to run it you must have gllin and gpsd installed and running.
A working way for doing so is this gllin-script:
---------------------------------------------------------------
#!/bin/sh
killall ld-linux.so.2
killall gpsd
mknod /tmp/nmeaNP p
gpsd -n /tmp/nmeaNP
cd /home/root/gllin
lib/ld-linux.so.2
--library-path /home/root/gllin/lib:/home/root/gllin/usr/lib \
/home/root/gllin/gllin.real -low 5 2>&1 > /dev/null
lib/ld-linux.so.2
--library-path /home/root/gllin/lib:/home/root/gllin/usr/lib \
/home/root/gllin/gllin.real -periodic 1 &
---------------------------------------------------------------
You can check gpsd by connecting to the port 2947 and then typing "r",
which should look similar to this:
---------------------------------------------------------------
root at fic-gta01:~$ nc localhost 2947
r
GPSD,R=1
$GPGGA,091823.00,4441.889619,N,00817.008749,E,1,04,3.0,066.0,M,0.313003,M,0.0190515,*49
$GPRMC,091823.00,A,4441.889619,N,00817.008749,E,000.0,150.0,040208,,,A*53
$GPGSV,3,1,11,16,75,244,24,21,50,054,21,18,43,106,34,06,29,094,21*73
$GPGSV,3,2,11,03,45,295,,07,28,095,,22,28,156,,19,17,283,*7A
$GPGSV,3,3,11,24,11,050,,25,11,317,,29,07,094,*49
$GPGSA,A,3,06,16,18,21,,,,,,,,,6.7,3.0,6.0*3D
.
.
.
---------------------------------------------------------------
When this all works, you can start tangogps. Make sure your Neo is
connected to the internet so that it can download maps.
You can find a precompiled ipkg, more info and a video on
http://www.tangogps.org/
Enjoy & let me know if it is useful for you!
Marcus
More information about the community
mailing list