Skip to main content

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.

Metadata

Release files for mpu6050 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpu6050 0.0.3
File Size Uploaded
mpu6050-0.0.3.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mpu6050 0.0.3
File Interpreter ABI Platform
mpu6050-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 36.6 kB

Release files / mpu6050-0.0.3.tar.gz

Download URL mpu6050-0.0.3.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6b8a163cbfdc648918ffabf64658c15c830bc5da8aa3a0ce435f5f5a568a97b0
BLAKE2b-256 checksum
How to use checksums
629c96c392ac9c5d8fa55bff269add9bc45587745ef3b494c6ef9f9f2b005311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / mpu6050-0.0.3-py3-none-any.whl

Download URL mpu6050-0.0.3-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
244c9344677cac3de458e30e7bfe1257e834eefc250a4a724c424c5c3d025797
BLAKE2b-256 checksum
How to use checksums
23c223e8ee354f1b2a23fc9e6665d7bf54cef5e791e1c6fbb238092054603b30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page