Skip to content

CurtinFRC/2024-Crescendo

Repository files navigation

CurtinFRC 2024 Codebase

Setup

This assumes that you have the WPILib tools installed. If you do not, follow the instructions here.

Linux

Fork this repository then open up a terminal and run :

git clone https://github.com/*yourusernamehere*/2024-Crescendo.git
cd 2024-Crescendo
chmod +x init
./init

Now look in CONTRIBUTING.md before continuing!

Windows

Fork this repository then open up a terminal and run :

git clone https:\\github.com\*yourusernamehere*\2024-Crescendo.git
cd 2024-Crescendo
.\init

Now look in CONTRIBUTING.md before continuing!

Quick Commands

These commands can be used in a variety of combinations, feel free to experiment!

Build

./gradlew build Build will compile and get the code ready without deploying it. It will also run all automated tests, which is great for testing your code before it ever gets run on a robot (which also means you can build whenever).

./gradlew :Wombat:build Will compile and build the Wombat library. Also runs all of Wombat's inbuilt tests.

Deploy

./gradlew deploy Deploying will build your code (as above), and deploy it to the robot. You have to be connected to the robot for this to work. Just keep in mind that deploying does not run any automated tests

Clean

./gradlew clean Cleaning removes caches of your compiled code. If you do not understand an error it can often help to clean before getting help. Clean building is slower so you should not generally use it.

About

Our code for FRC 2024: CRESCENDO, using Gradle, Wombat, and probably other stuff

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Languages