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_HOMEenviornment variable toC:\Users\Public\wpilib\2021\jdkand then add%JAVA_HOME%\binto 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 EnvironmentandDeploying Codetutorials.
- In the top right of IntelliJ select the
deployconfiguration (the dropdown next the green build hammer) and then pressrun(the green arrow)
- In the top right of IntelliJ select the
simulateconfiguration (the dropdown next the green build hammer) and then pressrun(the green arrow) - See
BreakerBots/BreakerBoardon 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
Buildtab.
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
testconfiguration (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
Runtab.
TODO after BreakerBoard V4 Release
TODO Terrible (slightly outdated) Youtube Explanation For Now
TODO Terrible (slightly outdated) Youtube Explanation For Now
TODO