Skip to content

503's Public Code release for Infinite Recharge Pt 2

Notifications You must be signed in to change notification settings

FF503/2021Robot-Public

Repository files navigation

Robot 2021

Public Release for Frog Force 503's 2021 robot: "AZack of the Clones". A Zack of the Clones' code is written in Java and is based off of WPILib's Java control system.

Setup Instructions

General

  1. Clone this repo
  2. Run ./gradlew to download gradle and needed FRC/Vendor libraries
  3. Run ./gradlew tasks to see available options
  4. Enjoy!

Visual Studio Code (Official IDE)

  1. Get the WPILib extension for easiest use from the VSCode Marketplace - Requires Java 11 or greater
  2. In .vscode/settings.json, set the User Setting, java.home, to the correct directory pointing to your JDK 11 directory

IntelliJ

  1. Run ./gradlew idea
  2. Open the robot-2021.ipr file with IntelliJ

Eclipse

  1. Run ./gradlew eclipse
  2. Open Eclipse and go to File > Open Projects from File System...
  3. Set the import source to the robot-2021 folder then click finish

Basic Gradle Commands

  • Run ./gradlew deploy to deploy to the robot in Terminal (*nix) or Powershell (Windows)
  • Run ./gradlew build to build the code. Use the --info flag for more details

Code Highlights

Variable Naming Conventions

  • k*** (i.e. kDriveWheelTrackWidthInches): Final constants, especially those found in the Constants.java file
  • m*** (i.e. mPathFollower): Private instance variables

About

503's Public Code release for Infinite Recharge Pt 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages