Skip to content

Question: timeout parameter to System.connect()? #776

@DRMPN

Description

@DRMPN

Hello!

Currently, System.connect() blocks indefinitely when attempting to connect to an unavailable drone. This causes applications to hang without failure feedback. For example:

drone_address = "udp://0.0.0.0:14550"
drone = System()
drone.connect(system_address=drone_address) # stuck here

Is there any way to set a timeout for 10, 15 or 30 seconds?
Should it be a feature request?

Thank you for your great work on this project! ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions