If pypilot fails to run properly, it is possible to get much more debugging information.
First completely disable the autotpilot from the openplotter gui.
w $ ps aux | grep python
Make sure there is no pypilot running. You can usually kill it with
$ killall python3
Take care because this command will kill all python processes On tinypilot ensure it doesn't respawn:
sudo sv d pypilot
On openplotter:
sudo service pypilot stop
Verify pypilot is not running:
ps aux | grep python
Now, to test only the imu sensors to ensure they are working correctly
$ pypilot_boatimu
You should see pitch roll yaw working. Stop with Ctrl-c
To test the motor controller
$ pypilot_servo
You should see voltage current etc. Stop again with Ctrl-c
Finally, try
$ pypilot
If there are still no errors the autopilot should be working. Leaving this command running, in another terminal try:
$ pypilot_control $ pypilot_calibration
If these fail to connect for some reason, pass them 127.0.0.1 (one time should be enough after that they remember)
$ pypilot_calibration 127.0.0.1
Report any errors or issues to the forum