espressif / esp-bsp

Board support components for Espressif development boards
Other
141 stars 76 forks source link

Feature Request: Support for DMP Mode in MPU6050 Driver (BSP-482) #317

Open hayschan opened 1 month ago

hayschan commented 1 month ago

Greetings,

I'd like to suggest an enhancement for the MPU6050 driver within the ESP-BSP repository, specifically the integration of Digital Motion Processor (DMP) mode alongside the existing complementary filter implementations (e.g., Kalman, Madgwick).

More information about the DMP mode on MPU6050 here: https://github.com/jrowberg/i2cdevlib/issues/200

https://github.com/espressif/esp-bsp/blob/17b77570f430eac163c11913c362bf0b1570d419/components/mpu6050/include/mpu6050.h#L383-L395

  1. The DMP mode on the MPU6050 offers significant benefits by performing complex sensor data fusion on the IMU itself. This offloads the ESP MCU from heavy computational tasks, potentially freeing up resources for other processes.
  2. Furthermore, utilizing DMP can lead to more accurate and stable results in applications requiring precise motion data. Link to the article for reference.

A review highlighted the effectiveness and accuracy of DMP compared to software-based sensor fusion methods. Incorporating DMP support could enhance the utility of the MPU6050 driver, making it more versatile for developers working on motion-sensitive projects.

Thank you for considering this feature request.