2022-04-24, 01:58 PM
The pypilot_hat service reads from the gpio pins as well as many other functions. So without an alternative script , you will need the pypilot_hat service even if you dont have pypilot hat hardware or arduino. It typically will try to detect the arduino and if it is not found, proceed without it (and remote control reception) The usual way to enable services on debian systems is with systemctl:
sudo systemctl enable pypilot_hat
sudo systemctl start pypilot_hat
For debugging you can "disable" and "stop" the service. If you are able to link the key to the action, does it display the action programmed on localhost:33333? Does it show a connection to the autopilot? Is pypilot service also running?
If you can show a screenshot and also maybe the output from running pypilot_hat directly? Any hints about connecting?
sudo systemctl enable pypilot_hat
sudo systemctl start pypilot_hat
For debugging you can "disable" and "stop" the service. If you are able to link the key to the action, does it display the action programmed on localhost:33333? Does it show a connection to the autopilot? Is pypilot service also running?
If you can show a screenshot and also maybe the output from running pypilot_hat directly? Any hints about connecting?