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

I am using python on red board to get data from brick imu v2. It works fine but I want to set the sensor fusion mode to 2 ( no magnetometer) But I get following error:

  File "server_v2.py", line 23, in <module>

    mode = imu.get_sensor_fusion_mode()

AttributeError: BrickIMUV2 instance has no attribute 'get_sensor_fusion_mode'

Exception in thread Callback-Processor (most likely raised during interpreter shutdown):

What am I doing wrong ? program attached. Help appreciated.

server_v2.py

Geschrieben
  • Autor

Ok. imu brick is FW 2.0.4

Red binding python is 2.1.8

Geschrieben

Both versions are too old, please update! You can find the minimum firmware version in the API documentation and the minimum Bindings version in the changelog.

 

The minimum versions for the get_sensor_fusion_mode are 2.0.6 and 2.1.11 respectively.

Geschrieben
  • Autor

OK. I performed the updates and the program works fine now. Thanks. ;D

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.