2020-06-16, 02:41 PM
There should be two serial ports with moitessier hat. The hat itself creates a serial port which is really data from the ais receiver over SPI pins. The other serial port (/dev/ttyAMA0) is the same as always but must be the hardware serial port with bluetooth disabled. This port is used for the motor controller.
If the moitessier hat port goes to pypilot as well the AIS will be dropped (this was just fixed last week)
If the moitessier hat instead goes to signalk node, then you will need to somehow get the gps info back to pypilot. The latest pypilot also automatically detects signalk node server and sends/receives wind, gps, rudder and a few others. This is also only in git and not well tested.
The third options is to assign the moitessier hat serial port to gpsd. Now opencpn should get ais/gps from gpsd, and pypilot automaticaly will use gpsd. I'm not sure if signalk node can get gps/ais from gpsd though.
If the moitessier hat port goes to pypilot as well the AIS will be dropped (this was just fixed last week)
If the moitessier hat instead goes to signalk node, then you will need to somehow get the gps info back to pypilot. The latest pypilot also automatically detects signalk node server and sends/receives wind, gps, rudder and a few others. This is also only in git and not well tested.
The third options is to assign the moitessier hat serial port to gpsd. Now opencpn should get ais/gps from gpsd, and pypilot automaticaly will use gpsd. I'm not sure if signalk node can get gps/ais from gpsd though.