navit-project.org

forum for navit navigation tool
It is currently 19 Oct 2018, 01:16
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: Need a way to refresh screen
PostPosted: 04 Oct 2018, 15:51 
Offline

Joined: 20 Feb 2017, 14:24
Posts: 3
Hi,

After the EGL graphic driver, I'm currently working on a plugin for NavIt that gets vehicle information from the CAN bus and display it on a layer. It's working fine, but I noticed that the screen refresh rate is quite slow (I guess it's based on GPS refresh rate, right?).
Would it be possible to send an event from the plugin (a part of it is in a separate thread) to force redraw ?

I tried to call the method navit_draw(..), it seems to work, but is it the right way ?

Thank you.


 Profile  
 
 Post subject: Re: Need a way to refresh screen
PostPosted: 05 Oct 2018, 12:55 
Offline

Joined: 26 Sep 2013, 10:59
Posts: 74
I think its based on navit.xml-Config-File

In the beginning of this file is s.th. like that:
<navit center="5239 N 1325 E" zoom="32" tracking="1" orientation="0" recent_dest="10" timeout="10">
timeout in seconds.


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