This repository contains the FRC 9155 team robot code built using the Yet Another General Swerve Library (YAGSL) library. Below, you will find instructions on initializing the project, setting up dependencies, and calibrating the robot.
To set up this project on your local machine, follow these steps:
- Install WPILib
- Install Git
- Install VS Code with WPILib Extension
# Clone the repository
git clone https://github.com/NewTechProgrammers/2025Reefscape.git
cd 2025Reefscape
# Open in VS Code
code .
Ensure all dependencies are installed and then build the project:
./gradlew build
To start a new FRC project with YAGSL:
-
Open VS Code and launch the WPILib extension.
-
Select Create a New Project.
-
Choose SwerveBot as the project template.
-
Configure the team number and package name.
-
Clone the YAGSL Template into your project:
git clone https://github.com/BobTrajectory/YAGSL.git
-
Copy necessary files and integrate them with your project.
-
Modify
build.gradle
to include YAGSL dependencies.
-
Ensure you have the correct dependencies in
build.gradle
:dependencies { implementation 'com.pathplanner:PathPlannerLib:2025.0.0' implementation 'org.frcteam2910:swerve-lib:2025.1.0' }
-
Define your swerve modules properly in your configuration file.
-
Configure motor IDs, encoder offsets, and PID values based on your robot's requirements.
For any issues, feel free to open an issue on this repository or consult the FRC and YAGSL communities!