Skip to content

dave-oregan/2021-robot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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%