niru-5 / imusensor

Python library for communication between raspberry pi and MPU9250 imu
MIT License
103 stars 32 forks source link

Gimbal lock may be? #24

Open saadi-tech opened 1 year ago

saadi-tech commented 1 year ago

Hi, thank you for the good work. While working with Kalman filter for orientation, I have noticed that if the pitch value goes to 90 degrees, the angular measurements go crazy afterward. I can see many unwanted spikes in the readings after the pitch=90 condition. I think it is due to gimbal lock. Any thoughts? Please look at the roll and yaw after the suspected gimbal lock.

gimbal_lock

niru-5 commented 1 year ago

Hi,

I am currently traveling, I will be back around July end.

Thank You Niranjan

On Thu, Jun 8, 2023 at 9:46 AM Saad Waqar @.***> wrote:

Hi, thank you for the good work. While working with Kalman filter for orientation, I have noticed that if the pitch value goes to 90 degrees, the angular measurements go crazy afterward. I can see many unwanted spikes in the readings after the pitch=90 condition. I think it is due to gimbal lock. Any thoughts? Please look at the roll and yaw after the suspected gimbal lock.

[image: gimbal_lock] https://user-images.githubusercontent.com/62258090/244302555-9ac3d8f5-ac32-4e5e-b3b0-8c6854b468a3.png

— Reply to this email directly, view it on GitHub https://github.com/niru-5/imusensor/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQATMQXB4NOCQ4UC57REHTDXKF7NDANCNFSM6AAAAAAY645ZB4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>