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 doesn't work after upgrade
#31
(2019-11-10, 10:16 PM)seandepagnier Wrote: Probably no problem with the cpc5001. Can you boot older openplotter, or try the tinypilot image  to test?   This will tell you if the problem is hardware or not.


With Tinypilot (tinypilot_28062019.img), in SSH, pypilot_calibration return :

Quote: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
MPU-925x init complete
signalk_server: bind failed, try again.2 heading 217.736664713 
failed to read IMU!!!!!!!!!!!!!!37448792 heading 217.826206458 
Using settings file RTIMULib.ini


Pypilot_calibation returns :


Quote:Traceback (most recent call last):
  File "/usr/local/bin/pypilot_calibration", line 9, in <module>
    load_entry_point('pypilot==0.9', 'console_scripts', 'pypilot_calibration')()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/site-packages/ui/autopilot_calibration.py", line 11, in <module>
    import wx, wx.glcanvas
ImportError: No module named wx



and pypilot_control

Quote:  File "/usr/local/lib/python2.7/site-packages/ui/autopilot_control.py", line 10, in <module>
    import wx, sys, subprocess, socket, os, time
ImportError: No module named wx


pypilot_ servo returns :


Quote:Servo Server
loading servo calibration /home/tc/.pypilot/servocalibration
WARNING: using default servo calibration!!
failed to open servo on: (u'/dev/ttyAMA0', 38400) [Errno 16] could not open port /dev/ttyAMA0: [Errno 16] Device or resource busy: '/dev/ttyAMA0'
signalk_server: bind failed, try again.
connected to gpsd
signalk_server: bind failed, try again.
nmea ready for connections
nmea_bridge: bind failed

I might trie to reset and reload the Aduino Nano program ? I connected it in USB but can't understand what is writen in serial monitor betwen 300 and 9600 baud, after serial com is loosen.

Thank's,

Robin
Reply


Messages In This Thread
RE: PyPilot doesn't work after upgrade - by kalle - 2019-01-11, 01:18 PM
RE: PyPilot doesn't work after upgrade - by kalle - 2019-01-11, 02:16 PM
RE: PyPilot doesn't work after upgrade - by kalle - 2019-01-12, 02:10 PM
RE: PyPilot doesn't work after upgrade - by DjelaliTricks - 2019-11-12, 11:50 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)