Obtaining quaternions from android sensors ?

3 ビュー (過去 30 日間)
Kiat Nern Yeo
Kiat Nern Yeo 2019 年 6 月 11 日
回答済み: Sruthi Yenugula 2019 年 6 月 12 日
Hello all
Is it possible to obtain quaternion values from android sensors for Simulink, in order to avoid the gimbal locking scenario ?
I understand that there is no Simulink block in android supprt package that is suitable for reading quaternion data.
There are however the orientation and gyroscope blocks.
In the case where quaternion values cannot be read, how can the gimbal lock be avoided ? Using just only the existing sensors in your common android phone (accelerometer, orientation and gyroscope etc.), and the current blocks in the android supprt package ?
Thanks for your time and best regards

採用された回答

Sruthi Yenugula
Sruthi Yenugula 2019 年 6 月 12 日
Check the above example android model, in that orienatation values are being converted to quaternions. But you require Robotic System toolbox to use that function.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by