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 and openCPN 5.2. The SignalK HDM message does not show a heading predictor.
#1
Hi all,

With the new season rapidly approaching i thought I would update my Openplotter to v2.

As i was preparing the installation an my desk i noticed that the HDM message from signalK is shown in openCPN but that it does not generate a heading predictor on the map. True heading is nevertheless calculated from the HDM and the World Magnetic Variation plugin.

Investigating further i found that when I configure pyPilot as autopilot (not compass only) the messages are as NMEA0183 forwarded to TCP port 20220. If i make a TCP connection in openCPN the heading predictor is shown.

Am i doing it all wrong? Is there a better way to generate the NMEA0183 messages for openCPN?

Thanks,

Koen.
Reply
#2
This way works, and it should also work via signalk if you grant pypilot write permissions.
Reply
#3
Hi Seandepagnier,

"This way works" What are you actually refering to?

1. If PyPilot is configured compass only, signalK messages are indeed forwarded and read by OpenCPN, but there is no heading predictor shown on the map in OpenCPN. The OpenCPN manual clearly states that "if the NMEA message HDT is present a heading predictor is shown. If HDT is not present and WMV plugin is enabled the HDT is calculated from HDM (if available)" However The NMEA messages aren't present when PyPilot is "compass only". SignalK's HDT & HDM are shown in a dashboard but there is no heading predictor.

2. If Pypilot is set to autopilot i get the heading predictor and the NMEA messages but no signalK delta's for pitch, roll and heading.

Which of both method's is preferred? And How can I forward NMEA0183 messages from SignalK delta's?

Kind regards,
Koen.
Reply
#4
my guess is that in compass only mode the older translation to signalk is being used, and in autopilot mode, the nmea0183 is being used, but in either case pypilot is not directly talking to signalk

It's impossible to know without looking at the log file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)