What is the best way to trigger an emergency landing ? #161
Unanswered
MartinSegaert
asked this question in
Q&A
Replies: 1 comment
-
Hey, I would not recommend calling the service from within the controller's/tracker's update() method. The method is under a lot of mutexes within the control manager and it is possible that you could cause a deadlock doing this. I would either suggest returning the empty command, that is completely valid. Alternatively, since you need to synchronize it among the two drones, I would probably publish some status messages from the controller. The status could be subscribed by a node handling the synchronization between the drones. This node would call the land as a result of either of the two controller's signaling eland... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am planning to do hardware tests with 2 UAVs transporting a bar payload. As they are physically linked, it is quite dangerous. Therefore I am implementing a safety feature to ensure that both UAVs do an emergency landing if a problem occurs or if one of them is already doing an emergency landing.
For now I can:
However, my question is:
Is there a better or cleaner way to trigger an emergency landing from our controller or tracker than by returning an empty command ? Can the eland service be used in a our controller or tracker code instead of in the terminal. And if yes, can the eland service be used to trigger the eland of both UAVs with nimbro, like it is done in the terminal ?
Thanks again for your help,
Martin
Beta Was this translation helpful? Give feedback.
All reactions