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 setup procedure?
#10
Oh yeah, even I could have maybe, eventually figured out that error. The python3 commands executed.  No change in Pypilot’s access to imu. I’m not getting an access control request. When I make the connections manually in Pypilot they show up in Signal K but now there’s a new error. See screen shot. Terminal dump is without the connections added in Pypilot. 

   

pi@openplotter:~ $ pypilot
imu process 1926
nmea process 1931
listening on port 20220 for nmea connections
loading servo calibration /home/pi/.pypilot/servocalibration
gps process 1933
WARNING: using default servo calibration!!
Loaded Pilots: ['learning', 'basic', 'absolute', 'simple']
warning: failed to open special file /dev/watchdog0 for writing
         cannot stroke the watchdog
made imu process realtime
Using settings file RTIMULib.ini
Settings file RTIMULib.ini loaded
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
pypilotServer process 1937
failed to load /home/pi/.pypilot/pypilot.conf not enough values to unpack (expected 2, got 1)
backup data failed as well not enough values to unpack (expected 2, got 1)
server setup has 5 pipes
I2C read error from 12, 16 - Failed to read compass fuse ROM
ERROR: IMU Init Failed, no inertial data available 136.62964182
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.24-py3.7-linux-armv7l.egg/pypilot/boatimu.py", line 128, in process
    data = self.read()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/boatimu.py", line 158, in read
    if not self.rtimu.IMURead():
AttributeError: 'IMU' object has no attribute 'rtimu'
Traceback (most recent call last):
  File "/usr/local/bin/pypilot", line 11, in <module>
    load_entry_point('pypilot==0.24', 'console_scripts', 'pypilot')()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 386, in main
    ap.iteration()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 324, in iteration
    time.sleep(pd10)
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.24-py3.7-linux-armv7l.egg/pypilot/autopilot.py", line 169, in cleanup
    raise KeyboardInterrupt # to get backtrace on all processes
KeyboardInterrupt
closing autopilot
terminate calibration process
Reply


Messages In This Thread
Pypilot setup procedure? - by SimonLew - 2021-03-19, 02:23 AM
RE: Pypilot setup procedure? - by ironman - 2021-03-19, 07:08 AM
RE: Pypilot setup procedure? - by ironman - 2021-03-19, 10:51 AM
RE: Pypilot setup procedure? - by hreuver - 2021-03-19, 12:24 PM
RE: Pypilot setup procedure? - by ironman - 2021-03-19, 04:23 PM
RE: Pypilot setup procedure? - by ironman - 2021-03-19, 06:14 PM
RE: Pypilot setup procedure? - by seandepagnier - 2021-03-19, 07:18 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-19, 10:00 PM
RE: Pypilot setup procedure? - by ironman - 2021-03-19, 10:32 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-20, 12:18 AM
RE: Pypilot setup procedure? - by ironman - 2021-03-20, 01:09 AM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-20, 02:16 AM
RE: Pypilot setup procedure? - by ironman - 2021-03-20, 07:18 AM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-20, 02:36 PM
RE: Pypilot setup procedure? - by xfactor99 - 2021-03-20, 03:56 PM
RE: Pypilot setup procedure? - by hreuver - 2021-03-20, 04:25 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-20, 05:02 PM
RE: Pypilot setup procedure? - by ironman - 2021-03-20, 10:01 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-20, 10:22 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-21, 03:20 PM
RE: Pypilot setup procedure? - by seandepagnier - 2021-03-21, 04:24 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-21, 08:37 PM
RE: Pypilot setup procedure? - by seandepagnier - 2021-03-22, 07:51 PM
RE: Pypilot setup procedure? - by SimonLew - 2021-03-31, 03:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)