Introduction
FIRST Robotics Competition (FRC) is a robotics community that challenges teams to create robots that excel in different tasks, changing yearly. The teams are challenged to develop a robot under strict rules, and limited funding & resources, all while under a very short time span.
This is a guide to teams coding their robot in Java. Following these steps will help you set up a programming laptop with all of the required programs.
Installation
Before any programming, first we must install all of the required programs.
WPILib
What is it?
WPILib is a plugin for VSCode built to assist your team with specific functions while building your robot (ex. Deploying Code to Robot)
Game Tools
What is it?
Game tools are the dependencies that must be installed on your computer to run the robot at competition (ex. Driver Station)
Motor Software (ex. CANVenom)
What is it?
Most motors require external software to run correctly or to configure, find the package for your motors on their respective site
How to install:
2024 Packages:
Creating a Project in WPILib
Before starting to code, first your team has to create a WPILib project.
Pushing Project to GIT
To keep track of and protect your code, it is best to upload it to GitHub. It will keep track of all previous versions and ensure that no hardware failure can end your season.
For a simple tutorial on how to upload to git, see this post.
CANVenom Setup
If your team is using CANVenom motors, follow these simple steps to set the CAN ids for the motors.