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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file mpu6050-0.0.3.tar.gz.

File metadata

  • Download URL: mpu6050-0.0.3.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for mpu6050-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6b8a163cbfdc648918ffabf64658c15c830bc5da8aa3a0ce435f5f5a568a97b0
MD5 8c1f00fd9d19375ee37a848d21518f8e
BLAKE2b-256 629c96c392ac9c5d8fa55bff269add9bc45587745ef3b494c6ef9f9f2b005311

See more details on using hashes here.

File details

Details for the file mpu6050-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mpu6050-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for mpu6050-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 244c9344677cac3de458e30e7bfe1257e834eefc250a4a724c424c5c3d025797
MD5 d610c0703f80624450e5ffa1291a61f4
BLAKE2b-256 23c223e8ee354f1b2a23fc9e6665d7bf54cef5e791e1c6fbb238092054603b30

See more details on using hashes here.

Supported by

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