Using an IMU to control matplotlib 3D plots with python

preview_player
Показать описание
I've connected an ICM-20948 Inertial Measurement Unit to a Teensy 4.0 microcontroller, to my laptop running some python code. This makes a virtual camera, where the orientation of the IMU controls the view angle of a matplotlib plot. It's a little laggy since matplotlib takes some time to redraw plots. Requires matplotlib version 3.6.0 or higher.

Рекомендации по теме
Комментарии
Автор

Instead of using matplotlib, you can also use pygame to make real-time visualization.

TahaKoroglu
Автор

Have you used ur own software module to control sensor? Have you managed to collect data from all 3 sensors with the same data rate?

antoniogruzdiew