![]() |
2009-02-21
, 22:05
|
|
Posts: 220 |
Thanked: 41 times |
Joined on Oct 2008
|
#11
|
![]() |
2009-02-21
, 22:07
|
|
Posts: 220 |
Thanked: 41 times |
Joined on Oct 2008
|
#12
|
![]() |
2009-02-21
, 22:30
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#13
|
![]() |
2009-02-22
, 03:51
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#15
|
Shameless plug: wouldn't cyborg seem appropriate for this sort of thing? I used it once or twice for finding my parking place, back when I commuted by car, though I use it more when cycling in unfamiliar parts of town.
gpsd-clients
![]() |
2009-02-22
, 09:03
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#16
|
sudo gainroot cp MyDocs/cyborg.py MyDocs/cy.sh /usr/bin chmod 755 /usr/bin/cyborg.py /usr/bin/cy.sh
cy.sh <filename>
sh -c "gpspipe -wn5|awk '/^GPSD,0=[^ ]+ +[^ ]+ +[^ ]+ +[-+0-9.]+ +[-+0-9.]/ {print \$4 \" \" \$5"}'|tail -1>/tmp/gpsbeacon"
sh -c 'gpspipe -w|/home/user/bin/cyborg.py `cat /tmp/gpsbeacon`'