Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 08-06-2016, 07:09   #16
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Transfering routes from opencpn to Standard Horizon plotter

This really needs to be written up in Tracker, its a bug. Any volunteers?
rgleason is offline   Reply With Quote
Old 08-06-2016, 12:37   #17
Registered User

Join Date: May 2014
Boat: Shuttleworth Advantage
Posts: 2,272
Images: 2
Re: Transfering routes from opencpn to Standard Horizon plotter

Quote:
Originally Posted by boat_alexandra View Post
I think this is related to b81c9760065d7329d0990db9a3da5b173142ccbb
I figured the harmless solution was to just send all the waypoints twice without delay which ensured they always got through, and indeed it worked up to 69 waypoints (and probably many more but I got tired of pushing the few buttons on the garmin to test this so many times) in a route without any problem this way.
I agree with Sean that the bugs are almost certainly Garmin hardware related not nmea of OCPN per say. It could be that SH also have some less than standard implementation.

It was a long time since I looked at this and am not on the boat at the moment so can't help much. But, to be clear the Garmin (older units) will not accept uploaded "routes" they will only receive the "waypoints" from a route so the route messages are ignored.

A couple of thoughts Pierrre, during the testing are the settings within the various versions of OCPN the same? re Garmin and nmea?

Am I right is assuming you have successfully uploaded a route but just not in the latest version?

Peter
Tupaia is online now   Reply With Quote
Old 08-06-2016, 12:50   #18
Registered User

Join Date: Jun 2015
Posts: 379
Re: Transfering routes from opencpn to Standard Horizon plotter

Quote:
Originally Posted by boat_alexandra View Post
I think this is related to b81c9760065d7329d0990db9a3da5b173142ccbb

I don't know why the rte sentence is missing, but the garmin gps I was testing on was throwing away the first waypoint sent. OpenCPN has a lot of fancy delays inbetween sending nmea sentences, so depending on timing the routes would be missing various waypoints or get none at all because once the string of waypoints was reset by a delay, then the next waypoint would get dropped.

I don't understand why duplicated waypoints would be a problem as they should be ignored or replace the first message. It seems like both standard horizon and garmin are the ones with the bugs in them.
If the problem is some kind of buffer full condition in the GPS sending twice the number of WP is unlikely to help.
did-g is offline   Reply With Quote
Old 08-06-2016, 16:29   #19
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Transfering routes from opencpn to Standard Horizon plotter

Quote:
Originally Posted by did-g View Post
If the problem is some kind of buffer full condition in the GPS sending twice the number of WP is unlikely to help.
It does help and does work because the gps drops the first waypoint in a string, and opencpn sends waypoints each with a delay thus a separate string.`
seandepagnier is offline   Reply With Quote
Old 08-06-2016, 17:19   #20
Registered User

Join Date: Jun 2015
Posts: 379
Re: Transfering routes from opencpn to Standard Horizon plotter

Quote:
Originally Posted by boat_alexandra View Post
It does help and does work because the gps drops the first waypoint in a string, and opencpn sends waypoints each with a delay thus a separate string.`
Yep but I'm speaking in this case.

No it doesn't the double WP is sent in one string, the delay is after, moreover a delay doesn't guarantee it's not aggregated later either in sender or receiver.

From one screen shot this stuff screams buffer overflow in the receiver.

I have a good track record for saying stupid or wrong things but dealing with communication problems between lab instruments was some of my jobs for many years.
did-g is offline   Reply With Quote
Old 08-06-2016, 18:55   #21
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Transfering routes from opencpn to Standard Horizon plotter

Folks...

We really need a look at the logfile. This will prove that OCPN tried to send the correct sentences, and so we can focus on receiver overrun or other physical difficulty.

Dave
bdbcat is offline   Reply With Quote
Old 10-06-2016, 10:02   #22
Registered User

Join Date: Oct 2008
Location: Halifax, Canada
Boat: Hughes 35 and Lagoon 380 S2
Posts: 105
Re: Transfering routes from opencpn to Standard Horizon plotter

Quote:
Originally Posted by bdbcat View Post
Folks...

We really need a look at the logfile. This will prove that OCPN tried to send the correct sentences, and so we can focus on receiver overrun or other physical difficulty.

Dave

Sorry for the delay responding (I had to go back to work this week after three months on sick leave),

I am at home but will get to the boat tomorrow.
pierrrre is offline   Reply With Quote
Old 10-06-2016, 17:17   #23
Registered User

Join Date: Oct 2008
Location: Halifax, Canada
Boat: Hughes 35 and Lagoon 380 S2
Posts: 105
Re: Transfering routes from opencpn to Standard Horizon plotter

Made it to the boat tonight. I attach the log and result pictures of same route sent three times with OpenCPN 4.2 and once with 4.0 on June 7th at 17:57:21.

Here is the link for the log.

https://drive.google.com/file/d/0B4v...ew?usp=sharing
Attached Thumbnails
Click image for larger version

Name:	Triple sent route 42.jpg
Views:	172
Size:	417.8 KB
ID:	125919   Click image for larger version

Name:	route sent 40.jpg
Views:	172
Size:	386.9 KB
ID:	125920  

pierrrre is offline   Reply With Quote
Old 10-06-2016, 20:09   #24
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Transfering routes from opencpn to Standard Horizon plotter

pierrre....

So, for the two point route on OCPN 4.2:

We see from the log that O tries to send the correct points

Code:
5:58:38 PM: Opening NMEA Datastream Serial:COM4
5:58:38 PM: -->GPS Port:Serial:COM4 Sentence: $ECWPL,4442.025,N,06337.014,W,001*7C
5:58:38 PM: -->GPS Port:Serial:COM4 Sentence: $ECWPL,4442.066,N,06337.440,W,002*7D
5:58:38 PM: -->GPS Port:Serial:COM4 Sentence: $ECRTE,1,1,c,opencpn42,001,002*4A
5:58:38 PM: Closing NMEA Datastream Serial:COM4
So, the internal logic in OCPN is OK, I think.

Now, we see from the screenshot that the two points and the RTE message were received by the Plotter.

So, the big question: Did the Route get transferred correctly with O42 ?
How about with O4 ?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 12-06-2016, 06:41   #25
Registered User

Join Date: Oct 2008
Location: Halifax, Canada
Boat: Hughes 35 and Lagoon 380 S2
Posts: 105
Re: Transfering routes from opencpn to Standard Horizon plotter

Dave

The route sent with Opencpn 4.2 has never transferred correctly and 4.0 always transferred correctly.

Before going out on the water for the day yesterday (out of wifi range), I did the test again but with OpenCPN 4.4 this time and OpenCPN 4.0 again. The result with 4.0 was successful again and a failure with 4.4.

I attach two pictures of the 4.0 test (nmea strings and result) and two pictures of the same route sent three times with 4.4 (nmea strings and result). I named the pictures accordingly. I also include the link for the new log file. You will see in the log file that I sent the route 6 times with opencpn 4.4 however I only took picture of the last three nmea strings received by the plotter.



https://drive.google.com/open?id=0B4...URJODJXMzZtcGc
Attached Thumbnails
Click image for larger version

Name:	Nmea sent route 40.jpg
Views:	163
Size:	397.5 KB
ID:	125992   Click image for larger version

Name:	Result 40.jpg
Views:	178
Size:	393.6 KB
ID:	125993  

Click image for larger version

Name:	NmeaTriple sent route 44.jpg
Views:	158
Size:	404.3 KB
ID:	125994   Click image for larger version

Name:	Result 44.jpg
Views:	171
Size:	393.7 KB
ID:	125995  

pierrrre is offline   Reply With Quote
Old 12-06-2016, 08:37   #26
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Transfering routes from opencpn to Standard Horizon plotter

pierrre...

Well, it seems to imply that the Plotter does not like the duplicated WPL sentences. Or, there is not enough time between messages. Or, there is too much time between messages.

Are you able to build from source? If not, I will build you some test versions to try and nail this down. Let me know when you will be in good Wifi range and on the boat for a test.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 12-06-2016, 09:25   #27
Registered User

Join Date: Oct 2008
Location: Halifax, Canada
Boat: Hughes 35 and Lagoon 380 S2
Posts: 105
Re: Transfering routes from opencpn to Standard Horizon plotter

No, I don't know how to build from source. I don't know much if anything about programming. I am on the boat at my slip now and I have wifi.

Pierre
pierrrre is offline   Reply With Quote
Old 12-06-2016, 16:26   #28
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Transfering routes from opencpn to Standard Horizon plotter

Pierre...

OK, I built a test version of OpenCPN for you.

This is called 4.4.1, and sends the WPL messages only once, instead of twice. It is available for download from:

https://www.dropbox.com/s/bnwt8bed34...setup.exe?dl=0

The download is smaller than normal, as I omitted the doc files to save bandwidth. I recommend that you install in parallel with O4 and O42, so you can compare plotter screenshots easily.

Good Luck.
Dave
bdbcat is offline   Reply With Quote
Old 13-06-2016, 04:24   #29
Registered User

Join Date: Oct 2008
Location: Halifax, Canada
Boat: Hughes 35 and Lagoon 380 S2
Posts: 105
Re: Transfering routes from opencpn to Standard Horizon plotter

Good morning Dave,

I did a quick test this morning with 4.4.1 you sent me before heading to work. I did not have much time (my wife was waiting for me) and tried sending the same route as before (two waypoints only). The transfer was successful. Had to shut it down right after to avoid divorce. I will do more test later on just to make sure.

thanks

Pierre
pierrrre is offline   Reply With Quote
Old 13-06-2016, 15:27   #30
Registered User

Join Date: Oct 2008
Location: Halifax, Canada
Boat: Hughes 35 and Lagoon 380 S2
Posts: 105
Re: Transfering routes from opencpn to Standard Horizon plotter

Hi Dave

I just did some more tests with two waypoints route and multi points route and all routes transferred without problem with the 4.4.1 version you sent me yesterday.

Thanks a lot. Are you planning to incorporate the changes you did for 4.4.1 (whatever they were) to the other versions that will be released at a later date?

Pierre
pierrrre is offline   Reply With Quote
Reply

Tags
enc, opencpn, route


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfering Routes from OPEN CPN earless Marine Electronics 6 26-12-2012 07:18
Want To Buy: Standard Horizon GPS/Chart Plotter CP175C sailingmonica Classifieds Archive 1 20-01-2011 14:44
For Sale: Standard Horizon Plotter cerro Classifieds Archive 0 27-10-2010 04:58
Standard Horizon CP 500 Plotter cerro Classifieds Archive 0 25-01-2009 07:57
Standard Horizon Plotter Scratch Our Community 3 05-01-2009 13:45

Advertise Here


All times are GMT -7. The time now is 00:53.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.