(2019-07-19, 01:34 AM)partyvi Wrote:(2019-07-14, 05:22 PM)seandepagnier Wrote: 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.
Thanks to everyone.
Hi all. I have the same issue that partyvi.The web interface is not working in my instalation (Rpi 3+, and open plotter, arduino nano motor controller L298N). Buttons reacts but the main page dont upgrade anything.
When I tried in the terminal "pypilot_hat" it answer that not is a command.So until now I can´t make a keypad to control autopilot.
I will apreciate some orientation.
(2019-07-19, 01:34 AM)partyvi Wrote:(2019-07-14, 05:22 PM)seandepagnier Wrote: 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.
Thanks to everyone.
Hi all. I have the same issue that partyvi.The web interface is not working in my instalation (Rpi 3+, and open plotter, arduino nano motor controller L298N). Buttons reacts but the main page dont upgrade anything.
When I tried in the terminal "pypilot_lcd" it answer that not is a command.So until now I can´t make a keypad to control autopilot.
I will apreciate some orientation.