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)

gianko 2013-04-06 15:45

Re: Navit on N900
 
nice job!

ps: i don't know...but maybe QtDeclarative is provided by packages like libqtm-11-declarative or libqtm-12-declarative ? it comes with CSSU ?

tanago 2013-04-06 16:09

Re: Navit on N900
 
Quote:

Originally Posted by gianko (Post 1334471)
nice job!

ps: i don't know...but maybe QtDeclarative is provided by packages like libqtm-11-declarative or libqtm-12-declarative ? it comes with CSSU ?

I tried them too but still without success, It's more like cmake is searching for Qt Declarative headers in a different directory than they are

gianko 2013-04-06 16:47

Re: Navit on N900
 
the navit-gui-qml package installed from rdorsch repo depends on libqt4-core libqt4-declarative libqt4-dbus libqt4-gui libqt4-xml i dont know if this helps

tanago 2013-04-06 17:02

Re: Navit on N900
 
Quote:

Originally Posted by gianko (Post 1334478)
the navit-gui-qml package installed from rdorsch repo depends on libqt4-core libqt4-declarative libqt4-dbus libqt4-gui libqt4-xml i dont know if this helps

Means that when I already have Qt Declarative => cmake is looking at the wrong directory

Mentalist Traceur 2013-04-06 19:21

Re: Navit on N900
 
Question (don't have time to read the thread history to find answers, if they exist, sorry): Why cmake and not autotools? And does using cmake to do it make it any less doable for you or whoever follows in your footsteps to package the .deb into the repos using autobuilder (as opposed to manual package upload)?

tanago 2013-04-06 19:31

Re: Navit on N900
 
Quote:

Originally Posted by Mentalist Traceur (Post 1334497)
Question (don't have time to read the thread history to find answers, if they exist, sorry): Why cmake and not autotools? And does using cmake to do it make it any less doable for you or whoever follows in your footsteps to package the .deb into the repos using autobuilder (as opposed to manual package upload)?

I will answer your question
1. For a long time, building with cmake produced many errors, thats why it was preferred to build with autotools
2. It still produces many errors mainly because cmake is searching for headers in different directories. Today I managed to fix all those paths except one, described at the beggining of this page.
3. dpkg-buildpackage scripts inside 'debian' folder use autotools and compiles the source code with it. Today I workaround-ed that with the following commands
Code:

cmake /path/to/sources
make
dpkg-buildpackage -b -nc

i had to specify -nc because dpkg will 'make clean' and will compile with autotools again. So anybody who is expert at making "debian" dirs is welcomed to help us switch to cmake entirely :)

luf 2013-04-07 08:56

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1334500)
i had to specify -nc because dpkg will 'make clean' and will compile with autotools again. So anybody who is expert at making "debian" dirs is welcomed to help us switch to cmake entirely :)

Let's try to take inspiration from keepassx package:

http://merlin1991.at/~luf/keepassx/s...3maemo2.tar.gz

You can also find original version in extras-devel or testing (I took inspiration there - keepassx_0.4.3-1).

I hope it can help you.

gianko 2013-04-07 17:30

Re: Navit on N900
 
if can help, i found this (maybe old) tutorial for maemo compiling on Scratchbox, with some configure options

http://wiki.navit-project.org/index....ox_development

rdorsch 2013-05-03 21:14

Re: Navit on N900
 
Most people might have seen it already, I updated navit on bokomoko.de. From the upstream changelog it seems that street search and house number search saw a lot of changes. It did not work very well in the new version though. If I see a version, whose street search works better for me, I will upload another update. In any case maps need to be updated for that.

Rainer

magic_doc 2013-05-04 08:59

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1341018)
Most people might have seen it already, I updated navit on bokomoko.de. From the upstream changelog it seems that street search and house number search saw a lot of changes. It did not work very well in the new version though. If I see a version, whose street search works better for me, I will upload another update. In any case maps need to be updated for that.

Rainer

Thanks again for your effort! So I will stay at version 5427 until further notice, because I really need the street-search-function.

But what I don't understand is why maps need to be updated for the new search function?

Have a nice weekend!

CU Michael

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.

Jannis 2013-06-10 20:08

Re: dbus problem with Navit on N900
 
Quote:

Originally Posted by Wikiwide (Post 1350809)
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.

Thanks Wikiwide,

this works!
Setting the pitch to 0° (of course) changes the layout to 2D-mode.

sup 2013-06-11 11:19

Re: Navit on N900
 
On a recent trip with latest bokomoko updates and maps about half a year old, I noticed some things.
1) First I noticed that street search does not work. Did you experience anything similar? Might redownloading the maps help?

2) Also, I noticed that searching for routes not requiring tolls for over 200 km (in France) does not work. It depends on the distance, it seems Navit does not like if there are toll autoroute crossings for much of the way.

3) I also noticed that the search alogorithm gives sometimes suboptimal results - it prefers the routes of highest quality (national as opposed to regional or local road network) even if it means a detour of tens of kilometers. Have you similar experience?

gianko 2013-06-11 16:44

Re: Navit on N900
 
Quote:

Originally Posted by sup (Post 1351103)
On a recent trip with latest bokomoko updates and maps about half a year old, I noticed some things.
1) First I noticed that street search does not work. Did you experience anything similar? Might redownloading the maps help?

yes, with the latest release, you need to download a new map.

try http://maps7.navit-project.org/

magic_doc 2013-06-14 11:52

Re: Navit on N900
 
Since yesterday, I try to download this part of the map for germany:

http://maps7.navit-project.org/api/m...47.1,14.1,55.3

It always get stucked at some point, tried on two machines since then, always the same effect.
Can anyone confirm this problem?

CU and HANW

Michael

sup 2013-06-14 13:31

Re: Navit on N900
 
Quote:

Originally Posted by magic_doc (Post 1351966)
Since yesterday, I try to download this part of the map for germany:

http://maps7.navit-project.org/api/m...47.1,14.1,55.3

It always get stucked at some point, tried on two machines since then, always the same effect.
Can anyone confirm this problem?

CU and HANW

Michael

I tried France with the same results.

magic_doc 2013-06-15 04:22

Re: Navit on N900
 
The issue seems to be fixed, just tried on a root server with fat bandwith:

100%[====================================>] 1.449.248.635 11,2M/s in 2m 3s

WOOOT ;)

guilledoc 2013-06-16 01:21

Re: Navit on N900
 
Can we have an easy how to install/use Navit for newbies :(

gianko 2013-06-19 15:36

Re: Navit on N900
 
Quote:

Originally Posted by guilledoc (Post 1352332)
Can we have an easy how to install/use Navit for newbies :(

this can be a starting point http://talk.maemo.org/showpost.php?p...&postcount=511

sup 2013-06-19 15:39

Re: Navit on N900
 
Quote:

Originally Posted by guilledoc (Post 1352332)
Can we have an easy how to install/use Navit for newbies :(

Look also at this, if I can promote myself:-). http://talk.maemo.org/showpost.php?p...&postcount=683 - you need to edit maps.xml to point to the maps you downloaded.

sup 2013-06-19 16:26

Re: Navit on N900
 
To others: I downloaded a new map version, but it has problems with finding small towns (like Murat: http://goo.gl/maps/Y7zAu in France) - but when I zoom on it manually, Murat is in the map. Have you experienced anything similar?

rdorsch 2013-07-11 21:24

Re: Navit on N900
 
Quote:

Originally Posted by guilledoc (Post 1352332)
Can we have an easy how to install/use Navit for newbies :(

http://zerties.org/index.php/Navit_auf_n900

Usul 2013-07-19 17:01

Re: Navit on N900
 
Hi there, this is Usul from the Navit team.

We are currently try to, reanimate our development and to get better usability and more stability :)
This means for now, that we switch back to a releasing cycle and put the focus on the essential features and platforms and make more testing.

As all that can not be done by only a few devs and we need to disburden our maintainer, I like to ask who might want to help us, to maintain the maemo n900/n800 port?
https://forum.navit-project.org/view...php?f=17&t=427
This means in detail, that we like to setup a build server/repo for creating current SVN nightly builds and to help on improving the integration on the platform and make use of the pretty cool features that the N900s offer. I already bought an old unit, to help on testing and documentation:
http://wiki.navit-project.org/index.php/Maemo

If you want to get in contact with us, please sign up at our wiki and use this credentials to login our forum. Personally I don't want to mess up this topic with all content that is more related to development etc.

gianko 2013-07-22 14:22

Re: Navit on N900
 
Quote:

Originally Posted by Usul (Post 1360177)
Hi there, this is Usul from the Navit team.

We are currently try to, reanimate our development and to get better usability and more stability :)
This means for now, that we switch back to a releasing cycle and put the focus on the essential features and platforms and make more testing.

As all that can not be done by only a few devs and we need to disburden our maintainer, I like to ask who might want to help us, to maintain the maemo n900/n800 port?
https://forum.navit-project.org/view...php?f=17&t=427
This means in detail, that we like to setup a build server/repo for creating current SVN nightly builds

Cool! Surely the right person is rdorsch who is maintaining a working and updated version of Navit for N900, and have his own repo here http://bokomoko.de/~rd/maemo/

Usul 2013-07-22 20:22

Re: Navit on N900
 
I'm in contact with the Zerties people but currently they seem to have no more interest/time on that. But maybe rdorsch or somebody else here is interested and likes to learn CMake ;)

tanago 2013-07-22 20:57

Re: Navit on N900
 
I can do that if rdorsch doesnt want or he cant, as I have built every svn build for myself, but for the past month I have hardware problems with my N900 and waiting repair. First lets hear from rdorsch and whoever else can build it and if there is still nobody to do that, I will

guilledoc 2013-07-23 15:44

Re: Navit on N900
 
I made it work but I don`t know how to do routing (point to poin) Sorry but didnīt find a simple solution and in the gui I don`t see how to
Thanks

nokiabot 2013-07-23 16:07

Re: Navit on N900
 
updated builds are always appreciated:)

gianko 2013-07-23 17:19

Re: Navit on N900
 
rdorsch built with autotools as problems occurs with cmake

for more details and build script check http://talk.maemo.org/showpost.php?p...&postcount=631


@usul afaik you should know german :) if you want to translate this for navit wiki: http://zerties.org/index.php/Navit_auf_n900

Usul 2013-07-25 05:47

Re: Navit on N900
 
Yep, I can do the translation but would like to try the tutorial by my own. Thus I thought it would be cool, if there would be already a easy to use build which includes all icons etc.

Anyway, will give it a try after my holidays :)

ddelamarre 2013-07-28 16:31

Re: Navit on N900
 
Hello,
reading your post, quoted below, would like to give it a try.


Quote:

Originally Posted by tanago;1334500[...
Today I workaround-ed that with the following commands
Code:

cmake /path/to/sources
make
dpkg-buildpackage -b -nc

i had to specify -nc because dpkg will 'make clean' and will compile with autotools again. So anybody who is expert at making "debian" dirs is welcomed to help us switch to cmake entirely :)

Could you let me know what code you use, in particular lthe part to parametrize debian package building?

I am not a specialist but have been a developer for years.

Regards


All times are GMT. The time now is 14:46.

vBulletin® Version 3.8.8