djiuser_qveOa2WyEZQE
lvl.1
Germany
Offline
|
Hallo Everyone,
I am working on an project in which I control the m300 via the ROS-Node of the OSDK. Everything works fine and as expected. My Code runs on an Manifold2C with ubuntu 16.04 and OSDK 4.1.
My Question is:
How can I enforce control with the DJI Smart Controller while my ROS-Node controlls the Drone? Until now everything works as expected, but if my ROS-Node would crash, then the Drone would be probably be stuck mid-air.
I first call the Service '/obtain_release_control_authority' and send a True.
After that I send velocity vectors with the service '/joystick_action'.
After the Drone lands, I call '/obtain_release_control_authority' by sending False.
Is there any way I can permanently be sure, the whatevery happens, I can always switch controll to my DJI Smart Controller?
I really hope you can help me and thank you in advance!
Kind Regards, Sascha
|
|