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
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