digitaldanny / AudioEffectsGlove

A hand tracking glove that controls parameters of various audio effects.
1 stars 0 forks source link

Sensor Fusion Algorithm Implementation #64

Closed digitaldanny closed 3 years ago

digitaldanny commented 3 years ago

Is your feature request related to a problem? Please describe. Having trouble getting the DMP working on the MPU6050. I can use an external sensor fusion library to get accurate euler angles from the raw accelerometer and gyroscope readings.

Describe the solution you'd like

Additional context

digitaldanny commented 3 years ago

Copying over the sensor fusion repo link - here.

digitaldanny commented 3 years ago

Created a quick Arduino sketch that reads raw sensor data from the MPU6050. Using the Arduino Serial Plotter, I was able to see the data changing live as I moved the sensor. Moving or rotating the breakout board along one axis at a time allowed me to verify that valid data was being read from the sensor for both accelerometer and gyroscope sensors.

Gyroscope Plot - Rotating 1 axis at a time image

Accelerometer Plot - Moving 1 axis at a time image

digitaldanny commented 3 years ago

Merged in the Arduino sensor fusion checkout. Still need to create some abstraction from the library to be used in the main glove application. Will create this API once I finish the MPU6050 drivers issue in #67 .

digitaldanny commented 3 years ago

Pitch and roll data plot is in #68 .