navit-project.org

forum for navit navigation tool
It is currently 08 Dec 2019, 06:56
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  [ 2 posts ] 
Author Message
 Post subject: Search for line in Sources Code
PostPosted: 21 Aug 2018, 13:40 
Offline

Joined: 21 Aug 2018, 13:19
Posts: 2
I'm searching for the line in the Source code where i can read out when a "navigation_next_turn" + "the distance to the next turn" + "speed" will be displayed so i can intercept it(i want to programm that myself) and send a string over a Serial connection every time these things get displayed on the screen.

I hope somebody can help me, because i already searched for 4 hours but i can't find anything.


 Profile  
 
 Post subject: Re: Search for line in Sources Code
PostPosted: 21 Aug 2018, 23:32 
Offline

Joined: 26 Sep 2013, 10:59
Posts: 74
The only thing I know is, that Navit has an interface to other programs, so that you perhaps do not need to search in the code.
https://wiki.navit-project.org/index.php/Dbus#Signals
get_addr (Method of org.navit_project.navit.route) is the command, where you can get s.th. of the route.
Its over dbus. This can work only in Linux, I think


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
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