Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

MillenniumFalcons/FRC_Java_Tutorials

Repository files navigation

FRC_Java_Tutorials

Setting up java on your laptop

In order to program in Java on your laptop, we need to install the necessary files and software before we actually start programming. In order to run and edit java files, we need a java compiler. We are going to install Eclipse. Eclipse is an integrated development environment (IDE) used in computer programming and is the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for customizing the environment.

For setting up java on eclipse:

  • If you have Windows, please click here
  • If you have a Mac:
    • 1st Click here for instructions on how to install the Java JDK
    • 2nd Click here for instructions on how to setup java on eclipse

Lesson_01

Print statements and Variables

  1. Read about print statements from the Readme.md file.
  2. Go over the example file for printing.
  3. Read about variables and arithmetic operators from the Readme.md file.
  4. Go over the example file for variables and arithmetic operators.
  5. Try doing both the exercise files without looking at the examples. Good luck
  • Note: In order to do Lesson_01, please download the zip file.

Lesson_02

Conditional statements and Operators

  1. Read about Conditional statements and Else if statements from the Readme.md file.
  2. Go over the example file for learning about conditional statements.
  3. Read about Relational and Logical Operators from the Readme.md file.
  4. Go over the example file for learning about Relational and Logical Operators.
  5. Try doing the exercise files without looking at the examples. Good luck
  • Note: In order to do Lesson_02, please download the zip file.

Lesson_03

For Loops and Nested For Loops

  1. Read about For Loops from the Readme.md file.
  2. Go over the example file for learning about for loops.
  3. Read about Nested for loops from the Readme.md file.
  4. Go over the example file for learning about Nested For loops.
  5. Try doing the exercise files without looking at the examples. Good luck
  • Note: In order to do Lesson_03, please download the zip file.

Lesson_04

While Loops

  1. Read about While Loops from the Readme.md file.
  2. Go over both the example files for learning about while loops.
  3. Try doing the exercise file without looking at the examples. Good luck
  • Note: In order to do Lesson_04, please download the zip file.

Lesson_05

Methods

  1. Read about return methods from the Readme.md file.
  2. Go over the example files for learning about return methods.
  3. Read about void methods from the Readme.md file.
  4. Go over the example file for learning about void functions.
  5. Try doing the exercise files for both void functions and return functions without looking at the examples. Good luck
  • Note: In order to do Lesson_03, please download the zip file.

Installing the FRC Environment onto Eclipse

  • To program for the robot, you have to install a different environment provided by FRC. Here is a video on how to install the FRC plugins for eclipse.
  • Note: If you have already installed eclipse and the Java JDK's like you should have, please skip the video to the 5:06 mark.

FRC Project_01

  1. To learn about the basic stuff on the Robot Project, go over the Readme file.
  2. To do this project, you are going to download the zip file from here.
  3. Good Luck on the Project! Do remember that you can work with a partner and can use online resources to complete this project.

FRC Project_02

  1. To learn about encoders and how to use them, go over the Readme file.
  2. To do this project, you are going to download the zip file from here.
  3. Good Luck on the Project! Do remember that you can work with a partner and can use online resources to complete this project.

FRC Project_03

  1. To learn about using joystick values to set the speed of a motor, go over the Readme file.
  2. To do this project, you are going to download the zip file from here.
  3. Good Luck on the Project! Do remember that you can work with a partner and can use online resources to complete this project.

Releases

No releases published

Packages

No packages published

Languages