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 to correctly set up autopilot control using openCPN and USBserial device
#8
(2020-11-18, 02:40 PM)manekineko Wrote:
(2020-11-18, 08:21 AM)PaddyB Wrote: Not sure about outputting serial from signalk but could you delete the autopilot rs422 output in SignalK and create another output in opencpn to the rs422 serial?

Done, AP works and openCPN gets vessel position and AIS targets,

but after that I am missing all data in SignalK ( RS-422 device is the only "data source" and "data sink" in my setup ).

Not good.
Ah, just one serial connection to the Pi and you want everything to come in/out of that? Changes everything, so you want opencpn to output rmb & apb to get send to signalk over UDP then signalk outputs those sentences to the serial connection - better off asking the sigK guys direct - http://slack-invite.signalk.org/
Suspect the input / output events might do it but haven't time to play around at the moment
[Image: tIUM9PH.png]

Think that might work but don't have time to dig out a serial / usb to test, so opencpn outputs to, say, port 10121 UDP, signalk inputs that as sentence event - auto.
Then created a TCP client connection localhost port10123 , output events -AUTO
This connection sends the messages coming in port 10121UDP out tcp.
So from what you've done in post 1 it should output - one for the sigk authors,,

[Image: 7ytz5m9.png]
Reply


Messages In This Thread
RE: How to correctly set up autopilot control using openCPN and USBserial device - by PaddyB - 2020-11-18, 03:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)