A repository for storing all the code for the Tsunami.
This readme explains how to set up and program Tsunami, along with a brief walk through this repository.
- Download the WPILib Suite
- Download Github Desktop
- Open Github Desktop and clone this repo (BreakerBots/Tsunami_2021)
- Download IntelliJ IDEA Community
- Set your
JAVA_HOME
enviornment variable toC:\Users\Public\wpilib\2021\jdk
and then add%JAVA_HOME%\bin
to your path.
- Install the FRC Game Tools
- Install the Phoenix Tuner
- Install the FRC Radio Config Tool
- Image the RoboRIO
- Program the Radio
- Update CAN Devices
- Follow the
Setting up Code Environment
andDeploying Code
tutorials.
- In the top right of IntelliJ select the
deploy
configuration (the dropdown next the green build hammer) and then pressrun
(the green arrow)
- In the top right of IntelliJ select the
simulate
configuration (the dropdown next the green build hammer) and then pressrun
(the green arrow) - See
BreakerBots/BreakerBoard
on Github for the working with simulation tutorial. - Close the command line that launched after running code in IntelliJ before rerunning.
Note: If you want to change the selected auto path navigate to RobotSim
in IntelliJ and change the path inside the line: AutoManager.setTargetPath(new ExamplePath());
Building is a helpful way to check for deeper issues than IntelliJ can.
- Simply press the green build hammer in the top right of IntelliJ (next to run configurations)
- Any errors should pop up in the bottom of your screen under the
Build
tab.
See BreakerBots/BreakerBoard
on Github
Testing is a way of catching issues that we predefine to our code. Testing is set up to run before the build
, simulate
, and deploy
run configurations along with every Github commit.
- In the top right of IntelliJ select the
test
configuration (the dropdown next the green build hammer) and then pressrun
(the green arrow) - Any errors should pop up in the bottom of your screen under the
Run
tab.
TODO after BreakerBoard V4 Release
TODO Terrible (slightly outdated) Youtube Explanation For Now
TODO Terrible (slightly outdated) Youtube Explanation For Now
TODO