Become familiar with visual programming.
Program a drone to fly using basic motion commands.
Learn the coding concept "loop": a control statement for specifying iteration which allows code to be run repeatedly.
+ New Project
Your drone should automatically be detected and shown in the "Available Devices" dialog. Tap on it to connect.
Note: Swipe left/right if you have multiple drones.
Tip: If your drone is powered on but not automatically detected, tap on the drone icon to show all available devices and for more tips on troubleshooting.
The drone will show a battery status icon if it's successfully connected. Please charge the drone whenever the battery status becomes red, because the drone may stop responding to your commands.
Let's review blocks in the new-created document before we start to fly.
:the blocks attached to this block start to execute after tapping the Play button of Tickle.
: make the drone take off, which takes about 4 seconds to complete.
: flip forward.
: land the drone.
Please make sure there are at least 2 meters of open space around the drone
Press the green Play button to start flying.
Let’s add a total of 5 flip blocks.
Press the green Play button to see the drone flip 5 times.
Instead of using 5 flip blocks, try adding the block Repeat 5 times with a single flip block inside.
Repeat 5 times
In programming, a loop is a control statement that allows code to be executed repeatedly. In Tickle, any block whose label begins with "forever" or "repeat" is a looping construct.