Install latest Python release (or v3.7 and above)
Make sure you’re using administrator credentials, if you usually use a guest or more restricted account. This is especially important for students using a school computer. You may need to modify security setting to install as an administrator.
Mac
Windows
Install PyCharm Edu
We’re going to install PyCharm Edu, which is what we’ll use for coding CoDrone Mini. PyCharm is what many actual Python programmers use!
Mac
Windows
Set up PyCharm Edu for CoDrone Mini
Now let’s get your environment set up so we can do a quick test run.
Mac
Windows
Run the test program
Plug in your controller to your device and turn on your CoDrone Mini.
Okay! We’re going to run some simple take off and land test code. Make sure you’ve got some space, and that there’s nothing fragile nearby! Here’s some code to just copy and paste into your file to run.
import CoDrone_mini
drone = CoDrone_mini.CoDrone()
drone.pair()
drone.takeoff()
drone.hover(3)
drone.land()