|
2015-11-21
, 21:29
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#2
|
|
2015-11-21
, 22:10
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#3
|
Thanks, seem to work well in SFOS.
Some changes were needed to get it to compile though; I had to add " QT += positioning location" to the project file and comment out "using namespace QtMobility;" in gpspos.h
This is pretty neat as now I can run it from cron every half an hour or so and push the position to my server. Just perfect in case I lose my device or it gets stolen.
The Following User Says Thank You to Halftux For This Useful Post: | ||
|
2015-11-22
, 15:57
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#4
|
|
2015-12-20
, 07:04
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#5
|
|
2015-12-20
, 09:25
|
|
Posts: 6,447 |
Thanked: 20,981 times |
Joined on Sep 2012
@ UK
|
#6
|
Does that mean that when my N900 reboots (as it can do several times per day now) I will lose the track?
|
2015-12-20
, 09:47
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#7
|
Does that mean that when my N900 reboots (as it can do several times per day now) I will lose the track?
|
2015-12-26
, 15:26
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#8
|
/opt/gpscon/bin/gpscon log=log2gpx
/opt/gpscon/bin/gpscon log=gpx --newtrack or /opt/gpscon/bin/gpscon log=txt --newtrack
The Following 4 Users Say Thank You to Halftux For This Useful Post: | ||
|
2015-12-28
, 16:30
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#9
|
The Following User Says Thank You to handaxe For This Useful Post: | ||
|
2015-12-30
, 14:29
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#10
|
Hi Halftux,
good job this. One of those programs that has utility beyond use of the n900 as a primary phone and more as a pocket computer.
Do you have a roadmap for future features, if any and however vague at the mo'?
In addition it has the ability to write a log file and to save a gpx file.
gpscon
without parameter gpscon will be in endless loop and print to stdout: Latitude; Longitude; Altitude
The application exits with:x+[enter]
t+[enter]: will mark a new track in the logfile.
[--fout]
will enhance the output with additional values: Direction; Ground Speed; Vertical Speed;
Horizontal Acc;Vertical Acc
[--sat]
with this option also the satellite status will be requested and printed out
"Using x of x satellites"
[posm=string]
this will select the positioning method. Default is all.
string=all |AllPositioningMethods
string=onlysat |SatellitePositioningMethods
string=nonesat |NonSatellitePositioningMethods
[interval=integer]
This property holds the requested interval in milliseconds between each update.
If the update interval is not set (or is set to 0) the source will provide updates as often as necessary.
If the update interval is set, the source will provide updates at an interval as close to the requested interval as possible. If the requested interval is less than the minimumUpdateInterval(), the minimum interval is used instead.
[runs=integer]
sets the amount on how many (shown) requests are made before exit
[dumps=integer]
sets the amount on how many first requests get dumped
[limit=integer]
sets the limit of the needed horizontal/vertical accuracy value before print out.
There will be only one print out and after this the app is closing
[log=string]
writing to a log file
string=txt |write/append gpscon.log to user dir
string=gpx |write/append gpscon.log to user dir after last run or exit, the log file will be converted and written to gpscon.gpx in user dir
string=log2gpx |convert log to gpx and exit.
[tout=integer]
sets the timeout for aquire a gps position in seconds.
[--del]
If log file exists it will be removed
[--date]
adds date to output
[--time]
adds time to output
[--newtrack]
will mark in the log file a new track. When converting to gpx old log file data and new data will be visible as separate track.
[--lknv]
This should output the last known value once at first (debug). If runs=1 it will only print the last known value out and quit.
[--script]
Will deactivate the user input which causes trouble with cron or python scripts. This option is recommended when using gpscon with scripts.
[--help]
prints help
Available for:
Sailfish
Harmattan
Fremantle
Attached is the old source code in alpha stage, I commented out not tested code. It works same like the version before, it has only more options.
New source in fremantle extra-devel repo.
For sailfish create makefile by add this argument to qmake
N900: gpxsee, fahrplan, gpscon, genwall, qrcode, hextool, libjansson4, libevent-2.0-5, cnee, psi-plus, mihphoto, shc
Maemo flasher/rescue live image.
Fremantle Harmattan SDK VM
Last edited by Halftux; 2017-10-13 at 23:53. Reason: new version