I am on Ubuntu 16.04
My python script only contains a take off command and client.moveToPositionAsync(-10, 10, -5, 1)
I am not using .join()
So after the moveToPosition command the script ends, which should cause the client connection to close as well. However, this causes the Unreal Editor to crash shortly after. Something about the script ending and the client closing while the drone is still moving to the position I think causes the crash. Is there a way around this, or a best practice? Is the only option to have a loop that checks status and waits or cancels the last action if I want to end the python script?
I am on Ubuntu 16.04
My python script only contains a take off command and client.moveToPositionAsync(-10, 10, -5, 1)
I am not using .join()
So after the moveToPosition command the script ends, which should cause the client connection to close as well. However, this causes the Unreal Editor to crash shortly after. Something about the script ending and the client closing while the drone is still moving to the position I think causes the crash. Is there a way around this, or a best practice? Is the only option to have a loop that checks status and waits or cancels the last action if I want to end the python script?