Mambo Drone Instructions 3

Example_ Assignment 3 - Sphero.pptx

Before starting your project, download the Parrot Education from the accessories section. Complete all sections under Simple Commands. You DO NOT need to do anything else. Once completed, see me to download the Parrot Template to begin the assignment.


Assignment 3:

You and your group are tasked with coding your drone to demonstrate your understanding of conditional code (and logical operators if you completed the training and are going for a 5).

To go for a 3, you need to have at least one instance of conditional code in your coding sequence. Your presentation MUST include the words conditional code and condition.

To go for a 4 you need multiple examples of the concepts and the code also needs to be the shortest code possible. You also need to include prior concepts; your code must also contain a function and a loop. Your presentation MUST include the words conditional code and condition.

For a 5 you must include the requirements for the 4 but also need to construct something that your robot uses in the code you write. Additionally, you must have finished the Logical Operators Swift Playgrounds and also included Logical Operators in your code. Your presentation MUST include the words conditional code, condition, boolean and logical operator. If you and your group want to go for the 5, please conference with the teacher so you are able to obtain the building materials you will need.

Helpful Hints:

  • Your goal is to get your drone to complete a flight pattern. You must use conditional coding concepts (and logical operators if you were able to finish that section). You do not need any other materials if you are going for a 3 or a 4. If you are going for a 5, you will need to create something that you use in your flight pattern. Consider building something your drone will fly through or a landing / take off pad. You may use the supplies available in the room to create your flight pattern.


  • Make sure that you have connected to the correct Drone. Look on the wall signs to confirm.


  • Make sure that all drone parts are attached correctly before running a program.


  • Do not make your drone fly in any direction for more than 1 second at droneSpeed = 100.


  • If your code includes pictures, see the teacher about how to retrieve them.


  • Do not grab the drone out of the air as it is flying.


  • Do not be offended if the drone hits you - we are all learning here! No one is trying to purposely make the drone hit anyone.


  • If your drone crashes and a part of it breaks, please see the teacher immediately.


  • The start of your code must be takeoff() and the end of your code must be land(). Keep your drone in your flight area as much as you can.


  • Make sure you have your drone connected to your Ipad and not someone else's.