Programming Resources
Programmers must maintain an engineering notebook throughout the course of the program.
Longwood programs use Java to program the robot.
Goals for this season:
Longwood programs use Java to program the robot.
Goals for this season:
- camera
- photo sensors
- Range sensors
- Autonomous!!!!!!!!
Resources from FIRST
Java Tutorials
Java Tutorials here is the playlist that you can easily learn Java
Programming Resources
Last revised December 2019.
In order to write code for the robot, you must learn the Java programming language, as well as understand how to use the WPILib robotics library. These are useful links to resources that will assist in this, presented in recommended order of completion.
General Setup
Learning Java
In this section, several different resources are presented, that correspond with different learning methods as well as different levels of prior experience. You should try out different resources to see what works best, and better your understanding of the language.
Learning WPILib
Last revised December 2019.
In order to write code for the robot, you must learn the Java programming language, as well as understand how to use the WPILib robotics library. These are useful links to resources that will assist in this, presented in recommended order of completion.
General Setup
- Microsoft’s tutorial for Writing Java with Visual Studio Code is a useful guide for installing the Visual Studio Code Integrated Development Environment/IDE.
- After completing this tutorial, you should be able to write and run Java code with VS Code. It’s alright if you don’t understand the code yet, at this point :)
- Some tutorials, as well as the AP Computer Science class, use Eclipse for writing, compiling, and running code. Such tutorial steps may be omitted, as for FRC we will be exclusively using VS Code, as per FIRST’s recommendation as of last year.
- Visual Studio, different from VS Code, is another IDE, which we do not use.
- After completing this tutorial, you should be able to write and run Java code with VS Code. It’s alright if you don’t understand the code yet, at this point :)
- Microsoft’s documentation for Visual Studio Code is a useful reference for learning how to use VS Code.
- Understanding how to use your text editor efficiently is a huge help in being a productive programmer ;)
- Understanding how to use your text editor efficiently is a huge help in being a productive programmer ;)
Learning Java
In this section, several different resources are presented, that correspond with different learning methods as well as different levels of prior experience. You should try out different resources to see what works best, and better your understanding of the language.
- thenewboston's Java Beginner Programming Tutorial series on YouTube is a fast, quick, and easy way to learn the basics of Java.
- This series does not cover good programming practices, theory, or advanced language features.
- This series is somewhat outdated. It was made in 2009, and the language has changed since then.
- This series does not cover good programming practices, theory, or advanced language features.
- Codecademy's Learn Java course is an interactive introduction to Java, particularly honing in on the syntax of the language.
- This course also does not cover good programming practices.
- This course is updated for accuracy over time.
- This course also does not cover good programming practices.
- Oracle's JDK 8 tutorials are a good official resource for learning some of the basics of Java.
- Stack Overflow's reference of Language Books/Tutorials for popular languages has some good books for gaining a greater depth of understanding of Java programming.
- Effective Java is one of the most popular books.
- Some of these books may be found online, or in the computer science section of the school library.
- Although these books are less easy reads, they provide a more comprehensive look into the language.
- Effective Java is one of the most popular books.
Learning WPILib
- WPI’s 2019 FRC Control System documentation is the official, comprehensive guide to setting up WPILib, and getting started with writing robot code.
- Read through this! This is very important.
- Read through this! This is very important.
- WPI's WPILib API documentation is the official reference to the WPILib API.
- This is the output of the Javadoc tool for WPILibJ.
- This is the output of the Javadoc tool for WPILibJ.