navit-project.org

forum for navit navigation tool
It is currently 21 Nov 2017, 10:13
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Navit routing without Xserver
PostPosted: 21 Oct 2015, 11:29 
Offline

Joined: 25 Jun 2015, 20:41
Posts: 3
Hi all !
I asked this on IRC but I wasn't available to check if anyone answered. Sorry if someone did

I'd like to know if the navit routing is independant from the GUI in order to install it on a SBC without Xserver for example; displaying only routing informations (turns, road names, distances..) on a alphanum LCD screen, or OLED as someone suggested, anything..
Or even to developp another GUI on a X Server with a better UI/UX integration for a project.

I have two hardware and software projects which could have a very good use of navit "core", everyone could take advantage of modularity.

I also would love to work with developpers on a new UI while the core is not modified

Thanks !

I have another solution using pyroutelib, a routing algorythm binding in Python but it would require a lot more developpement, and I'm really not a dev (even if I'm learning ^_^ )


 Profile  
 
 Post subject: Re: Navit routing without Xserver
PostPosted: 22 Oct 2015, 15:39 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
Yes, it should be possible. Navit comes with a "null" graphics driver, which does not do any output, and should not require an X server. I haven't tried it myself, though.


 Profile  
 
 Post subject: Re: Navit routing without Xserver
PostPosted: 22 Oct 2015, 17:43 
Offline

Joined: 25 Jun 2015, 20:41
Posts: 3
Cool !
Do you know how to "talk" with navit in this config ? Any API ?

I'm not a developper (only learning on spare time) so this may be a dumb question, I search on wiki for API the only thing that I know I could work with.


 Profile  
 
 Post subject: Re: Navit routing without Xserver
PostPosted: 22 Oct 2015, 20:57 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
You can use dbus to send commands to Navit and get results back. This is also used by Navit's build server setup in order to run automated routing tests from a script.

http://wiki.navit-project.org/index.php/Dbus


 Profile  
 
 Post subject: Re: Navit routing without Xserver
PostPosted: 22 Oct 2015, 21:25 
Offline

Joined: 25 Jun 2015, 20:41
Posts: 3
Perfect :)
I'll try it as soon as possible


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS