Skip to content

NRG948/NRGRobot2023

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NRGRobot 2023

The robot code of FRC Team 948 - Newport Robotics Group for FIRST Robotics Competition 2023 CHARGED UP presented by Haas game.

Setup

  1. Install Git from https://git-scm.org.

  2. Follow the instructions at WPILib Installation Guide to install the FRC development environment.

  3. Clone the repository.

    • Windows

      PS> git clone https://github.com/NRG948/NRGRobot2023.git
    • Linux/MacOS

      • Create an SSH key if you do not already have one.

        $ ssh-keygen -t rsa

        Press ENTER to accept the default location.

        Enter a passphrase and press ENTER, or simply press ENTER to use no passphrase.

      • Clone the repository.

        $ git clone git@github.com:NRG948/NRGRobot2023.git
  4. Create a personal access token with only packages:read scope.

  5. Add the following entries to $HOME/.gradle/gradle.properties replacing USERNAME with your GitHub user name and TOKEN with the token value itself.

    gpr.user=USERNAME
    gpr.key=TOKEN

Build

To build the robot code, use the "WPILib: Build Robot Code" command from the WPILib menu in Visual Studio Code, or run the following command from a command-line:

  • Windows

    PS> ./gradlew build -Dorg.gradle.java.home="C:\Users\Public\wpilib\2023\jdk" 
  • Linux/MacOS

    $ ./gradlew build -Dorg.gradle.java.home="~/wpilib/2023/jdk" 

NOTE: When using external library SNAPSHOTs, you may need to explicitly refresh the Gradle build cache to pickup changes. In that case, include the --refresh-dependencies option in in your build command.

Deploy

To deploy the robot code, use the "WPILib: Deploy Robot Code" command from the WPILib menu in Visual Studio Code, or run the following command from a command-line:

  • Windows

    PS> ./gradlew deploy -Dorg.gradle.java.home="C:\Users\Public\wpilib\2023\jdk" 
  • Linux/MacOS

    $ ./gradlew deploy -Dorg.gradle.java.home="~/wpilib/2023/jdk" 

About

The robot code of FRC Team 948 - Newport Robotics Group for FIRST Robotics Competition 2023 CHARGED UP presented by Haas game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages