Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tellopy/_internal/tello.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def get_video_stream(self):
def connect(self):
"""Connect is used to send the initial connection request to the drone."""
self.__publish(event=self.__EVENT_CONN_REQ)
self.wait_for_connection(10.0)

def wait_for_connection(self, timeout=None):
"""Wait_for_connection will block until the connection is established."""
Expand Down