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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
openplotter-pypilot 3.x.x beta released
#28
A new openplotter-pypilot 3.2.4-beta has been published with all your changes applied and clean code. Right now the "IMU only" mode does not send data to the Signak k server, let me know what you decided for this and I will apply it to the next version if any change is required in openplotter-pypilot app.

I have found these issues:

A. pypilot_boatimu and pypilot services are writing lots of these entries to syslog even without being enabled:

Sep 25 11:22:29 openplotter systemd[1]: /etc/systemd/system/pypilot.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
Sep 25 11:22:29 openplotter systemd[1]: /etc/systemd/system/pypilot_boatimu.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.

B. pypilot_web is trying to read/write a wrong path for conf file:

Sep 25 11:25:48 openplotter pypilot_web[4075]: os not supported
Sep 25 11:25:48 openplotter pypilot_web[4075]: failed to read config file: /.pypilot/pypilot_client.conf [Errno 2] No such file or directory: '/.pypilot/pypilot_client.conf'


C. This is critical. pypilot_hat is writing a huge amount of these lines when there is not hat detected:

Sep 25 11:29:00 openplotter pypilot_hat[4278]: WARNING Failed to add edge detection
Sep 25 11:29:00 openplotter pypilot_hat[4278]: retrying to setup gpio with edge detect...

D. pypilot_hat is not started at port 33333 when hat is not present, probably related to C.

E. when autopilot is enabled:

Sep 25 11:52:01 openplotter pypilot[138]: ERROR loading wind.py cannot import name 'HeadingOffset' from partially initialized module 'pypilot.autopilot' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/pypilot/autopilot.py)   cannot import name 'HeadingOffset' from partially initialized module 'pypilot.autopilot' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/pypilot/autopilot.py)

EDITED: I have not tested if this serial issue has been fixed, it should be also added to the list: https://forum.openmarine.net/showthread....2#pid23622
Reply


Messages In This Thread
RE: openplotter-pypilot 3.x.x beta released - by Sailoog - 2022-09-25, 12:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)