Skip to content

The robot code of FRC Team 948 - Newport Robotics Group for FIRST Robotics Competition 2024 CRESCENDO presented by Haas game.

License

Notifications You must be signed in to change notification settings

somecoderdude1/NRGRobot2024

This branch is up to date with NRG948/NRGRobot2024:main.

Folders and files

NameName
Last commit message
Last commit date
Mar 23, 2024
Jan 14, 2024
Jan 7, 2024
Feb 5, 2024
Jan 7, 2024
Sep 22, 2024
Sep 21, 2024
Jan 14, 2024
Feb 19, 2024
Feb 19, 2024
Jan 12, 2024
Mar 16, 2024
Jan 11, 2024
Jan 7, 2024
Jan 7, 2024

Repository files navigation

NRGRobot 2024

The robot code of FRC Team 948 - Newport Robotics Group for FIRST Robotics Competition 2024 CRESCENDO 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/NRGRobot2024.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 [email protected]:NRG948/NRGRobot2024.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\2024\jdk" 
  • Linux/MacOS

    $ ./gradlew build -Dorg.gradle.java.home="~/wpilib/2024/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\2024\jdk" 
  • Linux/MacOS

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

About

The robot code of FRC Team 948 - Newport Robotics Group for FIRST Robotics Competition 2024 CRESCENDO presented by Haas game.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%