bakalolo Geschrieben May 3, 2019 at 00:47 Share Geschrieben May 3, 2019 at 00:47 Hi. I 'm getting error messages when running bricker viewer with my IMU brick 2.0 connected. Error message as followed and I made a screenshot attached. Traceback (most recent call last): File "/usr/share/brickv/plugin_system/plugins/imu_v2/imu_v2_gl_widget.py", line 163, in initializeGL gl.glClearDepth(1.0) AttributeError: 'QOpenGLFunctions_ES2' object has no attribute 'glClearDepth' I have used the following terminal commands to install brick viewer in this exact order: 1. Install Brick Daemon $ sudo apt-get install libusb-1.0-0 libudev0 pm-utils $ wget http://download.tinkerforge.com/tools/brickd/linux/brickd_linux_latest_armhf.deb $ sudo dpkg -i brickd_linux_latest_armhf.deb 2. Install Brick Viewer (for python only) $ sudo apt-get install python3 python3-pyqt5 python3-pyqt5.qtopengl python3-serial $ wget http://download.tinkerforge.com/tools/brickv/linux/brickv_linux_latest.deb $ sudo dpkg -i brickv_linux_latest.deb Please advise. Thank you. [/img] Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
rtrbt Geschrieben May 3, 2019 at 10:09 Share Geschrieben May 3, 2019 at 10:09 Hi, can you please try the attached version of Brick Viewer? The problem seems to be, that the IMU 2.0 3D rendering uses the (very old) immediate mode, which is only supported by OpenGL, not OpenGLES. The Raspberry Pi does not support OpenGL, so we can't render the 3D model, which was not handled. I will rewrite the rendering to use more modern OpenGL capabilities, which are also supported by OpenGLES. But for now, you can use the attached version, which disables the 3D rendering if only OpenGLES is available. Thanks for reporting the bug, Erikbrickv-2.4.2_all_opengl_fix.deb Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
rtrbt Geschrieben May 10, 2019 at 14:53 Share Geschrieben May 10, 2019 at 14:53 In Brick Viewer 2.4.3 the 3D rendering is working with OpenGLES (i.e. on the Raspberry Pi). Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
bakalolo Geschrieben May 14, 2019 at 23:49 Autor Share Geschrieben May 14, 2019 at 23:49 2.4.3 fixed the issue didn't have to do anything else. Thanks for help. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.