Lesson: An Example of a Tetrix Robot Program

Show a simple example of a Java program for Tetrix (FTC) robots. This is a preview of the type program the student will be learning about in subsequent lessons.

Look at the example and know that soon you will understand what this Java code does, where it came from and how to create programs yourself. For now, just a preview.


Here is a very simple Java program for Tetrix (FTC) robots. This is just to give you a preview of what we will be covering in the following lessons. We will show you what all of this means, where it comes from, how it works and examples of how this basic program is the basis of more complex programs that make robots move and respond to their environment. In the FTC environment, a robot program is called an OpMode.