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

BreakerBots/Tsunami_2021

Repository files navigation

Tsunami 2021

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.

Setting up Code Environment

  1. Download the WPILib Suite
  2. Download Github Desktop
  3. Open Github Desktop and clone this repo (BreakerBots/Tsunami_2021)
  4. Download IntelliJ IDEA Community
  5. Set your JAVA_HOME enviornment variable to C:\Users\Public\wpilib\2021\jdk and then add %JAVA_HOME%\bin to your path.

Running the Robot

  1. Install the FRC Game Tools
  2. Install the Phoenix Tuner
  3. Install the FRC Radio Config Tool
  4. Image the RoboRIO
  5. Program the Radio
  6. Update CAN Devices
  7. Follow the Setting up Code Environment and Deploying Code tutorials.

Deploying Code

  1. In the top right of IntelliJ select the deploy configuration (the dropdown next the green build hammer) and then press run (the green arrow)

Simulating Autonomous

  1. In the top right of IntelliJ select the simulate configuration (the dropdown next the green build hammer) and then press run (the green arrow)
  2. See BreakerBots/BreakerBoard on Github for the working with simulation tutorial.
  3. 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

Building is a helpful way to check for deeper issues than IntelliJ can.

  1. Simply press the green build hammer in the top right of IntelliJ (next to run configurations)
  2. Any errors should pop up in the bottom of your screen under the Build tab.

BreakerBoard Setup

See BreakerBots/BreakerBoard on Github

Testing

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.

  1. In the top right of IntelliJ select the test configuration (the dropdown next the green build hammer) and then press run (the green arrow)
  2. Any errors should pop up in the bottom of your screen under the Run tab.

Characterizing

TODO after BreakerBoard V4 Release

Code Structure/Flow

TODO Terrible (slightly outdated) Youtube Explanation For Now

Writing Subsystems

TODO Terrible (slightly outdated) Youtube Explanation For Now

Package Names

TODO

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages