Posts: 15
Threads: 3
Joined: Apr 2024
Reputation:
0
Hi,
I see a thread about supporting nmea 2000 for Pypilot and and in the shop "USBN - €25 (+20% VAT) - Isolated NMEA0183-to-USB converter"
What I am wondering is how this gets used by pypilot.
1. Does Pypilot output information onto nmea that for example that my opencpn chartplotter will show?
2. Does Pypilot input data from nmea (gps? compass? or ...)
Thanks
Dave
Posts: 2,685
Threads: 24
Joined: Jun 2016
Reputation:
90
For nmea0183 yes, it can have nmea0183 for both inputs and outputs.
It can also do this through the network to opencpn rather than over the usb converter.
Posts: 2,685
Threads: 24
Joined: Jun 2016
Reputation:
90
Only in the very recently tested wind pilot.
So basically there are multiple "pilots" pypilot can use. This allows for alternate algorithms. The basic pilot uses compass steering primary, and adjusts the compass course in other modes gradually to hold the desired gps or wind angle. The wind pilot does the opposite, so in wind mode it completely ignores the compass, but in compass mode, the wind pilot will gradually adjust the wind angle to hold the compass course. This has limited testing but I did try it a bit.
In any case, how would you use the wind data in compass mode? Perhaps you would be curious enough to implement your own pilot with alternate logic?
Posts: 2,685
Threads: 24
Joined: Jun 2016
Reputation:
90
Yes, you can simply add a new pilot based on an existing one.
Currently the things you mention have not really been explored. Sounding an alarm was implemented in the watchdog plugin of opencpn for example but this is outside of the autopilot.
The ultrasonic wind sensors might not be very accurate especially in low wind speed or heavy rain.
Posts: 225
Threads: 9
Joined: Sep 2020
Reputation:
10
I think Sean also raised the issue of ultrasonic sensors when heeled.
When heeled, conventional sensors always indicate the angle between the wind and the sails because the rotation axis of the wind vane and that of the mast are parallel.
However, with an ultrasonic wind vane, it's really unpredictable.
I tried to get information from a manufacturer, explaining that I wanted to use one of their ultrasonic sensors on a boat that heeled between 30 and 45 degrees. I wanted to get an idea of the error when heeled. They refused to answer me.
I preferred to trust Sean and refrain from connecting such a wind vane to the autopilot.