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
Raspberry pi 5 and OP4
#5
(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


Reply


Messages In This Thread
Raspberry pi 5 and OP4 - by partyvi - 2024-02-14, 03:46 AM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-14, 07:35 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-14, 04:18 PM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-15, 05:54 AM
RE: Raspberry pi 5 and OP4 - by mgrouch - 2024-02-15, 05:50 PM
RE: Raspberry pi 5 and OP4 - by pxNav - 2024-02-16, 08:09 AM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-17, 05:18 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-18, 02:52 PM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-19, 04:38 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-19, 05:03 AM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-19, 08:52 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-23, 06:53 AM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-23, 09:23 AM
RE: Raspberry pi 5 and OP4 - by Max1947 - 2024-02-23, 11:55 AM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-25, 01:14 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-26, 06:21 PM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-27, 02:59 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-02-27, 05:04 PM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-02-27, 08:17 PM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-03-03, 08:20 PM
RE: Raspberry pi 5 and OP4 - by seandepagnier - 2024-03-04, 05:28 AM
RE: Raspberry pi 5 and OP4 - by partyvi - 2024-03-05, 03:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)