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 GPS and Windvane
#5
pypilot can receive nmea data on port 20220. It will always ignore messages with bad checksums.

Messages received by serial ports are output over tcp at a max rate of 2 times a second.
Messages received by tcp are not relayed to tcp or serial, they are only used internally.

In either case, messages are used internally by pypilot at the full rate. So yes, you would need a valid checksum on the wind sentence for the wind source to work.


If it was relaying gps data already, then I'm pretty sure the problem for wind is a failed checksum which is silently ignored. You should try sending the wind sentence to port 20220, but keep in mind, it will only be used by pypilot, and not retransmitted over tcp to other connections. It would be possible to change the behavior quite easily by modifying nmea.py.

Try configuring your serial ports to "none" in openplotter, and add them just in opencpn. You should have wind and gps data in opencpn, and you can add a tcp connection to 20220, and be sure to checkbox for "output as nmea repeater or autopilot". Now pypilot gets the wind or gps from opencpn.


Let me know what you you tried, what you expect it to do, what you think it should do differently and we can improve things.
Reply


Messages In This Thread
Pypilot GPS and Windvane - by quetzal - 2018-06-21, 01:46 PM
RE: Pypilot GPS and Windvane - by Sailoog - 2018-06-21, 05:40 PM
RE: Pypilot GPS and Windvane - by quetzal - 2018-06-21, 05:44 PM
RE: Pypilot GPS and Windvane - by Sailoog - 2018-06-21, 05:48 PM
RE: Pypilot GPS and Windvane - by seandepagnier - 2018-06-21, 10:21 PM
RE: Pypilot GPS and Windvane - by quetzal - 2018-06-22, 11:05 AM
RE: Pypilot GPS and Windvane - by seandepagnier - 2018-06-22, 01:59 PM
RE: Pypilot GPS and Windvane - by quetzal - 2018-06-22, 03:13 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)