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
pypilot programmed control (node-red?)
#2
I think, in your case with those specific signalk keys available, your best option is to configure signalk to send RMC and APB messages to pypilot's TCP/20220 socket. To do this, you'd need signalk's 'signalk-to-nmea0183' server plugin from the built-in appstore, configure that plugin to generate RMC and APB messages, then add a Data Connection with NMEA0183 and TCP client settings pointing to pypilot's IP address and TCP/20220 listening socket, and set Output Events to nmea0183out. If pypilot receives those messages, it will enable the GPS mode which will follow a track/route.

The option that you seem to have heard about is related to the pypilot native, internal communication mechanism, that is accessible through some TCP socket and can be talked to through a python pypilot_client. With that, you could in theory get the whole thing working as well, but it's the long way home, not the royal way and it might break in the future, so I would definitely not recommend that.

Another option, that will not work, would be to use the native, zero-conf interface between pypilot and signalk. Pypilot requires steering.autopilot.target.headingTrue, which you don't seem to have in your signalk database.
Reply


Messages In This Thread
RE: pypilot programmed control (node-red?) - by ironman - 2022-12-09, 12:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)