This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I send OpenCPN routes/waypoints to autopilot via Openplotter?
#1
I'm having a bit of trouble setting up Openplotter with OpenCPN to output waypoint sentences to send to my autopilot. 

The autopilot is a Raymarine Evolution connected to an NMEA2000 network. 

I am running Openplotter on a Pi 3B+ and use the Sailoog CAN-USB stick to access the network. It seems that the NMEA2000 data received via the CAN-USB is sent to Singalk then converted to NMEA0183. Is it possible to convert to NMEA200 sentences also?

OpenCPN is run on the same machine as a test. Reading the documentation it seems that I must create a new UDP connection in OpenCPN and output the following sentences $ECRMB, $ECRMC, $ECAPB, $ECXTE. I must also set this new connection as lower priority. 

Since Openplotter and OpenCPN are sharing the same machine, the network address for this new connection should be the localhost i.e. 127.0.0.1 but what should the port be? Where should OpenCPN send this route data in order for Openplotter to then re-broadcast it across my NMEA2000 network? Does it go to Kplex, or Signalk or elsewhere?
Reply
#2
https://www.npmjs.com/package/signalk-ra...-autopilot

https://www.npmjs.com/package/signalk-to-nmea2000
Reply
#3
Thanks.

I have installed these two packages. Should they give me some options somewhere? Looking in Signalk Server Plugin Configuration, I have the Signalk to NMEA01893 tab, but there is not Signalk to NMEA2000 tab.

EDIT: I have OPcan up and running. What connection/port should I be sending route data from OpenCPN too?
Reply
#4
"Signalk to NMEA2000"
did you install it from signalk ?
http://localhost:3000/admin/#/appstore/apps

i just installed it and it shows up
http://localhost:3000/admin/#/serverConf...n/plugins/-
Reply
#5
I had installed it via manually typing 'npm i signalk-to-nmea2000' That's why.

I've now installed both the NMEA200 and Raymarine Autopilot apps via the Signalk App store. I have activated them. There are no documents at all re the Raymarine plugin. The plugin config asks for "Autopilot N2K Device ID". The default is 204. I have left it that.

What is next though? I have an active route in OpenCPN but still when I press 'track' on my autopilot it still says "No data"

I have configured a UDP connection in OpenCPN on 127.0.0.1 and port 10110 and set the following sentences - XTE,ECRMB,ECRMC,ECAPB

That should send NMEA01893 data to Kplex. It looks like this is working as I can see the sentences when I visit the kplex diagnostic tab for both system and Signalk.

So they are getting to Signalk, but from then on I don't seem to have anyway to check what's happening. I can't see any NMEA2000 diagnostics so have no way to know if Signalk is actually outputting the required data, or if the autopilot is receiving it.
Reply
#6
https://opencpn.org/wiki/dokuwiki/doku.p..._autopilot

https://opencpn.org/wiki/dokuwiki/doku.p..._autopilot
Reply
#7
I had already read those. As I have said OpenCPN is broadcasting, but still nothing is getting to the autopilot.

The issue must be somewhere with kplex/signalk
Reply
#8
Unfortunately I'm still stuck on this. Can anyone confirm they have a modern Raymarine Evolution autopilot with SeatalkNG successfully being controlled/sending waypoints etc.. by OpenCPN via Openplotter?

If so, can you kindly list the steps you went through to get it working?
Reply
#9
(2019-03-07, 11:39 PM)mikedeflieslife Wrote: Unfortunately I'm still stuck on this. Can anyone confirm they have a modern Raymarine Evolution autopilot with SeatalkNG successfully being controlled/sending waypoints etc.. by OpenCPN via Openplotter?

If so, can you kindly list the steps you went through to get it working?

Hi, Mike. I have an RPI3B+ and sending information to Evo-200 linear.
I dont have the same Can-bus, mine is a Furuno and teh connection from OCPN is an USB NMEA 0183 inteface, but I do not know if it differ so much. I did my setup in the plotter OCPN where you decide what to transmitt and did not use the K-plex. I also had to make something in the P70 display before I got it to work. Can not remember.
I am not in my boat now but will be comming weekend.
Send me a note if you want to get in contact.

PS. One thing I remember was that I had to go for a trip with the boat to manage to get it going in the end when activating a WP. The autopilote did not react tied up in port DS.

/Olle
Reply
#10
Is it possible to send routes from Opencpn to a Raymarine Evolution AP?
The aim is to auto-advance routes without the need to confirm course changes on every waypoint.

What is the easiest way to achieve this?
Is SignalK needed, or is there a possibility to do this with a Opencpn plugin, only?

Any hints how to configure the feature would be great!

Martin


Gesendet von iPhone mit Tapatalk Pro
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)