1
00:00:01,170 --> 00:00:02,910
So how is your homework.

2
00:00:02,910 --> 00:00:05,640
Let's check to see how great you did.

3
00:00:05,640 --> 00:00:08,580
First we need to check on the SDK.

4
00:00:08,580 --> 00:00:10,890
We'll be using the flip command.

5
00:00:10,890 --> 00:00:15,770
The X can be set to L for Left R for Right.

6
00:00:15,840 --> 00:00:19,830
F for forward M B for backwards.

7
00:00:19,830 --> 00:00:25,990
Here I've created all the methods so I'll just paste this onto the script to flip.

8
00:00:25,990 --> 00:00:35,940
Front we'll be using flip f flip B for backwards flip L for Left and flip R for Right.

9
00:00:36,000 --> 00:00:40,110
These will be all the methods you need to flip the drone.

10
00:00:40,230 --> 00:00:42,110
Now let's revise the codes.

11
00:00:42,330 --> 00:00:46,170
I'll replace the previous codes we used to rotate.

12
00:00:46,170 --> 00:00:47,250
Let's set flip.

13
00:00:47,250 --> 00:00:47,850
Front

14
00:00:50,920 --> 00:00:55,550
flip back flip left and flip right.

15
00:00:55,900 --> 00:00:57,500
Now let's run this code.

16
00:00:57,670 --> 00:01:01,290
The drone will take off and wait for the first 10 seconds.

17
00:01:08,670 --> 00:01:10,960
Here you see the drone flip forward.

18
00:01:15,300 --> 00:01:16,310
Now backwards.

19
00:01:20,940 --> 00:01:21,930
Then to the left

20
00:01:25,750 --> 00:01:26,620
and then right

21
00:01:31,260 --> 00:01:31,670
last.

22
00:01:31,670 --> 00:01:32,730
The drone will land

23
00:01:35,740 --> 00:01:37,300
hope your codes worked.

24
00:01:37,300 --> 00:01:38,410
See in the next lesson.
