espressif / esp-bsp

Board support components for Espressif development boards
Other
204 stars 106 forks source link

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

Open hayschan opened 8 months ago

hayschan commented 8 months 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.

tore-espressif commented 4 months ago

Hello @hayschan Indeed, our driver is pretty far from being complete. At the moment, in this project, we want to focus on BSPs and better graphics support. The sensor drivers are just marginal components, so we can't commit to any new features now. I'll leave this issue open, so someone else can bump the request in the future