How to record gpsr data from CLI ?
i'm wondering about how can i start the n900 GPS and register the raw data using a command on CLI. I would like to insert that command in a script. :confused:
Thanks :) |
Re: How to record gpsr data from CLI ?
|
Re: How to record gpsr data from CLI ?
Thanks for reply... i'm not sure if it's what i'm searching for... i run the python script and all i get was 2 messages that says "GPS service running" and "running on Maemo5"... Actually, what i need is a code that starts the gps unit on the n900 and store the gpsr data for future use.
Thanks again !!! :) |
Re: How to record gpsr data from CLI ?
The 'Complete Example' on http://wiki.maemo.org/PyMaemo/Using_Location_API this page worked for me...
|
Re: How to record gpsr data from CLI ?
That's it !!! :D Now is just find a way to store all data because the x-term shows only the last ones.
Thanx Jedi ! |
Re: How to record gpsr data from CLI ?
This is my script, based on the 'complete example'.
It waits for the GPS lock to be < 500 meters, then exists printing the lattitude, longitude and accuracy. You could run this in a loop and 'record' the info using: $ script.sh > logfile.txt Code:
#!/usr/bin/python |
Re: How to record gpsr data from CLI ?
I just used the write function with -append instead print command. works well !
Thanks jedi ! |
All times are GMT. The time now is 12:06. |
vBulletin® Version 3.8.8