GPS - how to get lat lon and time from a bash script file ?
ed at kapitein.org
Mon Feb 23 09:37:39 CET 2009
I put some script on http://wiki.openmoko.org/wiki/User_talk:Kapiteined
and start and stop gps in those scripts.
And also clean the gps logs from data without a valid lat/long (thus
without having a fix).
Please feel free to browse trough the scripts and use whatever you like
On Sun, 2009-02-22 at 14:00 +0100, kimaidou wrote:
> I am developping voicenote (1), and I would like to implement a new
> function : localize each audio note with the gps latitude, longitude
> and time. Since I would like the soft to be plateform independant, I
> ask you to tell me how can I :
> * start gps if it is not
> * know when I got a fix
> * put the latitude, longitude and time into variables (and why not the
> precision too : hdop)
> * shutdown gps if it was not up when the script loads (if you think it
> should do so)
> Thanks for any help.
> NB: I am just begining scripting; I know nothing about dbus (only copy
> paste some working lines), etc. Please be patient :D
> (1) http://wiki.openmoko.org/wiki/Voicenote
> Openmoko community mailing list
> community at lists.openmoko.org
More information about the community