This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pypilot disconnected at startup - Steps toward troubleshooting?
#8
Thanks Sean, tried it:


Code:
pi@openplotter:~ $ sudo killall python
pi@openplotter:~ $ python /usr/local/bin/pypilot
loading servo calibration /home/pi/.pypilot/servocalibration
WARNING: using default servo calibration!!
failed to open special file /dev/watchdog0 for writing:
autopilot cannot strobe the watchdog
connected to gpsd
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Using fusion algorithm Kalman STATE4
IMU Name: LSM9DS1
min/max compass calibration not in use
Using ellipsoid compass calibration
Accel calibration not in use
LSM9DS1 init complete
autopilot failed to read imu at time: 1585061836.82
busy, try again later {u'path': u'/dev/ttyOP_uno', u'bauds': [38400]} servo
busy, try again later {'path': '/dev/ttyOP_uno', 'bauds': [38400, 4800]} nmea0
nmea source for gps source gpsd 1585061837.68
busy, try again later {'path': '/dev/ttyOP_uno', 'bauds': [38400]} servo
nmea client connected
listening on port 20220 for nmea connections
busy, try again later {u'path': u'/dev/ttyOP_uno', u'bauds': [38400]} servo
busy, try again later {'path': '/dev/ttyOP_uno', 'bauds': [38400]} servo
busy, try again later {u'path': u'/dev/ttyOP_uno', u'bauds': [38400]} servo
busy, try again later {'path': '/dev/ttyOP_uno', 'bauds': [38400]} servo
busy, try again later {u'path': u'/dev/ttyOP_uno', u'bauds': [38400]} servo
busy, try again later {'path': '/dev/ttyOP_uno', 'bauds': [38400]} servo
busy, try again later {u'path': u'/dev/ttyOP_uno', u'bauds': [38400]} servo
busy, try again later {'path': '/dev/ttyOP_uno', 'bauds': [38400]} servo
^Cgot signal 2 cleaning up
got signal 2 cleaning up
got signal 2 cleaning up
got signal 2 cleaning up
got signal 15 cleaning up
got signal 15 cleaning up
got signal 15 cleaning up
Traceback (most recent call last):
 File "/usr/local/bin/pypilot", line 11, in <module>
   load_entry_point('pypilot==0.1', 'console_scripts', 'pypilot')()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/basic_autopilot.py", line 108, in main
Process NmeaBridgeProcess-5:
   ap.run()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 180, in run
Traceback (most recent call last):
Process Process-3:
 File "/usr/lib/python2.7/multiprocessing/process.py", line 261, in _bootstrap
   self.iteration()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 346, in iteration
Traceback (most recent call last):
 File "/usr/lib/python2.7/multiprocessing/process.py", line 261, in _bootstrap
   time.sleep(dt)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
   util._exit_function()
 File "/usr/lib/python2.7/multiprocessing/util.py", line 294, in _exit_function
got signal atexit cleaning up
Process Process-1:
   util._exit_function()
Traceback (most recent call last):
   def _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers,
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
 File "/usr/lib/python2.7/multiprocessing/process.py", line 261, in _bootstrap
got signal 2 cleaning up
 File "/usr/lib/python2.7/multiprocessing/util.py", line 294, in _exit_function
Process GpsProcess-4:
   raise KeyboardInterrupt # to get backtrace on all processes
   util._exit_function()
 File "/usr/lib/python2.7/multiprocessing/util.py", line 303, in _exit_function
   def _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers,
Traceback (most recent call last):
KeyboardInterrupt
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
 File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
   info('process shutting down')
 File "/usr/lib/python2.7/multiprocessing/util.py", line 76, in info
   def info(msg, *args):
   self.run()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
 File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
   raise KeyboardInterrupt # to get backtrace on all processes
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/gpsdpoller.py", line 62, in gps_process
   self.read(pipe)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/gpsdpoller.py", line 36, in read
KeyboardInterrupt
   gpsdata = self.gpsd.next()
 File "/usr/lib/python2.7/dist-packages/gps/gps.py", line 326, in next
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
   if self.read() == -1:
 File "/usr/lib/python2.7/dist-packages/gps/gps.py", line 312, in read
   status = gpscommon.read(self)
 File "/usr/lib/python2.7/dist-packages/gps/client.py", line 84, in read
   frag = self.sock.recv(4096)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 17 cleaning up
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
 File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
   func(*targs, **kargs)
 File "/usr/lib/python2.7/multiprocessing/util.py", line 325, in _exit_function
got signal 17 cleaning up
Error in sys.exitfunc:
Traceback (most recent call last):
 File "/usr/lib/python2.7/atexit.py", line 30, in _run_exitfuncs
   traceback.print_exc()
 File "/usr/lib/python2.7/traceback.py", line 233, in print_exc
   print_exception(etype, value, tb, limit, file)
 File "/usr/lib/python2.7/traceback.py", line 125, in print_exception
   print_tb(tb, limit, file)
 File "/usr/lib/python2.7/traceback.py", line 69, in print_tb
   line = linecache.getline(filename, lineno, f.f_globals)
 File "/usr/lib/python2.7/linecache.py", line 14, in getline
   lines = getlines(filename, module_globals)
 File "/usr/lib/python2.7/linecache.py", line 41, in getlines
   return updatecache(filename, module_globals)
 File "/usr/lib/python2.7/linecache.py", line 84, in updatecache
   stat = os.stat(fullname)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 2 cleaning up
Process Process-2:
Traceback (most recent call last):
 File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
   self.run()
 File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 438, in CalibrationProcess
   p = points.recv(1)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 35, in recv
   if self.pollin.poll(1000.0*timeout):
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 93, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Reply


Messages In This Thread
RE: pypilot disconnected at startup - Steps toward troubleshooting? - by jamos.tan@gmail.com - 2020-03-24, 04:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)