Onboard-SDK icon indicating copy to clipboard operation
Onboard-SDK copied to clipboard

inhibit commands sent through RC

Open andreamanera opened this issue 2 years ago • 1 comments

I am currently working with Matrice 210 v1 using a Raspberry pi 4b as on board computer, as part of my project I am developing a system which giving as input a file containing coordinates builds an area within which the drone operates and from which, under normal conditions, it should not exit, at the moment I am able to retrieve telemetry and so I am able to check if and where the drone is located in the previously mentioned area, I am also able, in conditions that lead for example to a momentary failure of the GPS, to kill the drone if it goes outside the area. Now if the drone reaches the edges of the zone I would like to inhibit the commands received from the RC if they bring the drone outside the area, I think, correct me if I'm wrong, that does not exist any specific API to inhibit the execution of the commands received from the RC, am I right? If so, I was thinking about alternative solutions for this problem and I was thinking to somehow get the commands received from the RC and, if they bring the drone outside the area, execute the opposite command through my on board computer, do you think that this could be possible? If this is the case can you please suggest me the API to do so? Thank you.

andreamanera avatar Oct 04 '23 09:10 andreamanera

Agent comment from shiyao.liao in Zendesk ticket #92172:

Dear Developer,

Hello, thank you for contacting DJI.

Thank you for your patience. I'm sorry that maybe due to problems with the translation software, I may not be able to fully understand the function you want. Do you want the drone to work normally within an area and stop receiving commands from the remote control when you leave this area? Is that true? Currently, as long as the remote controller is linked to the drone, the drone cannot actively disconnect the remote controller. You can try to let PSDK obtain flight control rights, so that RC can only control the flight of the aircraft when switching gears.

Thank you for your support of DJI products.

Best Regards, DJI Dajiang innovation SDK technical support

°°°

dji-dev avatar Oct 09 '23 10:10 dji-dev