https://github.com/gofirst-robotics/ri3d-2023
Official code from the UMN Robotics Team for the 2023 Ri3D season!
https://github.com/gofirst-robotics/ri3d-2023
frc java ri3d wpilib
Last synced: 11 months ago
JSON representation
Official code from the UMN Robotics Team for the 2023 Ri3D season!
- Host: GitHub
- URL: https://github.com/gofirst-robotics/ri3d-2023
- Owner: GOFIRST-Robotics
- License: mit
- Created: 2023-01-04T21:31:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T01:03:54.000Z (over 2 years ago)
- Last Synced: 2025-01-31T00:12:19.693Z (over 1 year ago)
- Topics: frc, java, ri3d, wpilib
- Language: Java
- Homepage:
- Size: 131 MB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ri3D-2023
Official code from UMN Robotics for the 2023 Ri3D/FRC season!
Our subsystems include:
1) **Drivetrain:** We chose to build a tank drive this year, and our drivetrain commands include driving a specified distance, turning to a specified angle using a NavX gyroscope, and best of all, autonomously aiming at an Apriltag target and driving within range of it! We can also self-balance on the charging station using gyroscope pitch as feedback.
2) **Grabber:** We can pick up both cubes and cones with our grabber subsystem, which is controlled by a single pneumatic piston! This subsystem is simple and effective.
3) **Extender:** Our "Extender" subsystem is a custom linear rail system powered by two CIM motors, which extends our grabber to score. It can be controlled both manually and autonomously using an encoder and set positions. Our extender also featiures two big pneumatic pistons for raising/lowering the entire structure.
4) **Vision:** One of the coolest software features we implemented this year is Apriltag tracking! We run a Photonvision pipeline on a Raspberry Pi 3 B+ to detect apriltags, and then we can track and follow either the nearest apriltag or an apriltag with a specified ID.
5) **LED Subsystem:** We also wrote code for controlling RGB LED strips via a REV Blinkin module for some extra bling on our robot!
[](https://youtu.be/eQZTAWonZkg)
How to get set up for FRC programming:
1) Install the latest release of WPILib [here](https://github.com/wpilibsuite/allwpilib/releases)
2) Install the latest NI FRC Game Tools [here](https://www.ni.com/en-us/support/downloads/drivers/download.frc-game-tools.html#473762)
3) Use this open-source repository as a template for your code if you'd like :)
Our project is created using the "Timed Robot" template/style with our code being written in Java.