Skip to content

🤖 Code for our 2021 competition robot.

License

Notifications You must be signed in to change notification settings

dave-oregan/2021-robot

This branch is up to date with frc1418/2021-robot:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d276cd5 · Apr 15, 2021

History

97 Commits
Jan 30, 2021
Jan 30, 2021
Mar 22, 2021
Apr 15, 2021
Jan 16, 2021
Jan 23, 2021
Apr 14, 2021
Feb 27, 2021
Mar 22, 2021
Dec 15, 2020
Jan 23, 2021
Feb 9, 2021
Jan 16, 2021
Jan 16, 2021
Feb 9, 2021

Repository files navigation

2021-robot

🤖 Code for our 2021 competition robot.

Controls

We use three total joysticks to control the robot:

  • 2 x Logitech Attack 3 (joystick_left and joystick_right)
  • 1 x Logitech Extreme 3D Pro (joystick_alt)

Run Code With Gradle

Gradle allows us to build and deploy our Java code to the robot

  1. Right-click on the build.gradle file in Visual Studio Code and press Build Robot Code
  2. Select the Java Build from the dropdown at the top to build the code
  3. Fix any problems that come up and repeat steps 1 and 2 until the terminal says BUILD SUCCESSFUL
    1. 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
  4. Connect to the robot’s wifi
  5. Right-click on the build.gradle file in Visual Studio Code and press Deploy Robot Code
  6. Select the Java Build from the dropdown at the top to deploy the code

About

🤖 Code for our 2021 competition robot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.3%
  • Python 2.7%