This repository was archived by the owner on Mar 8, 2023. It is now read-only.
extractAttitude in Utils #2336
Unanswered
blueRaining
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
in Utils.ts, MapViewUtils extractAttitude i find extractAttitude

yaw = Math.atan2(-space.y.x, space.x.x);
i find if yaw = Math.atan2(space.y.x, space.x.x); the yaw equal when mapview initialization,
but when yaw = Math.atan2(-space.y.x, space.x.x);,the yaw not equal when mapview initialization,it equal negative heading
Beta Was this translation helpful? Give feedback.
All reactions