-
Programming is focusing on organizing different groups to work on different subsystems/ideas via branches. Our latest code is always developed in seperate dev branches before being tested and merged back into master. Explore different specialized branches for your interest. If a certain subsystem is not being developed in a specific branch, it has either been worked on or not yet.
-
If you are interested in deploying our Robot/Auto code, we advise you to use the master branch instead of others, as they are experimental and may (will) cause issues. Use other branches at your own risk.
-
Our drivetrain is made up of 4 SDSMK4-l3.5 swerve drives with NEO brushless motors for rotation and propulsion and CTRE CanCoders to measure wheel rotation.
-
This project uses a command-based structure. You can read more about WPILib command-based programming in the WPILib Docs.
Before anything, make sure:
- WPILib is installed
- Git for Windows or Git (Linux/macOS) is installed
- Network on device is connected to your robot
Now we are going to retrieve the code from this repository to deploy it.
- Open your terminal and enter the command:
git clone https://github.com/frc461/Rowdy24.git
- Once it finishes cloning, open WPILib VSCode Client and open the cloned folder as a project.
- Check our vendor dependencies to confirm that they are installed.
- Press
ctrl
+shift
+P
to open up a VSCode menu, then type in 'Deploy'. Pressenter
.
- Phoenix v6: https://pro.docs.ctr-electronics.com/en/stable/docs/installation/installation-frc.html
- RevLib 2024: https://software-metadata.revrobotics.com/REVLib-2024.json
- Pathplanner 2024: https://3015rangerrobotics.github.io/pathplannerlib/PathplannerLib.json
- WPIlib New Commands 1.0: Pre-installed with WPIlib
To install (or check installation):
- Open WPILib VSCode Client and open the cloned folder as a project.
- Press
ctrl
+shift
+P
to open up a VSCode menu, then type in 'Manage Vendor Libraries'. Pressenter
. - Indicate the button 'Install new library (online)', and use each link to install/check installation.
To update, follow above steps until Step 3, and then indicate the button 'Check for updates (online)'.
If you do use another code editor than VSCode, follow instructions by the WPILib extension on that code editor via Gradle.