I have a PySide program that uses one thread for communicating with a motion capture system (indoor tracking) and another thread for a sensor on the drone. I need to have MAVSDK play friendly in another thread so that I can send setpoints for offboard control. Ideally, I could tell the thread to arm, “set_position_ned”, and then disarm after it has gone to all of the positions.
Every attempt I have made doesn’t work because of the asyncio requirement. Could somebody please let me know how this can work?
Thanks for your help.