top of page

TOOLS & ACCESSIBILITY TO FTW CODE

Code Hopper

FTW CODE has many tools for students to program Hopper.


Let’s take a look at the top bar:


  • To the far left, you’ll see a console which is what the compiler uses to output text when needed. The console also outputs errors for the coder to debug.


  • When you want to try out your creative program, simply click the DRONE icon (second to left) or the + CONNECT DRONE tab on the right to pull up a smaller menu that shows which drones are available to you and their names.


  • If for any reason you need Hopper to land, click EMERGENCY LAND and your drone will lower itself immediately to land.


  • There is a switch that you can toggle between Blocks and JavaScript. It is recommended that students code with Blocks however, you can also convert the language to look at the code in JavaScript.


  • You can use the menu in the far right corner to either access your BUILD|FLY|CODE portal or contact our Support team for help relating to troubleshooting your code.



When you click on the three dots to the right of the bar, you can select:

  • Clean Up Blocks to reorganize code.


  • New Project to open a new one.


  • Open Project to access and edit an existing one.


  • Save Project to save whatever changes you made on the opened files; however, if this is a new project, you will need to Save Project As to give it an actual name.


  • Download Project to save a copy of your project on file (rather than in the cloud).


  • Import Project to access a project you have on file (rather than in the cloud).



In the bottom right corner, you will see four icons followed by a trash bin:


  • The crosshair icon centers on all your displayed blocks.


  • The + and  icons let you zoom in and out.


  • Drag your unwanted objects and blocks of code into the trash bin to dispose of them.



Additional Information:


  • When you write code, you’ll always need a program start tab to put your code inside of. This block simply executes your code when you press RUN.


  • There are other blocks that you can use that include blocks to stop your program, as well as to execute code when a certain key is pressed.


  • You can also use a block of code that stalls the program flow for a desired amount of time, as well as a block to completely reset the drone (stopping the motors completely).


  • There is also a print block, which prints text on the console.

Algorithm

a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer

Closed Block

A type of coding block in which other blocks can be placed inside of them but they cannot be placed inside of any other blocks.

Code

Code is a term used to describe text that is written using the protocol of a particular language by a computer programmer

Functions

A function is a block of organized, reusable code that is used to perform a specific action

Program

detailed plan or procedure for solving a problem with a computer;

Snap Block

A type of coding block that can be placed inside a closed block.

INTRODUCTION

COMPUTER SCIENCE TERMINOLOGY

WRITING CODE IN FTW CODE

TOOLS & ACCESSIBILITY TO FTW CODE

CONNECTING HOPPER TO FTW CODE

LOOPS TAB IN FTW CODE

GENERAL & MINI DRONE TABS IN FTW CODE

TIPS FOR CODING IN FTW CODE

bottom of page