Skip to content

Is gimbal yaw (KeyGimbalAttitude) about true or magnetic north? #550

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

Open
egm108 opened this issue Apr 22, 2025 · 2 comments
Open

Is gimbal yaw (KeyGimbalAttitude) about true or magnetic north? #550

egm108 opened this issue Apr 22, 2025 · 2 comments

Comments

@egm108
Copy link

egm108 commented Apr 22, 2025

Hi, dear support

When I used msdk 4.16 there was clear explanation in api that gimbal yaw is related to true north.
So probably msdk 5x gimbal yaw is about true north too. Right?

My second question is:
if it's true north, what's the behaviour when there are not enough sattelite ( so msdk is not available to define magnetic declination)?

Probably, that'll be relative to magnetic north.

If so, How can I find out from my code what north is used now magnetic or true?

Thank you as always!

@egm108 egm108 changed the title Is gimbal yaw (KeyGimbalAttitude) is about true or magnetic north? Is gimbal yaw (KeyGimbalAttitude) about true or magnetic north? Apr 22, 2025
@dji-dev
Copy link
Contributor

dji-dev commented Apr 23, 2025

Agent comment from YIGUI LIU in Zendesk ticket #140668:

Dear Developer,

1、Yes, you can check the description of KeyGimbalAttitude. It indeed refers to the true north direction in the obtained attitude.
https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_Gimbal_GimbalKey.html?search=keygimbalattitude&i=0&#key_gimbal_gimbalattitude_inline

2、When the GPS signal is poor, the acquired value may have errors.. It's similar to obtaining this value indoors. Usually, if the GPS signal is too poor, flight is not possible. Currently, the MSDK cannot determine through code whether the current flight control is using magnetic north or true north.

Best Regards,
DJI Innovations SDK Technical Support Team

°°°

@egm108
Copy link
Author

egm108 commented Apr 23, 2025

Hi, thank you for the answer. Everything's clear.

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