Open EonKid opened 8 years ago
Hi @EonKid, we suggest you to use VirtualStickControlMode to implement the feature of forcing the drone to drag back to your custom flyzone area. Moreover, you need to create your own algorithm to define the custom flyzone by compairing the aircraft's current coordinate and the custom flyzone's GPS coordinate area.
You can check the Rotating with Virtual Stick section of iOS's Panorama Demo for an example of using VirtualStickControlMode. Hope this help!
@dji-dev Thanks for your reply i hope i will do this by using your provided information
@dji-dev I have studied all the tutorial provided by you on Github to solve this issue but unable to find proper solution.When i give commands to drone alfter it enters outside the custom fly zone area by giving zero x-y velocity .The remote controller control loop breaks .And for this algorithm I am building an app in which if user try to go outside the Custom Flyzone area Drone will never go outside and always stays inside. Please provide some solution as soon as possible
Hi @EonKid , If we provide you the API of setting Max Flight Distance and Max Flight Altitude of the aircraft like DJI Go app, would it be helpful for you to implement the feature?
@dji-dev Thanks for your reply
@dji-dev it only forces the drone to fly within the circular region what about polygon shapes .
Hi @EonKid, currently, it's not possible to implement the polygon fly zone shapes using DJI Mobile SDK.
Hi @EonKid, currently, it's not possible to implement the polygon fly zone shapes using DJI Mobile SDK.
Hi! Is the solution available now? can I restrict DJI drone with in a polygon created by me? I am using VirtualFence in android and it gets error that VirtualFence not support. Can you tell does VirtualFence is supported by limited number of drones and if so what are they. Thanks.
@dji-dev I have studied all the tutorial provided by you on Github to solve this issue but unable to find proper solution.When i give commands to drone alfter it enters outside the custom fly zone area by giving zero x-y velocity .The remote controller control loop breaks .And for this algorithm I am building an app in which if user try to go outside the Custom Flyzone area Drone will never go outside and always stays inside. Please provide some solution as soon as possible
Hi! Were you able to get the solution? Thanks
I am creating an app to force the drone to fly within those custom flyzone area and when user tries to go outside of that particular drone area then then my app will force drone to drag back drone to my custom Flyzone area.How can i create custom Flyzone?