maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Navit on N900 (https://talk.maemo.org/showthread.php?t=38800)

rdorsch 2013-05-04 14:36

Re: Navit on N900
 
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

rdorsch 2013-05-05 16:08

Re: Navit on N900
 
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

gianko 2013-05-13 14:26

Re: Navit on N900
 
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

Jannis 2013-05-26 16:56

dbus problem with Navit on N900
 
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.

gianko 2013-05-29 17:07

Re: dbus problem with Navit on N900
 
Quote:

Originally Posted by Jannis (Post 1346991)
The first line that fails is
iter = iface.attr_iter()

what exactly happens at that line? What error message do you get?

Quote:

Originally Posted by Jannis (Post 1346991)
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

Jannis 2013-05-30 12:52

dbus problem with Navit on N900
 
Quote:

Originally Posted by gianko (Post 1347782)
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

gianko 2013-05-30 13:48

Re: Navit on N900
 
Quote:

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

rdorsch 2013-06-01 14:24

Re: Navit on N900
 
Uploaded release 5524 to bokomoko.de

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

Jannis 2013-06-07 16:14

dbus problem with Navit on N900
 
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.

Wikiwide 2013-06-10 02:19

Re: dbus problem with Navit on N900
 
Quote:

Originally Posted by Jannis (Post 1350305)
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.


All times are GMT. The time now is 16:34.

vBulletin® Version 3.8.8