Code for our 2023 competition robot 🤖.
We use two joysticks and one ps3 controller to control the robot:
- 2 x Thrustmaster T16000M (
leftJoystick
andrightJoystick
) - 1 x ZD-V+ Gaming Controller (
altJoystick
)
Gradle allows us to build and deploy our Java code to the robot
- Right-click on the
build.gradle
file in Visual Studio Code and pressBuild Robot Code
to build the code - Fix any problems that come up and repeat steps 1 and 2 until the terminal says BUILD SUCCESSFUL
- A common problem that may come up has to do with formatting, which is shown by the error
Execution failed for task ':spotlessJavaCheck'
. You can fix this problem by running./gradlew :spotlessApply
in a terminal window
- A common problem that may come up has to do with formatting, which is shown by the error
- Connect to the robot’s wifi
- Right-click on the
build.gradle
file in Visual Studio Code and pressDeploy Robot Code
to deploy the code