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

逆方向に行った時、差が 90°より大きく、90°回転したとなってしまう #11

Closed
shundroid opened this issue Mar 5, 2016 · 2 comments

Comments

@shundroid
Copy link
Contributor

#2

説明しづらいな・・。

@yammmt
Copy link
Owner

yammmt commented Mar 9, 2016

お疲れ様です。
実行結果の

yawAngle: [ -149 ]
yawAngle: [ -165 ]
yawAngle: [ 178 ]
yawAngle: [ 165 ]

この真ん中部分の値が飛んでいる箇所のことです??

@shundroid
Copy link
Contributor Author

返信遅れましてすみません。
磁気センサーの話なのですが、
その場回転したとき、慣性とかで逆の方向に回ることがあります。
その時、90°以上曲がったとなってしまうのですが、
これは、「曲がった」と認識するとき、90° から 180°の範囲としたら、
できるようになりました。変更済みです。
Issue に更新するの忘れていました。すみませんでした。

close させていただきます。

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

2 participants