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.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python dependency issue?
#1
I think I made a few mistakes switching back and forth with Python versions on openplotter 1.2
Needed Python3 for some other applications, and uninstalled / re-installed different versions of Python3.
My understanding was that Python2 was unaffected, but I think they might shared some libraries / dependancies back and forth.
For example, I needed to re-install "serial" and some others for the correct working of some other script than pypilot.
If I am correct, Openplotter 1.2 uses Python2 for Pypilot.

I now have a problem with autopilot motor responses, it works fine for a few seconds but then stops all together.
I am not sure if this is caused due to my fooling around with Python, but it is not a connection problem for sure.

There are no errors in the GUI, everything is synced. It works for a few seconds, the GUI seems to work fine but the motor just stops moving.
Also, the magnetic compass readings seem to come in very slow. Checked this with the SignalK monitor, but there it works fast as it should.

I found in the readme that Pypilot uses these dependancies:

The dependencies can be installed with 'apt install' or sometimes 'pip install"

server dependencies (required): python-gps python-serial libpython-dev python-numpy python-scipy swig
                    (recommended): ujson pyudev
lcdclient dependencies: python-pil
web dependencies: python-flask python-gevent-websocket

client dependencies (viewers control applications)
apt: python-wxgtk3.0 python-opengl
  or python3-wxgtk4.0 python3-opengl
pip: pyglet pywavefront


But before I start re-installing these, I was wondering if this even could be a cause for my symptoms or should look into another direction.

Regards,

Jamos
  Reply


Messages In This Thread
Python dependency issue? - by jamos.tan@gmail.com - 02-14-2020, 04:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)