Active Topics

 



Notices


Reply
Thread Tools
Posts: 101 | Thanked: 150 times | Joined on Oct 2007 @ Stuttgart, Germany
#731
I think it is pretty save to update. The issues I saw for streetsearch were caused by an old map I still had enabled. After disabling it they have been gone.

The house number search was probably broken, because I build my own maps which are below country level.

Rainer
 

The Following 2 Users Say Thank You to rdorsch For This Useful Post:
Posts: 101 | Thanked: 150 times | Joined on Oct 2007 @ Stuttgart, Germany
#732
Just uploaded another update to 5477 to bokomoko.de. Should contain at least one important house number fix.

Also I changed version number to 0.5 as upstream did some time back.

Rainer
 

The Following 5 Users Say Thank You to rdorsch For This Useful Post:
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#733
if somebody wants to play with QML GUI, there is a guide on how to configure that: http://wiki.navit-project.org/index.php/Gui_QML
 

The Following 2 Users Say Thank You to gianko For This Useful Post:
Posts: 21 | Thanked: 102 times | Joined on Apr 2010
#734
I am trying to add some voice control to Navit.

Somehow the following code, for zooming the Navit map, doesn't work anymore:

#!/usr/bin/python
import dbus
bus = dbus.SessionBus()
conn = bus.get_object('org.navit_project.navit', '/org/navit_project/navit')
iface = dbus.Interface(conn, dbus_interface='org.navit_project.navit')
iter = iface.attr_iter()
navit = bus.get_object('org.navit_project.navit', conn.get_attr_wi("navit",iter)[1]);
iface.attr_iter_destroy(iter)
navit_iface = dbus.Interface(navit, dbus_interface='org.navit_project.navit.navit')
navit_iface.zoom(2)


The first line that fails is
iter = iface.attr_iter()

Is this a bug in Navit, or did they change the dbus interface?

P.S.: I would also like to do the following stuff with dbus (via voice control):
- toggle 2D/3D
- select a bookmarked destination
- start/stop navigation

It would be nice if anyone could show me code or some documentation how to do this with dbus.
 

The Following User Says Thank You to Jannis For This Useful Post:
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#735
Originally Posted by Jannis View Post
The first line that fails is
iter = iface.attr_iter()
what exactly happens at that line? What error message do you get?

Originally Posted by Jannis View Post
Is this a bug in Navit, or did they change the dbus interface?
Have you enabled the dbus binding in navit.xml?
i think there was something about the dbus interface recently... but i don't remember exactly
 

The Following User Says Thank You to gianko For This Useful Post:
Posts: 21 | Thanked: 102 times | Joined on Apr 2010
#736
Originally Posted by gianko View Post
Have you enabled the dbus binding in navit.xml?
i think there was something about the dbus interface recently... but i don't remember exactly
Thank you very much gianko

That was the problem (stupid me). I didn't know that the dbus binding can be dis-/enabled in navit.xml.

I am still looking how to do the following stuff with dbus (via voice control):
- toggle 2D/3D
- select a bookmarked destination
- start/stop navigation

It would be nice if anyone could show me code or some documentation how to do this with dbus.

Greets
 

The Following User Says Thank You to Jannis For This Useful Post:
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#737
I am still looking how to do the following stuff with dbus (via voice control):
- toggle 2D/3D
- select a bookmarked destination
- start/stop navigation

It would be nice if anyone could show me code or some documentation how to do this with dbus.
i will check, but for faster help i suggest you to ask on navit irc channel, there are a lot of people more expert in navit there

http://wiki.navit-project.org/index.php/Contacts#IRC
 

The Following User Says Thank You to gianko For This Useful Post:
Posts: 101 | Thanked: 150 times | Joined on Oct 2007 @ Stuttgart, Germany
#738
Uploaded release 5524 to bokomoko.de

I did not see any new features, looks more like a polishing release.
 

The Following 3 Users Say Thank You to rdorsch For This Useful Post:
Posts: 21 | Thanked: 102 times | Joined on Apr 2010
#739
I found out how to
- select a bookmarked destination, and to
- start/stop navigation

but I am still looking for a way to
- toggle 2D/3D
with dbus.

It would be nice if someone who knows how this can be done would post this here.
 

The Following 2 Users Say Thank You to Jannis For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#740
Originally Posted by Jannis View Post
I found out how to
- select a bookmarked destination, and to
- start/stop navigation

but I am still looking for a way to
- toggle 2D/3D
with dbus.

It would be nice if someone who knows how this can be done would post this here.
http://wiki.navit-project.org/index.php/Configuration
http://wiki.navit-project.org/index.php/Dbus
Try this code:
Code:
dbus-send  --print-reply --session --dest=org.navit_project.navit /org/navit_project/navit/default_navit org.navit_project.navit.navit.set_attr string:"pitch" variant:int32:30
Disclaimer: I don't have Navit installed.
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post:
Reply

Tags
navigation, navit, nokia n900, openstreetmap


 
Forum Jump


All times are GMT. The time now is 09:23.