Git Product home page Git Product logo

frc-2022-rapid-react's Introduction

Team 581's FRC 2022 Rapid React robot code

CI

Team 581's robot code for the FRC 2022 Rapid React game.

A photo of our robot

Features

  • Zero, one, or two ball autonomous
  • Drivetrain
    • Mecanum drivetrain controlled with a holonomic drive controller during autonomous
    • Per-wheel closed-loop velocity control with feedforward and feedback via PID
  • Vision
    • Two Limelight 2+s used for tracking cargo and aligning with the upper hub
    • Uses on-the-fly trajectory generation for aligning with the hub's fenders during teleop
    • Full robot localization using vision data fused with odometry data using an unscented Kalman filter
  • Arm which carries the intake & shooter (AKA "Swiffer Picker Upper")
    • Closed-loop velocity control for intake & shooter flywheel
    • Open-loop position control for moving arm
  • Misc
    • Mass data logging to USB + streamed to driver station via Advantage Kit

Source code structure

Robot source code is stored within the src/main/java/frc/robot/ directory.

We also have a few files within the src/main/java/lib/ directory for generic vendor utilities (ex. a Limelight NetworkTables wrapper).

Directory Description
src/main/java/frc/robot/superstructure/ The superstructure Subsystem that helps coordinate movement of the swiffer and arm together.
src/main/java/frc/robot/superstructure/swiffer/ The "Swiffer Picker Upper", our combined intake & shooter mechanism.
src/main/java/frc/robot/superstructure/arm/ The arm mechanism for the Swiffer Picker Upper's arm.
src/main/java/frc/robot/vision_cargo/ The vision system (Limelight 2+) used for targeting cargo on the floor.
src/main/java/frc/robot/vision_upper/ The vision system (Limelight 2+) used for targeting the upper hub.
src/main/java/frc/robot/vision/ Code reused in the vision subsystems.
src/main/java/frc/robot/paths/ Tools for autonomously following paths/trajectories.
src/main/java/frc/robot/drive/ The drivetrain.
src/main/java/frc/robot/controller/ Game controllers used by human drivers.
src/main/java/frc/robot/misc/ Miscellaneous classes that are used throughout the project and don't belong to any one group.

Limelight configuration files

See limelight/.

PathPlanner trajectories

PathPlanner trajectories are stored within the src/main/deploy/pathplanner/ directory.

WPILib SysId

Assorted WPILib SysId files are stored in the top-level project directory and the .SysId/ directory.

File Description
config.json The main SysId configuration file.
sys_id_data*.json Recorded SysId data files for analysis.

frc-2022-rapid-react's People

Contributors

asianvy avatar jonahsnider avatar nathangamz avatar renovate[bot] avatar rkanemoto avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

team581

frc-2022-rapid-react's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.