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
Autopilot route plugin
#32
(2020-08-10, 07:23 PM)seandepagnier Wrote: saturation basically means the command is greater than what can be achieved.   It is really impossible to know the cause of this without more information.  Did the autopilot disengage on its own?   If you had the log when this happened it also may give a lot of clues.

Here is the log of a pypilot crash event? 
It behaves differently running from command line. It does not reconnect... because pypilot does not restart. I am not sure why it says keyboard interrupt... the keyboard was not touched.


Code:
sing fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
autopilot failed to read imu at time: 1597244041.7971854
autopilot failed to read imu at time: 1597244041.938901
MPU-925x init complete
autopilot failed to read imu at time: 1597244042.0817912
MPU-925x fifo has invalid count
failed to read IMU!!!!!!!!!!!!!!
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
autopilot failed to read imu at time: 1597244098.5111096
autopilot failed to read imu at time: 1597244098.653065
autopilot failed to read imu at time: 1597244098.7959723
MPU-925x init complete
autopilot failed to read imu at time: 1597244098.9382255
Process Process-2:
Traceback (most recent call last):
 File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
   self.run()
 File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 624, in CalibrationProcess
   compass_cal.AddPoint(p['compass'], p['down'])
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 428, in AddPoint
   if total < mind:
TypeError: '<' not supported between instances of 'complex' and 'float'
got signal 17 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>
Process Process-1:
Process gpsProcess-5:
   load_entry_point('pypilot==0.16', 'console_scripts', 'pypilot')()
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 395, in main
   ap.run()
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 214, in run
   self.iteration()
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 390, in iteration
got signal 15 cleaning up
   time.sleep(dt)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 107, in cleanup
Process NmeaBridgeProcess-4:
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Traceback (most recent call last):
got signal atexit cleaning up
 File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
   self.run()
 File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/pipeserver.py", line 147, in pipe_server_process
   time.sleep(.1)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 107, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Traceback (most recent call last):
 File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
   self.run()
 File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/gpsd.py", line 66, in gps_process
   self.read(pipe)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/gpsd.py", line 39, in read
   gpsdata = self.gpsd.next()
 File "/usr/local/lib/python3.7/dist-packages/gps/gps.py", line 301, in next
   return self.__next__()
 File "/usr/local/lib/python3.7/dist-packages/gps/gps.py", line 292, in __next__
   if self.read() == -1:
 File "/usr/local/lib/python3.7/dist-packages/gps/gps.py", line 281, in read
   status = gpscommon.read(self)
 File "/usr/local/lib/python3.7/dist-packages/gps/client.py", line 115, in read
   frag = self.sock.recv(8192)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 107, 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/python3.7/multiprocessing/popen_fork.py", line 28, in poll
   pid, sts = os.waitpid(self.pid, flag)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 107, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
Traceback (most recent call last):
 File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
   self.run()
 File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/nmea.py", line 702, in process
   time.sleep(dt)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 107, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
got signal 15 cleaning up
Process Process-3:
Traceback (most recent call last):
 File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
   self.run()
 File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/boatimu.py", line 105, in imu_process
   if not rtimu.IMURead():
 File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 107, in cleanup
   raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
closing autopilot
pi@openplotter:~ $
Reply


Messages In This Thread
Autopilot route plugin - by jamos.tan@gmail.com - 2020-07-15, 12:10 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-21, 02:01 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-24, 01:24 AM
RE: Autopilot route plugin - by seandepagnier - 2020-07-24, 01:28 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-24, 02:27 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-24, 03:24 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-24, 03:50 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-25, 02:09 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-25, 03:03 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-30, 02:34 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-30, 05:58 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-30, 08:08 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-30, 10:25 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-31, 06:40 AM
RE: Autopilot route plugin - by rastam4n - 2020-07-31, 06:05 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-31, 09:29 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-01, 01:05 AM
RE: Autopilot route plugin - by rastam4n - 2020-08-01, 07:08 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-02, 07:12 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-02, 09:09 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-07, 10:46 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-08, 02:30 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-08, 10:10 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-10, 07:23 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-10, 08:40 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-12, 10:53 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-12, 04:42 AM
RE: Autopilot route plugin - by seandepagnier - 2020-08-14, 04:43 AM
RE: Autopilot route plugin - by rastam4n - 2020-08-19, 04:40 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-21, 01:58 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-22, 02:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)