Skip to content

Unreal Editor crashes when Python script finishes before drone finishes moving #1675

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions