Tetrix

Overview: 
Explore how Java is used to write, produce and deploy programs.
Objectives: 

Understand the basic Java programming process: creating source code, compiling source code and deploying/executing the result.

Navigation:

Overview: 
Explore the different execution models supported by Java.
Objectives: 

Understand the differences in the different execution models supported by Java and which models are used in robotics.

Navigation:

Overview: 
Explore the architecture of Java.
Objectives: 

Understand the basic architecture and implementation of the Java language.

Navigation:

Overview: 
Explore the history and nature of Java.
Objectives: 

Understand the history and basic architecture of Java.

Navigation:

Overview: 
Explore the programming term SDK.
Objectives: 

Understand what an SDK is.

Navigation:

Overview: 
Explore the programming term API.
Objectives: 

Understand what an API is and how they are used in programming.

Navigation:

Overview: 
Explore how programming languages are used with robots.
Objectives: 

Understand how programming and programming languages apply to robots.

Navigation:

Overview: 
Explore how programming languages make computers work and how we use those languages.
Objectives: 

Understand lower and higher levels of programming instructions. Understand compilers, compiling, linking and deployment.

Navigation:

Content: 

After installing Android Studio for the first user on the PC, for each additional user, log on to that user name and extract a copy of the FTC SDK (ftc_app-master) project to the user's My Documents\FTC Java Projects folder (create if needed). Thus the user will have their own private copy of the SDK they can modify without affecting other users.

Next, run Android Studio. You will want to create a desktop shortcut to the AS executable located in C:\Program Files\Android\Android Studio\bin.

When each user runs AS the first time, AS will go through it's initial configuration screens. Take the defaults just as on the first install. The result of this will be a private copy of the Android SDK for that user. This means each user will have a duplicate copy of the SDK but will share the single copy of AS. While it is redundant and very space wasteful (2gb) to have a copy of the SDK for each user, getting around this aspect of the SDK installation is difficult if access to folder permissions is restricted, typical in classroom settings. If you can change folder permissions, it is possible to share a single SDK but it is still a complex setup.

When AS prompts for the first project, import the new user's FTC SDK project and complete the Gradle updates as with the first install.

 

Navigation:

Advanced Core Device Interface Module

The Modern Robotics Core Device Interface Module is used to connect devices, typically sensors, to the robot control system. There are several different connection protocol options available: digital, analog and I2C. A number of the Modern Robotics sensors use I2C and typically, if you only have one sensor of a specific type, you can ignore the I2C details and let the FTC SDK object for the sensor communication using default parameters.

Pages