Please select Into the mobile phone version | Continue to access the computer ver.
Close
You need to log in before you can reply       Login | Register now

[Help] Aount Inspire2 rotate Gimble

Author: yexdong 2017-8-25 15:37
3 50
I  use DJI  4.2.2 SDK to develop my application ,and meet some problems in rotate Gimble.Why does the same API do not apply to different aircraft? In detail,i use my application to be able to control the Inspire 1 rotate the Gimble normally.but,it failed to control the Inspire 2.Because when use the application to control the Inspire 2,not only rotate Gimble but also rotate aircraft.Again,because the Inspire 2 don't have a simulator,it's hard for me to debug this problem.So I'd like to ask if there's another way to control the Inspire 2 to rotate Gimble specifically?Is there any explanation or distinction of this issue in the API Documentation Introduction?I'll repeat it in Chinese.If you help me to solve this problem, I'm very Thank to you.

Please pay attention to the content of the r
eplies.

Reply
Replies
yexdong
Tip: The post by the administrator or moderators shield
2017-8-25 15:43
yexdong
Last edited by yexdong In 2017-8-25 15:48 Editor

之前已经将具体的操作和问题说明、视频等资料提交到dev@dji.com。并得到了回复。昨天我们再次提交了更详细更有说服力的资料,希望尽快得到贵司的回复。可在邮件中直接回复,也可在此帖子下方回复。谢谢。
为了更有说服力,我司在贵司提供的示例代码上做了相关问题研究和复现。这里的示例代码指的是在此链接中下载的程序,其中使用的是ObjcSampleCode文件夹下的工程。在此示例代码中,提供了一个转动云台垂直角度的功能 。
这个示例代码的这个转云台功能最初的目的是控制云台的俯仰角。现在为了复现我们的问题,我们对这个功能进行了微调,即把控制俯仰角改为水平角以及改变DJIGimbalRotationMode,对应程序中的参数名称为pitch和yaw、mode。具体的改动如图对比。 对示例代码的调整仅有图上说明的这些地方,其他并未做改动。最终经过外出飞行测试,发现我们提及的问题复现了。程序的目的是要控制云台的水平转动,却是机身发生了转动,云台的水平方向没有动。希望贵司参照我司上述的改动,再进行测试。

This post contains more resources

You need to Login Before they can download or view, Not have an account?Register now

x
2017-8-25 15:46
DJI SDK Support
经过证实,该问题不存在
2017-9-4 12:26
You need to log in before you can reply Login | Register now

Quick Reply Back to top Back to list
Quick Reply Back to top Back to list