2024-02-15, 05:50 PM
(2024-02-15, 05:54 AM)partyvi Wrote: I had to install two additional packages to start pypiton (for now) on RPI5 + OP4
sudo apt-get install python3-importlib-metadata
sudo apt install python3-flask-socketio
Pypilot - Looks working well, but i need to "friend" it to signalK, PLEASE HELP.
Pipilot_control - Looks working well. No issues found so far.
Pypilot_web - works well. No issues found so far.
pipilot_calibration -- crashes with this traceback. Any ideas?
pi@openplotter:~ $ pypilot_calibration
Traceback (most recent call last):
File "/usr/local/bin/pypilot_calibration", line 33, in <module>
sys.exit(load_entry_point('pypilot==0.49', 'console_scripts', 'pypilot_calibration')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pypilot/ui/autopilot_calibration.py", line 428, in main
CalibrationDialog().ShowModal()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pypilot/ui/autopilot_calibration.py", line 29, in __init__
super(CalibrationDialog, self).__init__(None)
File "/usr/local/lib/python3.11/dist-packages/pypilot/ui/autopilot_control_ui.py", line 412, in __init__
self.m_panel4.SetSizer( fgSizer22 )
wx._core.wxAssertionError: C++ assertion "CheckExpectedParentIs(w, m_containingWindow)" failed at ./src/common/sizer.cpp(887) in SetContainingWindow(): Windows managed by the sizer associated with the given window must have this window as parent, otherwise they will not be repositioned correctly.
Please use the window wxPanel@0xa083000 ("panel") with which this sizer is associated, as the parent when creating the window wxGLCanvas@0x9f4b800 ("GLCanvas") managed by it.
Exception ignored in: <function CalibrationDialogBase.__del__ at 0x7fff420936a0>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/pypilot/ui/autopilot_control_ui.py", line 953, in __del__
self.m_notebook.Unbind( wx.EVT_NOTEBOOK_PAGE_CHANGED, None )
File "/usr/lib/python3/dist-packages/wx/core.py", line 1493, in _EvtHandler_Unbind
return event.Unbind(self, id, id2, handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/wx/core.py", line 1562, in Unbind
success += int(target.Disconnect(id1, id2, et, handler))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: wrapped C/C++ object of type Notebook has been deleted
While you are waiting for OP. You can try released version of BBN where it works.
https://github.com/bareboat-necessities/...24-02-12.1
Download BBN Marine OS for raspberry pi
https://bareboat-necessities.github.io/m...at-os.html
Video of actual installation:
https://www.youtube.com/watch?v=3zMjUs2X3qU
https://bareboat-necessities.github.io/m...at-os.html
Video of actual installation:
https://www.youtube.com/watch?v=3zMjUs2X3qU