navit-project.org

forum for navit navigation tool
It is currently 23 Jul 2017, 22:33
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Routing by remote.
PostPosted: 27 Aug 2015, 12:13 
Offline

Joined: 27 Aug 2015, 11:30
Posts: 1
I have created a GSM interface to the Navit software.

The GSM module is a rather old GM862-GPS which contains a GSM interface and a GPS interface on different serial ports. I initially sent the GPS directly to the Navit program and had a microprocessor on the GSM port to perform some external function to the vehicle. - All worked nicely.
I then decided to try to send a route to the Navit. I modified the micro software to read the GPS data as well as the GSM data and added the ability to include the routing information into the stream.
I modified the file vehicle_file.c to decode this data and the messages appeared to be decoded properly and the position moved but the route is not displayed.

Now for Details:

I created a structure:

struct my_route_markers
{
struct pcoord markers[8];
int waypoint_count;
};

struct my_route_markers route_markers;



I then decoded the information into this stucture using the function vehicle_file_parse modified. I attempted to generate the route and display it by acquiring the route address from global_navit stucture and called the function as follows:


route_set_destinations( route, route_markers.markers, route_markers.waypoint_count, 1 );



I tried this with builds 6118 the 6135. The results were varied. With 6118 I sometimes got the route displayed - sometimes not. It appeared to be a function of distance. With 6135 I got no display but the program was busy for several seconds.

Am I doing it correctly or am I missing something?


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

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