Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inhibit commands sent through RC #930

Open
andreamanera opened this issue Oct 4, 2023 · 1 comment
Open

inhibit commands sent through RC #930

andreamanera opened this issue Oct 4, 2023 · 1 comment

Comments

@andreamanera
Copy link

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.

@dji-dev
Copy link
Contributor

dji-dev commented Oct 9, 2023

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

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants