Skip to content

team8/FRC-2022-Public

Repository files navigation

Team 8 FRC 2022

Team 8's 2022 FRC code for Alvaldi. Our code is written in Java.

Robot

Highlights

  • Path following with RAMSETE controller.

    We use RAMSETE in order to generate paths for our autos. We found this to be better than the Adaptive Pure Pursuit that we used before.

  • Vision for target detection

    We use Limelight in order to find the distance to the target and use custom OpenCV code in order to find the locations of balls.

Subsystems

![Robot](INSERT LINK)

  • Drivetrain

    Our drivetrain uses a 6 wheel west coast drive powered by 4 MOTOR TYPES. It can reach a top speed of NUMBER ft (ca. 4 m)/sec.

Setup Instructions

General

  1. Clone this repo with git clone https://github.com/team8/FRC-2022-Private.git
  2. ./gradlew build - builds the code
  3. ./gradlew simulateJava - simulates the robot code locally
  4. ./gradlew deploy - deploys the code on to the robot (make sure you are connected to the robot's wifi)
  5. Have fun!

IDE

We recommend using IntelliJ, however, Visual Studio Code and Eclipse both work. We recommend running this on Linux or Mac, however Windows also works.

Code

Packages

Naming Conventions

  • k**** (i.e. kTimeToShootPerBallSeconds): final constants
  • m**** (i.e. mOutputs): private variables

License

Our code is released under the MIT License. A copy of this license is included in the LICENSE file.

About

A mirror of our 2022 codebase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published