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
IMU Calibration Issue
#1
I have been a long time user of Openplotter but have recently run into an issue that I am struggling with.

My problem is that the calibration program is not working for my IMU, which is a BerryIMU, it is an older version 1.6 but I have never had issues with it before.

I have previously been able to calibrate it using the PyPilot program, but after a recent fresh install of openplotter it has not been working.  When I hit the calibration button on the PyPilot screen in (ver 2.2.1) nothing happens.  I have also attempted to run pypilot_calibration from the terminal and it crashes, I will post the screen print below.

I have uninstalled and reinstalled PyPilot from the Openplotter settings screen but this did not help.  I have done a lot of searching but cannot find a solution, any help solving this would be greatly apreciated.

Printout of pypilot_calibration messages:-

pi@openplotter:~ $ pypilot_calibration
Traceback (most recent call last):
  File "/usr/local/bin/pypilot_calibration", line 11, in <module>
    load_entry_point('pypilot==0.16', 'console_scripts', 'pypilot_calibration')()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/ui/autopilot_calibration.py", line 427, in main
    CalibrationDialog().ShowModal()
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/ui/autopilot_calibration.py", line 32, in __init__
    super(CalibrationDialog, self).__init__(None)
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/ui/autopilot_control_ui.py", line 333, in __init__
    self.m_panel4.Layout()
wx._core.wxAssertionError: C++ assertion "m_widget" failed at ../src/gtk/window.cpp(2857) in DoSetSize(): invalid window
Exception ignored in: <function CalibrationDialogBase.__del__ at 0xab04a810>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/pypilot-0.16-py3.7-linux-armv7l.egg/pypilot/ui/autopilot_control_ui.py", line 837, in __del__
    self.m_notebook.Unbind( wx.EVT_NOTEBOOK_PAGE_CHANGED, None )
  File "/usr/lib/python3/dist-packages/wx/core.py", line 1416, in _EvtHandler_Unbind
    return event.Unbind(self, id, id2, handler)
  File "/usr/lib/python3/dist-packages/wx/core.py", line 1485, in Unbind
    success += int(target.Disconnect(id1, id2, et, handler))
RuntimeError: wrapped C/C++ object of type Notebook has been deleted
Reply


Messages In This Thread
IMU Calibration Issue - by Gambol - 2020-12-04, 10:08 AM
RE: IMU Calibration Issue - by seandepagnier - 2020-12-04, 10:20 PM
RE: IMU Calibration Issue - by Gambol - 2020-12-05, 04:05 AM
RE: IMU Calibration Issue - by Gambol - 2020-12-06, 12:41 AM
RE: IMU Calibration Issue - by Gambol - 2020-12-06, 11:17 AM
RE: IMU Calibration Issue - by seandepagnier - 2020-12-06, 08:02 PM
RE: IMU Calibration Issue - by Gambol - 2020-12-06, 10:57 PM
RE: IMU Calibration Issue - by SHAKA59 - 2021-01-23, 09:27 PM
RE: IMU Calibration Issue - by SHAKA59 - 2021-01-25, 01:21 PM
RE: IMU Calibration Issue - by seandepagnier - 2021-01-26, 02:36 AM
RE: IMU Calibration Issue - by SHAKA59 - 2021-01-26, 03:10 PM
RE: IMU Calibration Issue - by Andreas29 - 2021-01-26, 04:07 PM
RE: IMU Calibration Issue - by seandepagnier - 2021-01-27, 11:03 AM
RE: IMU Calibration Issue - by Andreas29 - 2021-01-27, 07:47 PM
RE: IMU Calibration Issue - by SHAKA59 - 2021-01-31, 04:04 PM
RE: IMU Calibration Issue - by Tiki26 - 2021-04-24, 10:32 AM
RE: IMU Calibration Issue - by ealtson - 2021-07-02, 01:06 AM
RE: IMU Calibration Issue - by seandepagnier - 2021-07-02, 10:23 PM
RE: IMU Calibration Issue - by Vercinget0rix - 2021-08-19, 12:44 PM
RE: IMU Calibration Issue - by seandepagnier - 2021-08-19, 07:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)