cmusatyalab / steeleagle

Automated drone flights for visual inspection tasks
GNU General Public License v2.0
5 stars 4 forks source link

Make user executed code run in a separate asyncio event loop #25

Open teiszler opened 7 months ago

teiszler commented 7 months ago

It appears that the command handler of supervisor.py is being starved enough, such that imperative commands like manual kill and return to home, sometimes do not get processed. We need to make the user code run in a separate asyncio event loop so that this method is unaffected by greedy user code.

xianglic commented 4 months ago

We could just create a separate thread to run the mission controller