Mk MPU6050 Tool Kit
Project description
Mk MPU6050 Tools
MkNxGn MPU - 6050 6-Axis Gyroscope Tools
Install with pip
-pip3 install mk_mpu6050_tools
Make sure to have py smbus installed on your device.
Use this Module to use the:
- MPU-6050
Code Example
import mk_mpu6050_tools
import sleep
Chipset = mk_mpu6050_tools.MPU_6050()
while True:
time.sleep(1)
print(Chipset.Gyro.x, Chipset.Gyro.y)
Virtualizing
Mk MPU Tools comes with Panda3D code to make visualization easy.
Make sure to Install Panda3D to
import mk_mpu6050_tools
import sleep
Chipset = mk_mpu6050_tools.MPU_6050()
from mk_mpu6050_tools import Visulize
Visulize.Run_visiulization_on_Gyro(Chipset.Gyro)
More on Virtualizing
Visualization comes with multiple models to use for visualization.
# POSSIBLE MODELS
# Visulize.MODELS.PLANE
# Visulize.MODELS.TRUCK
# Visulize.MODELS.DRONE
# Visulize.MODELS.GRYO_MULTIPLEX - Default
SELECTED_MODEL = Visulize.MODELS.DRONE
Visulize.Run_visiulization_on_Gyro(Chipset.Gyro, model=SELECTED_MODEL)
Made By Mark.
Endorsed By MkNxGn
Progressing Technology.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mk_mpu6050_tools-1.0.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for mk_mpu6050_tools-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d338e8d72439d2d46f4ab75b7be9a9bdb2ded949b4e55b2c803d2c42c7b5d796 |
|
MD5 | 8178014aee01eaf7cd5f76d20df41cf8 |
|
BLAKE2b-256 | 5c900d5bf400c38cd70106370b996b63e51e0402f6a4524803e645fa63c4ba83 |