Cruisers Forum
 


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 27-09-2018, 00:34   #16
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,324
Re: OpenCPN Magnetic Variation Reversed?

Quote:
Originally Posted by rooiedirk View Post
Nmea version 2.3 is from march 1998 Would we break something by adding an extra field?
I don't think so. Who would search a sentence from the end? I could very well test a change on my dated AP.
But...
The "new" FAA mode field is valid both for RMB and RMC. Both ought to be change if any.
Could you make a test branch and I'd try it on board? Or I may try to change but it will take some more time.
Hakan is offline   Reply With Quote
Old 27-09-2018, 00:41   #17
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,324
Re: OpenCPN Magnetic Variation Reversed?

I recognized RMC is already adapted for version 2.3 so what's left is similar changes for RMB?
Hakan is offline   Reply With Quote
Old 27-09-2018, 03:16   #18
Registered User

Join Date: Jul 2018
Posts: 11
Re: OpenCPN Magnetic Variation Reversed?

Hello,
nice job on the magnetic field, however:
The upper line is made from the RMC phrase. Left = SOG (field 7 in RMC) and right is COG (field 8 in RMC) This did work fine with the added magnetic varaiation.


The lower line is causing the problems, where to steer:
It is made by the RMB phrase, (left: field 10 in BMR, right: field 11 in RMB) which either does not appear at all or disappears.
kumado77 is offline   Reply With Quote
Old 27-09-2018, 03:21   #19
Registered User

Join Date: Jul 2018
Posts: 11
Re: OpenCPN Magnetic Variation Reversed?

Hi,
the $ECRMC,211754,A,4117.178,S,17400.463,E,-1.#IO,0.000,200618,22.200,E

and nand(ind)
are caused by an overflow in your reading buffer at the listener.
There is no handshake between opencpn and listener. Once the buffer flows over, it stops to listen. Unfortunately opencpn doesn't listen to this "cry of shutting up" and keeps on talking. The effect is rubbish.
This proboem is known, but the developers consider it not worth to work on : What i do not agree with.
kumado77 is offline   Reply With Quote
Old 27-09-2018, 08:26   #20
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,570
Re: OpenCPN Magnetic Variation Reversed?

Hello...
There is at two errors in OCPN regarding synthesized sentences for autopilot.

re:
$ECRMC,211754,A,4117.178,S,17400.463,E,-1.#IO,0.000,200618,22.200,E

The error in synthesized ECRMC is not due to any buffer overflow. It is a simple coding error in OpenCPN. If SOG is undefined, OCPN does not properly detect this, and in error adds a (NAN) to the sentence. Downstream receivers cannot decode this properly (probably the # symbol causes them trouble).

Hakan showed a viable solution in the code here:
http://www.cruisersforum.com/forums/...ml#post2656608

It will be fixed for the next release. @Hakan, I'll take a PR on this.

There is an additional problem. Some NMEA receivers require the trailing FAA 'A' character to parse RMB correctly. This fix is already in place for RMC. It is a simple fix for RMB, as well. We will do this for the next release.

Maybe this is the root cause of the reported trouble with "lost" sentences with some receivers in some configurations.

Sorry for the trouble.
Dave
bdbcat is offline   Reply With Quote
Old 28-09-2018, 04:15   #21
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,324
Re: OpenCPN Magnetic Variation Reversed?

@kumado77... (Or anyone else as well)

I've a Windows installer for O version 4.99.0 where the NMEA version 2.3 FAA mode fields are added to RMB and RMC sentences sent to AP. I've tested on my dated Simrad AP without any troubles, as expected.
It would be great if you could test on your system to verify it solves your problem.

The fixes includes:
  1. Avoid "NAN" in SOG/COG to AP. (When no GPS is there!?)
  2. Understand also incoming FAA mode indicator for RMB (NMEA version 2.3)
  3. Include the FAA mode indicator in $ECRMB and $ECRMC to AP
Please PM me for a download link.
Thanks
Håkan
Hakan is offline   Reply With Quote
Old 01-10-2018, 22:51   #22
Registered User

Join Date: Nov 2015
Location: Wellington, New Zealand
Boat: Whiting 29
Posts: 29
Re: OpenCPN Magnetic Variation Reversed?

I have now installed OpenCPN V. 4.99.0 and am very happy to report it works perfectly and has resolved the problem with the NASA Clipper GPS Repeater needing NMEA Version 2.3 and above to display bearings to steer to.

Thank you, thank you!!

I have tested while stationary in the marina (for a couple of hours) and I don't see any reason why there will be any problems while under way.

I did note that the NMEAConverter Plugin is NOT compatible with this version. Not a problem for me as I don't need it now



gchead is offline   Reply With Quote
Old 02-10-2018, 03:45   #23
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,324
Re: OpenCPN Magnetic Variation Reversed?

gchead...
Nice to hear and thanks for the report.
For info is the O version you have got not present Git master but I hope the patch is soon merged.
Plugins: Yes, most not inbound plugins have to be updated before they can be used in O ver. 4.99.0.
Håkan
Hakan is offline   Reply With Quote
Old 07-11-2018, 22:30   #24
Registered User

Join Date: Nov 2015
Location: Wellington, New Zealand
Boat: Whiting 29
Posts: 29
Re: OpenCPN Magnetic Variation Reversed?

Quote:
Originally Posted by Hakan View Post
gchead...
Nice to hear and thanks for the report.
For info is the O version you have got not present Git master but I hope the patch is soon merged.
Plugins: Yes, most not inbound plugins have to be updated before they can be used in O ver. 4.99.0.
Håkan
Did this patch make it into the new OpenCPN Version 4.8.8 released today?

(No mention of it in the release notes)
gchead is offline   Reply With Quote
Old 15-03-2022, 18:35   #25
Registered User

Join Date: Nov 2015
Location: Wellington, New Zealand
Boat: Whiting 29
Posts: 29
Re: OpenCPN Magnetic Variation Reversed?

I have written a summary of my experiences interfacing the NASA GPS Repeater with OpenCPN on my Halo Logbook:
https://halologbook.wordpress.com/20...wifi-aug-2018/
The system works very well for me and is a great solution for my coastal navigation adventures in New Zealand.
gchead is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Magnetic Variation (WMM) when boat is off the chart TacomaSailor OpenCPN 4 03-08-2015 12:50
Shifter is reversed Mike Vogdes Engines and Propulsion Systems 10 07-07-2014 17:25
Magnetic variation test inquiry Hakan OpenCPN 14 29-03-2014 01:11
Hydraulic-magnetic and Magnetic Overcurrent Circuit Breakers chrysm Electrical: Batteries, Generators & Solar 4 17-03-2014 00:13
Chart Magnetic Variation? PDA1 OpenCPN 3 15-06-2012 10:35

Advertise Here


All times are GMT -7. The time now is 04:13.


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.