Coder Social home page Coder Social logo

harry695 / nrgrobot2024 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nrg948/nrgrobot2024

1.0 0.0 0.0 580 KB

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

License: Other

Java 100.00%

nrgrobot2024's Introduction

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" 

nrgrobot2024's People

Contributors

thakurnilesh307 avatar edreed avatar nrg948driverstation avatar pranavdasan avatar harry695 avatar reshmawinter avatar audreyz19 avatar ehehing avatar saiawe2024 avatar griffey07 avatar jeannrg avatar snowingbutspam avatar space9999 avatar 101zh avatar cj-plusplus avatar guestuser1000101 avatar omg577 avatar zzeezz1127 avatar hi-21 avatar nakoaw avatar nikitawarrier avatar sonali-coelho avatar sunn5 avatar thegreatergoo avatar virus666qq avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.