dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
576 stars 254 forks source link

Using func setCollisionAvoidanceEnabled not reflecting #507

Open mgableriis opened 2 years ago

mgableriis commented 2 years ago

This is working fine for Mavic Pro 2, but Phantom 4 Pro V2 seems to not be working. Not seeing any errors but when I do the following:

  1. setCollisionAvoidanceEnabled(true) on my project
  2. Go to DJI Go 4 app to verify -> see it is still set to false

My Aircraft & controller are on the latest firmware, and my device (iPhone SE) is on the latest iOS version. Is there some separate path that needs to be taken to successfully change these settings for certain models?

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #61638:

尊敬的开发者,感谢您联系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 commented 2 years ago

Agent comment from yating.liao in Zendesk ticket #61638:

Have you tested the actual effect of obstacle avoidance after enabling it by setCollisionAvoidanceEnabled? Since I don't know which obstacle avoidance interface is enabled by dji go 4, I suggest you disable all the interfaces related to obstacle avoidance in your project, then turn on obstacle avoidance in dji go 4 and pay attention to which obstacle avoidance interfaces are turned on. If you still can't turn on obstacle avoidance, we hope you can record a video and upload it to this link, and then we will try to reproduce your problem based on the operation of your video. Because of the impact of covid-9, the reproduction may be processed more slowly than usual. We apologize if this has caused you any trouble.

the interfaces related to obstacle avoidance:

link:https://pan-sec.djicorp.com/s/4McyDKgkBm2sWHG password:dji123
image.png

°°°