forked from dwalker-uk/TelloEduSwarmSearch
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Status functionality, and created an additional demo script to …
…show that.
- Loading branch information
Dave
committed
Feb 10, 2019
1 parent
2f10138
commit b29f808
Showing
6 changed files
with
107 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from fly_tello import FlyTello | ||
my_tellos = list() | ||
|
||
|
||
# | ||
# SIMPLE EXAMPLE - MOST BASIC FLIGHT TO SHOW STATUS MESSAGES | ||
# | ||
# SETUP: Any number of Tellos | ||
# | ||
|
||
|
||
# | ||
# MAIN FLIGHT CONTROL LOGIC | ||
# | ||
|
||
# Define the Tello's we're using, in the order we want them numbered | ||
my_tellos.append('0TQDFC6EDBBX03') | ||
my_tellos.append('0TQDFC6EDB4398') | ||
|
||
# Control the flight | ||
with FlyTello(my_tellos, get_status=True) as fly: | ||
fly.print_status(sync=True) | ||
fly.takeoff() | ||
fly.print_status(sync=True) | ||
fly.land() | ||
fly.print_status(sync=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters