Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

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]

2019-05-02-142828_1920x1080_scrot.thumb.png.737db5dec05ab73f7cd7cae5c2f77e74.png

Geschrieben

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,

Erik

brickv-2.4.2_all_opengl_fix.deb

Geschrieben
  • Autor

2.4.3 fixed the issue didn't have to do anything else.  Thanks for help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.