Team 3952's robot for the 2023 Season "FIRST Charged Up" using Java and the WPILib library.
- You NEED to have Java installed on your local system. Either download Oracle JDK or OpenJDK
- You need a code editor, preferably Visual Studio Code or IntelliJ IDEA
- You must have Git installed
- Run the WPILib Installer this will include all the needed VSCode plugins and all of the NI software tools. Make sure to download the correct file for your operating system (Windows users download "WPILib_Windows-2023.2.1.iso" and start the install .EXE)
- Open a Bash shell and clone
$ git clone https://github.com/FRCteam3952/FRC2023.git- OR Clone this repo either through the green download button, or from the GitHub Desktop app
- Clone the project into a known folder location
- The WPILib VSCode extension should automatically detect the project so you can start editing
- Run
./gradlewto download gradle and needed FRC/Vendor libraries - Run
./gradlew buildto build the code. Use the--infoflag for more details - To deploy code into the robot, you must first connect to the robot's Wi-Fi network then run
./gradlew deploy - It is recommended to run the clean task before deploying again to clear previous deployed binaries run
./gradlew clean deploy
- Run
./gradlew testto run all of the JUnit tests - Run
./gradlew tasksto see available options If you run into any gradle errors remember to check your java installation path
- Read documentation for WPILib
- Check the current issues page
- Previous examples
- Add a comment to explain what your contributed code does
- Ask for help!