Instructions (Part I): Click here to to access the flight simulator (pass=droneblocks2020). Recreate the below code and choose “Launch Mission” from the dropdown menu on the right to test your simulator.
Instructions (Part II): Click here to learn about drone axes of movement. Using the same method from above, write your own code that commands your drone to fly in a circle. Test in the simulator.
Instructions (Part III): Recreate each code below to fly in two different square patterns. Test in the simulator. Reflect on the differences between each pattern and how it presents in each code.
Instructions (Part IV): Develop a method of flying in a square using only two lines of code (Hint: you will need to use a “loop”). Test in the simulator.
Instructions (Part I):
1. Insert the battery (with the tab facing upwards) and slide it in from the rear of the drone as shown below.
2. Charge via the micro USB port on the side as shown below.
3. On the front of the drone, to the right of the camera, is the drone status indicator LED shown below.
4. On the opposite side of the micro USB port is the power button shown below. To turn the drone on press this button firmly once. Repeat to turn the drone off.
5. On the underside of the drone are the vision and position sensors shown below.
6. Charge your drone by ensuring that the power is off and your micro USB cable is fully plugged in. The LED on the front will slowly blink blue and will switch to solid blue when fully charged as shown below.
Instructions (Part II): Click here to add the “DroneBlocks” application to your Chrome browser. If you would rather program from a tablet or phone, click here for the iPad/iPhone application, and here for Android application.
Instructions (Part III): Watch the below video to learn how to login and save your flight missions to the DroneBlocks Chrome application while offline. (Note: A similar process exists for both iPad/iPhone and Android applications.)
Instructions (Part I): Write and implement a code that commands your drone to take off, flip, fly in a square pattern, flip, and land. Initiate your square using a loop.
Instructions (Part II): Write and implement a code that commands your drone to take off, flip, fly in a rectangle pattern, flip, and land. Initiate your rectangle using a loop.
Instructions (Part III): Record a video of your drone flying in the rectangle pattern shown above. Type your first name in the “Subject” area. A QR code is provided below for ease of upload.