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 02-11-2023, 20:29   #46
Registered User
 
akopac's Avatar

Join Date: Oct 2014
Location: South Pacific -> World Cruising Long Term
Boat: Morgan, West Indies 38 Ketch
Posts: 562
Re: About the AutoTrackRaymarine Plugin

Thanks. I’ve actually been watching the evolution of the autopilot plug-ins for for opencpn for many years. I even have a couple pipilots from Sean. Finally thinking about tying the knot between routes and autopilot
akopac is offline   Reply With Quote
Old 02-11-2023, 21:53   #47
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Re: About the AutoTrackRaymarine Plugin

Quote:
Originally Posted by sailingjazz View Post
I have a DY STng usb interface to my Nav PC providing a two way NEMA 2000 interface to my EVO 100 AP. I also have an iMux wifi that converts old ST instruments to 0183 and multiplexes it with other 0183 feeds. OpenCPN is running on the Nav PC and is getting data from both. I intend to set up an unfiltered OpenCPN input / output connection on this Nav PC.

My questions are;

Will I be able to use this data on a PC at the helm to control the Autotrack PI?

Is there any need for a Signal K data server? The Helm and Nav PCs will be on the same wifi router.

Will all the necessary sentences for the PI be passed through to/from the Nav PC?

Thanks,
Kevin
Have you tried using OpenCPNs built in AP functions? I also have the EVO100 AP. It works fine with an antisense converting from the 0183 that OCPN outputs to the N2k that the EV-1 needs. Only thing is that my antisense was pretty old (2015ish) and I had to update the firmware and enable the correct NMEA sentences in the configuration. That was a bit involved, but might not be needed with a newer unit.

I've not tried the plugins myself. Turning the AP on/off isn't supported on 0183, so that is a reason to do so. But, I have moved on from wires (I now use a yacht devices YDWG02) and refuse to go back. So n2k isn't happening for me until the developers support the YDWG02.

I don't understand what the 0183 version of the plugin does that OCPN doesn't.

But, you should be able to use either plugin with your setup, or the built-in, and should not need SignalK to do it.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 03-11-2023, 08:36   #48
Registered User

Join Date: Jan 2011
Location: Sandusky
Boat: Tartan 37C
Posts: 54
Re: About the AutoTrackRaymarine Plugin

Quote:
Originally Posted by wholybee View Post
Have you tried using OpenCPNs built in AP functions? I also have the EVO100 AP. It works fine with an antisense converting from the 0183 that OCPN outputs to the N2k that the EV-1 needs. Only thing is that my antisense was pretty old (2015ish) and I had to update the firmware and enable the correct NMEA sentences in the configuration. That was a bit involved, but might not be needed with a newer unit.

I've not tried the plugins myself. Turning the AP on/off isn't supported on 0183, so that is a reason to do so. But, I have moved on from wires (I now use a yacht devices YDWG02) and refuse to go back. So n2k isn't happening for me until the developers support the YDWG02.

I don't understand what the 0183 version of the plugin does that OCPN doesn't.

But, you should be able to use either plugin with your setup, or the built-in, and should not need SignalK to do it.
I have tried the OpenCPN's autopilot functionality also with a antisense converting data. I had trouble with it starting off with sharp (unnecessary) turns and then the Autopilot stopping to ask me to accept turns. Never got it to work in a useful way.
sailingjazz is offline   Reply With Quote
Old 01-12-2023, 02:54   #49
Registered User
 
akopac's Avatar

Join Date: Oct 2014
Location: South Pacific -> World Cruising Long Term
Boat: Morgan, West Indies 38 Ketch
Posts: 562
Re: About the AutoTrackRaymarine Plugin

So I’m not to far from going into cyclone season project mode and one project is to get this route fallowing working. I currently have
Openplotter/Opencpn on a Pi400
Yacht Devices YDNU-02 USB/nmea2000 bridge connected to opencpn using signalk
The YDNU-02 has :
A yacht devices AIT2500 AIS which provides GPS & AIS for opencpn
A Raymarine NMEA2000 SeaTalking Gateway Kit with all the ev100, p70, and ev-1 gear attach and seatalk to nmea2000 pigtail to nmea2000 cable to main nmea tree with yacht devices USB TO NMEA2000 YDNU-02 adapter for pi400.
https://www.west marine.com/raymarine-raymarine-nmea2000-seatalking-gateway-kit-11954369.html

Was wondering if the actisense NGT-1 is still necessary to use this plugin and if I can do it over signalK?
If I need the actisense NGT-1 does it have to be plugged directly into the nmea2000/seatalk adapter or can I just buy one that replaces the yacht devices bridge?
akopac is offline   Reply With Quote
Old 01-12-2023, 03:10   #50
Registered User

Join Date: Aug 2023
Posts: 8
Re: About the AutoTrackRaymarine Plugin

yes, the actisense is necessary. signalk doesn't know the proprietary raymarine pgn formats. signalk doesn't relay everything. the plugin needs to talk direct to the actisense and connecting it to signalk causes fighting between the two (I tried adding thenactisense to both signalk and opencpn with no luck)

I wish the actisense I have could tall to both but no luck with that so far so I'm going to add a separate nmea2000/seatalkng device to the network for signalk to converse with... USB devices don't generally allow connection to multiple apps at the same time...

now... it wouldn't hurt to try to run all of the pgns through signalk. perhaps I've missed something but I'm pretty sure Douwe said nmea2000 plugins won't know how to handle thr proprietary ogns raymarine created... you would have to edit the source code
dwynalda is offline   Reply With Quote
Old 10-12-2023, 15:14   #51
Registered User

Join Date: Oct 2023
Posts: 18
Re: About the AutoTrackRaymarine Plugin

YACHT DEVICES YDNU-02(RM) - I'm running the AutoTrackRaymarine Plugin just fine on this dongle. I have latest versions (as of Dec 10 2023) of both the plugin and OpenCPN and the plugin talks to, and controls, my new Raymarine EV-200 system with the connection set to Serial & NMEA2000 in OpenCPN. (No need to set a port within the plugin)

If you have older software or hardware you my need to update firmware.

IMPORTANTLY Yacht Devices mentions Actisense code in their documentation, so that may be a recent addition I don't know.

IMPORTANT NOTE TO CODERS #2 - Yacht Devices also mentions in their documentation that they are eager to help plugin coders get their plugins working with Yacht Devices gateways and will even provide coding assistance within reason and will add your code to their dongles' firmware. (The more compatibility the more sales and they are down with that).
Rick Welin is offline   Reply With Quote
Old 17-12-2023, 15:56   #52
Registered User

Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
Images: 4
Re: About the AutoTrackRaymarine Plugin

Quote:
Originally Posted by Rick Welin View Post
YACHT DEVICES YDNU-02(RM) - I'm running the AutoTrackRaymarine Plugin just fine on this dongle.

Which of the three modes do you use the Yacht Designs YDN-02 in? There is 0183, RAW, and N2K.
cas206 is offline   Reply With Quote
Old 17-12-2023, 16:18   #53
Registered User

Join Date: Aug 2023
Posts: 8
Re: About the AutoTrackRaymarine Plugin

He has to have used N2k. That's the only protocol that the EV1 talks. (seatalkng being electrically the same as n2k, with some additional packet formats)
dwynalda is offline   Reply With Quote
Old 18-12-2023, 11:25   #54
Registered User

Join Date: Oct 2023
Posts: 18
Re: About the AutoTrackRaymarine Plugin

Quote:
Originally Posted by cas206 View Post
Which of the three modes do you use the Yacht Designs YDN-02 in? There is 0183, RAW, and N2K.
There's also an "Auto" mode which is the state that it shipped in. I did not change anything so it's running in Auto which is what the manual recommends. I just checked my YD Firmware Version is 1.25 which is what it shipped with (purchased late October 2023).

And as noted OpenCPN connection is set to SERIAL & NMEA2000

Yacht Devices Downloads - Manual PDF and Firmwares: https://www.yachtd.com/downloads/#ydnuman
They're showing firmware at ver 1.7 now but I didn't bother updating from 1.25 as the unit is working right now... if it works..
Rick Welin is offline   Reply With Quote
Old 18-12-2023, 11:39   #55
Registered User

Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
Images: 4
Re: About the AutoTrackRaymarine Plugin

Quote:
Originally Posted by Rick Welin View Post
There's also an "Auto" mode which is the state that it shipped in. I did not change anything so it's running in Auto which is what the manual recommends. I just checked my YD Firmware Version is 1.25 which is what it shipped with (purchased late October 2023).

And as noted OpenCPN connection is set to SERIAL & NMEA2000

Thanks. Mine is set to AUTO and I looked at the output in PuTTY (terminal emulator) and it contained 0183 text strings. Using PuTTY apparently triggered 0183 mode. I'll be trying it again with newer OpenCPN with N2K support and see what it gets.
cas206 is offline   Reply With Quote
Old 18-12-2023, 11:42   #56
Registered User

Join Date: Oct 2023
Posts: 18
Re: About the AutoTrackRaymarine Plugin

Yes, I think that is the key. The latest OpenCPN with N2K. I think I saw somewhere that YD also auto-converts 183/2000 on the fly so that may be why you're seeing that.
Rick Welin is offline   Reply With Quote
Old 18-12-2023, 11:51   #57
Registered User

Join Date: Oct 2023
Posts: 18
Re: About the AutoTrackRaymarine Plugin

Oh and I also un-installed / re-installed the AutoTrack plugin after updating OpenCPN. (Even though it was the same build). That was when it started working properly

And the plugin literature states you need to assign the COM port in plugin preferences but that option doesn't show so I just set the the rudder angle max error and saved.
Rick Welin is offline   Reply With Quote
Old 18-12-2023, 12:28   #58
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Re: About the AutoTrackRaymarine Plugin

Quote:
Originally Posted by dwynalda View Post
He has to have used N2k. That's the only protocol that the EV1 talks. (seatalkng being electrically the same as n2k, with some additional packet formats)
Any decent 0183 converter to n2k converter will convert the 0183 sentences to the n2k PGNs. I have used both a yacht devices ydwg-02 and an antisense ngw for this.

I am currently using the ydwg-02 direct to OPCN and it works fine. The autopilot is something that has worked fine and simply for years with OCPN, and seems to have only become complicated and convoluted with n2k and signalk. It is surprising that support isn't better because even though some of the PGNs are proprietary, it is no secret what they are.

I am still waiting for OCPN to consider supporting n2k over ethernet. I think it is absurd that support isn't there, given how popular tablets are, and that I moved away from USB connections to my laptop years ago. But alas, the developers are adamantly against it.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 18-12-2023, 14:33   #59
Registered User

Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
Images: 4
Re: About the AutoTrackRaymarine Plugin

I can confirm that the YDNU-02(RM) is being put into N2K mode when OpenCPN is setup as a NMEA2000 connection. The same data was shown in the Debug Window for both "AUTO" mode of the YDNU and when I explicitly put it in N2K mode.
cas206 is offline   Reply With Quote
Old 18-12-2023, 21:16   #60
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: About the AutoTrackRaymarine Plugin

Wholybee...


re:
"But alas, the developers are adamantly against it."


A bit overstated. We simply do not have any industry consensus about what is the "correct", or even "useful", format for encapsulating N2K data in TCP/IP packets.


What we see is the Yacht Devices "RAW" format, which seems to be YD proprietary. It is well documented, and open to any/all developers to implement. It is not a great protocol, but can be made to work.And that seems to be all there is for N2K over TCP/IP.


I own a YDEN02, and we have built prototypes of the required RAW OCPN interface drivers in POC state.




We have no other information, such as:
1. Are any other gateway vendors using, or likely to be using, the YD RAW format?
2. Are there any other formats to consider?


While maybe we would not be opposed to building a point solution for you, would anyone else use it? Would it be useful to users owning any other N2K gateways?


These questions must be discussed before we embark on production-worthy implementation. Any further info or insight that you can provide will be appreciated.


Thanks
Dave
bdbcat is offline   Reply With Quote
Reply

Tags
marine, plug, plugin, raymarine


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
Plugin: DashBoard SethDart OpenCPN 644 02-04-2024 16:55
No o-chart plugin in option/plugin Semich OpenCPN 1 16-05-2022 08:12
[Plugin] How to start developping a plugin thousand_sunny OpenCPN 3 29-09-2020 09:10
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56

Advertise Here


All times are GMT -7. The time now is 10:42.


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.