Jump to content

how to set sensor fusion mode in python


DrWino

Recommended Posts

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

Link zu diesem Kommentar
Share on other sites

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...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...