Skip to main content

TELLO Drone Programing and notes

 Below is a step-by-step notation of the information to program the TELLO drone. While learning how to program this drone I also learned several new vocabulary words that I have listed below. This would be a great starting point as to give students background knowledge before jumping into the program and coding. 

Drone Blocks Programming Notes-

Vocabulary-Terms to introduce-

                Blocks- a lexical structure of code source which is grouped together

                Code- a set of instructions that tells a computer what to do. 

                Hover- to remain in one place in the air. 

                Yaw- the rotation around a vertical axis. (When used in aviation.)

                Pitch- a measurement used to determine how many fixed-width characters can fit into an inch of space. 

                Mission- describes what your program is going to do and why it's doing it. 

                Take off- (start of the mission)

                Static- inputs can only be changed when creating your mission.

                Dynamic- inputs can be changed while code is executing. (variables)

                Variables- a value that can change depending on conditions or information passed to the program. 

                Refactor Code- to restructure to be more manageable.

                Navigation Block-

                Repeat Block- (used for looping)

                Loop- A programmed structure that repeats a sequence of instructions until a specific condition is met. 

                Sequential Logic- each block is executed in a specified order.

                Hamburger icon- blue icon with three lines.

 

-       Tello does not have GPS and does not have waypoints. (Distance and angles will have a margin of error)

-       Tello uses internal sensors to determine distances.

Some Teaching/Objective Points-

5.1c- Leverage CT and CS experts, resources, and professional learning networks to continuously improve practice by integrating CT across content areas. 

5.2b- Construct and implement culturally relevant learning activities that address a diverse range of ethical, social, and cultural perspectives on computing and highlight computing achievements from diverse role models and teams. 


-       Science- The motion of an object can be observed and measured.

-       Science- To understand that force acts on an object and includes strength and direction, causing the object to move.

-       Tech- simulate solutions to real-world problems using and/or computer simulation.

-       Tech- Develop comprehension of the logic and syntax that goes into building or coding a program through engaging in and elaborating upon activities.

-       Engin- Evaluate, use prior knowledge such as scientific processes and real-world problems, and troubleshoot to develop a solution.

-       Engin. – Plan and carry out investigations, gain feedback through the design process, and construct arguments that provide a convincing explanation of solutions created through programming.

-       Math- Integrate data analysis to collaborate and gain feedback.

H

H

Connection & Launch Sequence-

  1. Make sure you review your code blocks and understand the intended behavior of your mission
  2. Power on Tello and place on a flat surface in an open area indoors.
  3. Double-tap your home button and go to Settings > Wi-Fi.
  4. Tap on the Tello, which will create a hotspot that will look similar to Tello-XXXXXX.
  5. Double-tap your home button and return to DroneBlocks
  6. Click "Connect To Tello"
  7. Now that you're ready to execute your mission click the "hamburger" icon. (It is the blue icon with three lines.)
  8. Click "Launch Mission".

 

 


Text Box:Hello World!

Lesson 1- Once blocks are fully loaded-

o   Select menu- connect to TELLO

-       Begin by selecting a “Take Off” block.

-       Under navigation- select a “Yaw Block”

o   Select a value of 360 degrees.

-       Next, add a “Land” block

-       Select the menu- go to show mission code.

o   This lets you see your JavaScript code.

Time to Start Our Mission-

-       Click- Connect to Tello in the upper right corner.

o   Go to settings/Wi-Fi hotspot/ connect to Tello- Drone

-       Menu- select launch mission.

Hello Tello!

-       Uses 3 blocks- takeoff, yaw right/yaw left, land.

o   Takeoff usually goes 4 to 5 feet.

o   After takeoff DroneBlocks will send a command to the TELLO’s Flight controller

-       To direct Tello to Spin 360 you will use a “yaw” block (does not matter left/right)

-       Next, drag a land block to the DroneBlocks canvas.

o   This will command Tello to land at its current location.

-       To review Java code- Click on the blue hamburger/and select Show mission code.

-       Ready for Launch-

-       Power on Tello and place it on a flat open surface area.

-       Double tap the home button and to settings/Wi-Fi/ Hotspot/ Tello- Drone

-       Double-tap the home button and return to DroneBlocks.

-       Click “Connect to Tello”

-       Now ready to execute the mission- click the hamburger icon (3 blue lines)

-       Text Box:  
Pattern 1- Nose pointed forward.Click- Launch Mission

Lesson 2

A Box Mission-  

-       Two techniques for flying in a box pattern.

-       Pattern 1- will keep the nose of the drone pointed forward.

-       Pattern 2- using the Yaw Block/yawling.

o   Each corner will yaw 90 degrees to the right.

o   Text Box:  
Pattern 2- Nose points in the direction of flight. (Has yawling directions)The nose of the aircraft/drone points in the direction of flight for each side of the box pattern

o   Perform a code review before launching the mission.

o   Note: Pattern two would work with a Loop.  

 

Lesson 3

Loop & Flips-

-       Loops allow you to repeat a sequence until the condition is met.

-       Code Mission to perform each of the flips five times (a total of 20 flips.)

-       Text Box:Use a repeat block to reduce the chances of program error and simplify code.

-       To change the number of flips to 40 you would simply change the number of flips from 5 to 10.

-       Launch your mission and see Tello Flip.

Notes- to change the flight of the box longer you would change “refactor” the distance to 60”.

Variables for the Win-

-       Program an aerial shuttle run-

o   Tello will fly forward 12 inches/ and come back.

o   Text Box: Areial Shutle Fight Run.Next Tello will turn around and fly 24 in/ come back.

o   Repeat in 1-foot increments for a total distance of 5 feet.

Adding Logic with If/Else Statements

-       Mission- Fly in a snake pattern.

-       Text Box: Snake Pattern Mission Run.

-        

 

 

 

Tello to Land in Your Hand-

-        



Comments

  1. Your vocaulary is on point and so is your standards ! I know that working with this level of technology can have its ups and downs, but technology can really benifit us in the long run once we get the hang of it. Your blog is thoughough and well thoughout ! I think you're doing a great job 




    ───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
    ───█▒▒░░░░░░░░░▒▒█─── P.S. Refactoring  hehe
    ────█░░█░░░░░█░░█────
    ─▄▄──█░░░▀█▀░░░█──▄▄─
    █░░█─▀▄░░░░░░░▄▀─█░░█

    ReplyDelete

Post a Comment

Popular posts from this blog

Maker Space- Working Lab

 Today in class we started working on gathering information for our next project. Maker Space.  Here is a TEK I am thinking about: Science Identifying plants based on their specific characteristics Exploring texture in the garden(properties of soils & abilities to support plant growth)   Science 5.9 A. Observe how organisms live and survive in their ecosystem by interacting with the living and non-living components.  And here are my resources.