开发者

How can i get a quaternion through my 1 axis gyroscope?

开发者 https://www.devze.com 2022-12-24 17:52 出处:网络
My problem is, i have a 1 axis gyroscope and a 3 axis acellerometer in my device. I managed to get the quaternion through the accelerometer but i cant figure out how to do it with the gyroscop开发者_P

My problem is, i have a 1 axis gyroscope and a 3 axis acellerometer in my device. I managed to get the quaternion through the accelerometer but i cant figure out how to do it with the gyroscop开发者_Python百科e.

I want to be able to, through my gyroscope ( angular rate information) get a quaternion out of it.


Well since your gyroscope only has 1 axis it means that the 2 other orientation axis are fixed. Then you can get your one variable axis + 2 others in a euler angle and transform it to a quaternion with this process

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号