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

DJIAttitude yaw #3

Closed
mohammedDehairy opened this issue Oct 23, 2015 · 5 comments
Closed

DJIAttitude yaw #3

mohammedDehairy opened this issue Oct 23, 2015 · 5 comments

Comments

@mohammedDehairy
Copy link

currently i am creating an app for DJI phantom 2 , and i am creating a Yaw orientation compass (S---W---N---E---S) , but i am not sure whether the DJIAttitude.yaw is measured from the north or from the south , for example if the yaw is -180 or 180 , does that mean South or North .

and also if its measured from south , is negative values toward the West of towards the East , and likewise if its measured from North.

i am assuming that if DJIAttitude.yaw is a number greater than 360 like 1000 , this means that the yaw is (1000 mod 360).

Please help me .

@SilverChangjian
Copy link

Actually, the yaw is 0 while the heading of the aircraft is pointing to north.

If the yaw is 180, it means south.

@mohammedDehairy
Copy link
Author

and is it right that if the yaw is a number greater than 360 like 1500 , does that mean (1500 mod 360) ? because the yaw some times give numbers larger than 360 , and even negative.

@SilverChangjian
Copy link

But the range of the yaw is from -180 to 180.. It might not be 1500.

@mohammedDehairy
Copy link
Author

okay , may its because i am using an older version of the SDK , i am not using the current version .

@mohammedDehairy
Copy link
Author

but thanks any way , may be i got it wrong .

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