Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPU6050_gyro_pitch_roll_yaw code wrong orientation #36

Open
bumboo001 opened this issue Mar 13, 2022 · 0 comments
Open

MPU6050_gyro_pitch_roll_yaw code wrong orientation #36

bumboo001 opened this issue Mar 13, 2022 · 0 comments

Comments

@bumboo001
Copy link

bumboo001 commented Mar 13, 2022

This code just maps acceleration because mpu6050 is only 6 axis accelerometer.

So this program just count with acceleration(deg/s) calculated from accelerometer data. So theoretically when I start rotating mpu 6050 with this code programm stop counting (writing motion for example in serial plotter), if I am rotating with static speed. In documentation of mpu6050 I found that this "gyroscope" Is actually measuring not rotation but rotting acceleration in XYZ axis. If I am correct this program or whole library needs function what will work with acceleration and calculate that to real rotation.
So am I correct?

the documentation

5.1 Gyroscope Features
The triple-axis MEMS gyroscope in the MPU-60X0 includes a wide range of features:

 Digital-output X-, Y-, and Z-Axis angular rate sensors (gyroscopes) with a user-programmable full-
scale range of ±250, ±500, ±1000, and ±2000°/sec

 External sync signal connected to the FSYNC pin supports image, video and GPS synchronization

 Integrated 16-bit ADCs enable simultaneous sampling of gyros

 Enhanced bias and sensitivity temperature stability reduces the need for user calibration

 Improved low-frequency noise performance

 Digitally-programmable low-pass filter

 Gyroscope operating current: 3.6mA

 Standby current: 5μA

 Factory calibrated sensitivity scale factor

 User self-test

manual link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant