2019-07-14, 05:22 PM
(This post was last modified: 2019-07-14, 05:23 PM by seandepagnier.)
If would be best to study the current 4 implementations to see how they communicate. They all use port 21311:
1) pypilot/ui/autopilot_control.py - python control client
2) pypilot/lcd/lcd.py - spi lcd, gpio keypad and ir remote
3) pypilot/webapp/webapp.py - python/javascript control from website, web interface for pypilot using web sockets
4) pypilot_pi - opencpn plugin for pypilot. This reimplements all of the communication in c++.
I would pick which one of the above most closely matches your goals to read the source code first.
1) pypilot/ui/autopilot_control.py - python control client
2) pypilot/lcd/lcd.py - spi lcd, gpio keypad and ir remote
3) pypilot/webapp/webapp.py - python/javascript control from website, web interface for pypilot using web sockets
4) pypilot_pi - opencpn plugin for pypilot. This reimplements all of the communication in c++.
I would pick which one of the above most closely matches your goals to read the source code first.