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
Pypilote Opencpn compass conection doesn't work
#8
I think I almost have this configured. I have in the http://localhost:3000/@signalk/instrumentpanel/  dashboard yaw, pitch, and roll data which  I know is from pypilot UDP set to autopilot

pi@openplotter:~ $ nc -u -l 20220
{"updates":[{"$source":"OpenPlotter.I2C.pypilot","values":[{"path": "navigation.attitude","value":{"roll":-0.005427974123,"pitch":-0.0029496065170000006,"yaw":null}}]}]}

I also can see NMEA0183 data on TCP port 20220

pi@openplotter:~ $ nc 127.0.0.1  20220
$APXDR,A,-0.179,D,PTCH*59
$APXDR,A,-0.291,D,ROLL*4E
$APHDM,270.337,M*31
$GPGSA,M,3,28,17,30,19,06,01,03,07,22,11,,,2.3,1.0,2.0*38

In the  SignalK interface http://localhost:3000/admin/#/dashboard under Server->Connections I added the UDP and the TCP connections

Input Type: NMEA0183
Enabled: yes
ID: pypilot-tcp
NMEA0183 Source: TCP Client
Host: localhost
port 10110

the same for the  UDP port

Input Type: Signal K
Enabled: yes
Logging: no
SignalK source: UDP
Port: 20220

and pressed apply. I then can see these connections

ID             Input Type   Enabled Logging
pypilot-tcp     NMEA0183    Yes        No
pypilot-udp     SignalK     Yes        No

Restarting SignalK. And I get the only the three metrics from UDP but no metrics for the NMEA data.  Running OpenPlotter "Check System", I still get:

"Please enable a Signal K connection for Pypilot NMEA 0183 data"

The SignalK plugin @signalk/signalk-to-nmea0183 is installed but I dont want to output NMEA just want NMEA metrics in SignalK. Above there is discussion about translating NMEA to Signal K, but I'm not following it if that is what needs to happen.
Reply


Messages In This Thread
RE: Pypilote Opencpn compass conection doesn't work - by diyc235 - 2020-01-29, 04:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)