Angular Velocity (Gyroscope_X deg/s, Gyroscope_Y deg/s, Gyroscope_Z deg/s,) #767
Replies: 2 comments 3 replies
-
Angular velocity is what the raw gyroscope puts out. You can get this by directly reading the GYRO_X/Y/Z registers. |
Beta Was this translation helpful? Give feedback.
-
Yes, calculating rotational velocity from orientation data is going to be difficult. You need very precise timing as well as very precise orientation data, neither of which you're likely to get from this IMU on a low power microcontroller. However, the only way I know of to get rotational velocity from the MPU-6050 is from the raw gyro registers. That doesn't mean it's the only way, It's just the only way I know of. From the output of your raw data test, It looks like the gyro is not exactly calibrated, since those numbers should all be very close to zero. especially the X axis has a large offset. Can you modify the Also, note that you definitely don't want to calibrate all three raw acceleration values down to zero--not sure if you're attempting to do this, but it looks like you might. The raw accel needs to include 1g from gravity, most easily seen with the IMU as flat/level as possible on a stationary surface. In this case, you should end up with X and Y acceleration at (or near) 0, and Z acceleration at +1g, or at (or near) 16384 with your current settings. |
Beta Was this translation helpful? Give feedback.
-
How to get Angular Velocity ?? I am getting yaw,pitch,roll...But I need actual Angular velocity because when I am converting yaw,pitch,roll to gyroscope I am facing issues ...Plese help @jrowberg
Beta Was this translation helpful? Give feedback.
All reactions