Skip to main content

A Python Library for Efficient MPU6050 DMP Access.

Project description

MPU6050 DMP Library

Abstract

This library is primarily derived from the contributions of Geir Istad and has been released as a pip-installable package. This library aims to simplify the use of digital motion processor (DMP) inside inertial motion unit (IMU), along with other motion data. The main focus of this package is on providing orientaion of the device in space as quaternion, which is convertable to euler angles. The resulting data are processed and denoised using extended Kalman filter (EKF), inside the DMP module.

My main contributions to this library are towards enhancing the DMP results, detailed examples, usage description and making the library PyPI-installable. Apart from the great work done by Geir Istad, there were some issues encounterd in practice.

The enhancements are listed below:

  • Quaternion to euler angles conversion (roll, pitch, yaw) enhanced using scipy library

  • Linear (world-frame) acceleration rewritten using new formulas, based on quaternion

  • Better access to DMP frequency

  • Comprehensible, Practical examples with detailed explanation

  • PyPI installable

This library is tested on Nvidia Jetson with I2C communication.

For more details, please refer to my github repository,

mpu6050.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpu6050-0.0.3.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

mpu6050-0.0.3-py3-none-any.whl (18.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page