User Tools

Site Tools


troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
troubleshooting [2018/09/27 17:42]
73.128.99.196 created
troubleshooting [2020/10/16 13:55] (current)
174.106.182.185
Line 3: Line 3:
 First completely disable the autotpilot from the openplotter gui. First completely disable the autotpilot from the openplotter gui.
  
-[code]+<code>w
 $ ps aux | grep python $ ps aux | grep python
-[/code] +</code> 
-Make sure there is no pypilot running+Make sure there is no pypilot running.  You can usually kill it with 
 +<​code>​ 
 +$ killall python3 
 +</​code>​ 
 +Take care because this command will kill all python processes 
 +On tinypilot ensure it doesn'​t respawn: 
 +<​code>​ 
 +sudo sv d pypilot 
 +</​code>​ 
 +On openplotter:​ 
 +<​code>​ 
 +sudo service pypilot stop 
 +</​code>​ 
 +Verify pypilot is not running: 
 +<​code>​ 
 +ps aux | grep python 
 +</​code>​
  
 +Now, to test only the imu sensors to ensure they are working correctly
 +<​code>​
 $ pypilot_boatimu $ pypilot_boatimu
 +</​code>​
  
-You should see pitch roll yaw working +You should see pitch roll yaw working.  Stop with Ctrl-c
- +
-next try:+
  
 +To test the motor controller
 +<​code>​
 $ pypilot_servo $ pypilot_servo
 +</​code>​
 +You should see voltage current etc.  Stop again with Ctrl-c
  
-You should see voltage current etc +Finally, ​try 
- +<​code>​
-next try: +
 $ pypilot $ pypilot
 +</​code>​
  
- +If there are still no errors ​the autopilot should be working. ​ Leaving this command running, in another terminal try: 
-If there are still no errors, in another terminal try: +<​code>​
 $ pypilot_control $ pypilot_control
 $ pypilot_calibration $ pypilot_calibration
 +</​code>​
  
-etc... 
 If these fail to connect for some reason, pass them 127.0.0.1 (one If these fail to connect for some reason, pass them 127.0.0.1 (one
 time should be enough after that they remember) time should be enough after that they remember)
 +<​code>​
 $ pypilot_calibration 127.0.0.1 $ pypilot_calibration 127.0.0.1
 +</​code>​
  
- +Report ​any errors or issues to the [[http://​forum.openmarine.net/​forumdisplay.php?​fid=17|forum]]
-Let me know how it goes, and if you get any error messages.+
troubleshooting.1538070135.txt.gz · Last modified: 2018/09/27 17:42 by 73.128.99.196