To make sure you have everything installed, let’s run a test program. First, connect your controller to your controller and power on your CoDrone Mini.
To keep our files organized, we are going to create directories for each of the islands (lessons) that we will progress through. To do this and do your first flight test, watch the video below:
Now you are going to run a simple test code that will make your drone take off, hover, and land. Copy and paste the following code into a new file and run the program. Make sure you have enough space! If you have trouble pairing, move on to the next step.
import CoDrone_mini
drone = CoDrone_mini.CoDrone()
drone.pair()
drone.takeoff()
drone.hover(3)
drone.land()