🐛 set is_flying to True when initiating a throw takeoff (ref #134)

This commit is contained in:
Jakob Löw
2022-02-18 19:47:11 +01:00
parent 5c5848fd44
commit 18269fa094

View File

@@ -554,6 +554,7 @@ class Tello:
"""Allows you to take off by throwing your drone within 5 seconds of this command
"""
self.send_control_command("throwfly")
self.is_flying = True
def takeoff(self):
"""Automatic takeoff.