Skip to content

One combined repository for Popcorn Penguins 6238 in the 2021 Infinite Recharge Season

Notifications You must be signed in to change notification settings

6238/2021-unified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

2021-unified

One combined repository for Popcorn Penguins 6238 in the 2021 Infinite Recharge Season

Table of Contents

  1. Installations
  2. Sample Repositories
  3. Using WPILib and Visual Studio Code

Installations

Install tools in this order:

  1. WPILib
  2. LabVIEW
  3. FRC Game Tools
  4. FRC Radio Configuration
  5. 3rd Party Libraries
  6. REV Hardware Client

WPILib

(macOS/Windows/Linux, required)

Necessary to write & deploy code.
https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/wpilib-setup.html

LabVIEW

(Windows only, not recommended)

Necessary to do LabVIEW coding. Completely unnecessary for the Popcorn Penguins. If you decide to do this, you must do it before installing the FRC Game Tools and the 3rd Party Libraries. https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/labview-setup.html

FRC Game Tools

(Windows only, optional)

Necessary if you want to control the robot. https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/frc-game-tools.html

FRC Radio Configuration 20.0.0

(Windows only, optional)

Necessary to program the robot radios. https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-3/radio-programming.html

3rd Party Libraries

(macOS/Windows/Linux, required)

Offline installers are preferred (allows you to install once for all the robot projects you create)
https://docs.wpilib.org/en/stable/docs/software/vscode-overview/3rd-party-libraries.html#libraries

REV Hardware Client

(Windows only, optional)

Used to configure the Spark MAX's and other REV hardware, this can also be achieved through code. https://docs.revrobotics.com/sparkmax/rev-hardware-client/getting-started-with-the-rev-hardware-client

Sample Repositories

List of repositories with example code:

Using WPILib and Visual Studio Code

Adding libraries to a WPILib project

  • Open an existing WPILib project or create a new one
  • Open the Command Palette (Cmd + Shift + P on macOS, Ctrl + Shift + P on Windows/Linux, or click the hexagon "W" icon in the top right)
  • Search for and run "WPILib: Manage Vendor Libraries"
  • Click "Install new libraries (Offline)"
  • Check the boxes next to the libraries you want to install (ex. "CTRE-Phoenix")
  • Click the blue "OK" button at the top right of the command palette dialog
  • Click "Yes" at the dialog asking to build the project
  • WARNING: In 2020 and beyond, the WPILib-New-Commands library is added to command-based projects by default. Do not install both the WPILib-New-Commands and WPILib-Old-Commands libraries in the same project.

About

One combined repository for Popcorn Penguins 6238 in the 2021 Infinite Recharge Season

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages