Active Topics

 


Reply
Thread Tools
Posts: 18 | Thanked: 5 times | Joined on Nov 2012 @ Germany
#1
hi,

first, the links in http://talk.maemo.org/showthread.php?t=63571 seems to be dead. Is there a way to get the actual GPS coordinates displayed in the terminal? I want to use it within a perl script without GUI by using the qx-command, like: @coords = qx(function_to_get_GPS-coordinates);

thanx

Dirk
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#2
qdbus com.nokia.positioningd.context /org/maemo/contextkit/Location/SatPositioningState org.maemo.contextkit.Property.Get
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 

The Following 3 Users Say Thank You to www.rzr.online.fr For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#3
Originally Posted by www.rzr.online.fr View Post
qdbus com.nokia.positioningd.context /org/maemo/contextkit/Location/SatPositioningState org.maemo.contextkit.Property.Get
Thx.
But what does that output tell us?
I cannot match it with current geo location.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Posts: 18 | Thanked: 5 times | Joined on Nov 2012 @ Germany
#4
Hi,

the output is:
off
41151794457

I tried
qdbus com.nokia.positioningd.context /org/maemo/contextkit/Location/Coordinates org.maemo.contextkit.Property.Get
output:
41146545434

Where are the coordinates
 
Posts: 18 | Thanked: 5 times | Joined on Nov 2012 @ Germany
#5
no idea anyone?
 
Posts: 1,038 | Thanked: 3,981 times | Joined on Nov 2010 @ USA
#6
Originally Posted by hj-adams View Post
no idea anyone?
I can't find any documentation either that indicates if or how that 11 digit decimal integer is encoded from a position. One certainly couldn't encode a very precise 3d position in that value. So there's got to be something more to it than that one value . . .

At least "off" becomes "on" when GPS is active, e.g. after starting Drive or other positioning application.
 
Halftux's Avatar
Posts: 878 | Thanked: 2,535 times | Joined on Feb 2012 @ Germany
#7
I have written a small console app (gps access through qtmobility) it is running fine with N900 but with N950 and openkernel I get an access error from dbus.

Googled after that error someone could solve it with interception.
So I don't know who ever feels like try to run it, I will attach a deb.

When it is working report how you handle aegis then I can change the output to your needs.

edit: download moved 2 post further...

Last edited by Halftux; 2015-08-07 at 21:26.
 

The Following User Says Thank You to Halftux For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#8
'MainClass.Run is executing' and nothing else happens
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Halftux's Avatar
Posts: 878 | Thanked: 2,535 times | Joined on Feb 2012 @ Germany
#9
Originally Posted by wolke View Post
'MainClass.Run is executing' and nothing else happens
Oh these are good and bad news. Thanks for trying.

good: you get no error it should work
bad: I uploaded a wrong version I am very sorry

next one attached
Attached Files
File Type: deb gpscon_0.0.2_armel.deb (8.9 KB, 76 views)
 
Posts: 18 | Thanked: 5 times | Joined on Nov 2012 @ Germany
#10
hi,

output is:

MainClass.Run is executing
Position updated: QGeoPositionInfo(QDateTime("Sa. Aug 8 12:55:49 2015") , QGeoCoordinate(49.2471, 6.87559, 240), HorizontalAccuracy=587, VerticalAccuracy=57)
Position updated: QGeoPositionInfo(QDateTime("Sa. Aug 8 13:00:28 2015") , QGeoCoordinate(49.2444, 6.85804, 290), HorizontalAccuracy=224, VerticalAccuracy=120)
Position updated: QGeoPositionInfo(QDateTime("Sa. Aug 8 13:00:49 2015") , QGeoCoordinate(49.2454, 6.86897, 235), HorizontalAccuracy=324, VerticalAccuracy=70)

but it's not written to stdout, it's written to stderr.
second thing: it seems to be an endless loop, writing on sterr after every position update. is it possible to run only one loop? and writing to stdout?

thanx Dirk
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:44.