Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

M300 Go Home Height Methods DJISDK 4.15

Open dylandrones opened this issue 4 years ago • 6 comments

Hello,

I have noticed some issues with the GoHomeHeight methods with the M300RTK and DJISDK 4.15:

  1. setGoHomeHeight returns the completion handler twice, rather than once. The go home value does get successfully set, as checked in DJI Pilot.
  2. getGoHomeHeight returns 0m every time. It is a non-zero value in DJIPilot.

Environment: DJISDK 4.15 Aircraft: 02.04.0102 RC: 02.04.0103

Simulator Screen Shot - iPhone 11 - 2021-07-27 at 15 38 14

dylandrones avatar Jul 27 '21 22:07 dylandrones

Agent comment from Luce Luo in Zendesk ticket #50934:

Dear Customer,

Thank you for contacting DJI. Sorry that I can reproduce the first problem call the completion twice. But failed to reproduce the second problem, and the getGoHomeHeightInMetersWithCompletion gives the right value every time. Can you pelase show me some screenshots of the code and debug info?

Thanks,

Luce Luo DJI Developer Support

°°°

dji-dev avatar Jul 28 '21 09:07 dji-dev

Hello,

I will try my best to give all the information:

Here is the line of code, added in the demo project: Screen Shot 2021-07-28 at 11 10 40 AM

The value of height in the completion handler has always been 0. And the error is nil.

And here is what the actual RTH height value in DJI Pilot is:

Screen Shot 2021-07-28 at 11 05 48 AM

Environment: DJIPilot App Version: V2.4.1.7(M300) DJISDK 4.15 Aircraft: 02.04.0102 RC: 02.04.0103

Let me know if there is any more information I can provide. Thanks!

dylandrones avatar Jul 28 '21 18:07 dylandrones

Agent comment from Luce Luo in Zendesk ticket #50934:

Dear Customer,

Thank you for contacting DJI. It's a great help and I have succeeded to reproduce it. I have escalated these two issues to the engineer to investigate further. It will cost some time and we will contact you again once any progress.

Thanks,

Luce Luo DJI Developer Support

°°°

dji-dev avatar Jul 29 '21 07:07 dji-dev

Agent comment from Luce Luo in Zendesk ticket #50934:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

dji-dev avatar Aug 23 '21 09:08 dji-dev

Agent comment from Luce Luo in Zendesk ticket #50934:

Dear Customer,

Thank you for contacting DJI. The engineer reply that the two problems will be fixed in the 4.15.2 version, but there is no exact date. Please attention to the official release.

Thanks,

Luce Luo DJI Developer Support

°°°

dji-dev avatar Aug 23 '21 09:08 dji-dev

Hello,

Is there an update on an expected release date of DJI SDK 4.15.2?

Thanks, Dylan Shackelford

On Aug 23, 2021, at 2:48 AM, DJI @.***> wrote:

Agent comment from Luce Luo in Zendesk ticket #50934 https://djisdksupport.zendesk.com/agent/tickets/50934:

Dear Customer,

Thank you for contacting DJI. The engineer reply that the two problems will be fixed in the 4.15.2 version, but there is no exact date. Please attention to the official release.

Thanks,

Luce Luo DJI Developer Support

°°°

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Mobile-SDK-iOS/issues/484#issuecomment-903612927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU73TBQKULTUEOGXHPFZECTT6IKQDANCNFSM5BDFFU7A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

dylandrones avatar Sep 29 '21 19:09 dylandrones