GithubHelp home page GithubHelp logo

robpl4788 / 2023-chargedup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from curtinfrc/2023-chargedup

0.0 0.0 0.0 125 KB

Our code for FRC 2023: CHARED UP, using multiproject Gradle, and probably other stuff

License: MIT License

C++ 98.30% C 1.70%

2023-chargedup's Introduction

2023-Charged Up

Our code for FRC 2023: CHARGED UP, using multiproject Gradle

Project Setup

All Platforms

  1. Follow the guide for installing wpilibsuite https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/wpilib-setup.html. Be aware of the version you install, as it must be the same as the version for this project, (E.g, 2022.4.1)
  • Note, this is not required if you already have a compiler (VisualCpp/Clang/Gcc) & Java already installed as gradle will download the necessary dependencies for you

Windows

  1. Download Java (JDK 11 for best support https://www.oracle.com/java/technologies/javase-jdk11-downloads.html)

  2. "Desktop development with C++" from VS required for local debugging and simulation support https://visualstudio.microsoft.com/downloads/

  3. After this is complete you can fork or clone the project recursivly to grab the submodules needed for this project. git clone --recurse-submodules https://github.com/CurtinFRC/2023-ChargedUp.git

Linux

  1. Linux requires the build-essentials (GCC, CMake, etc...)

  2. After this is complete you can fork or clone the project recursivly to grab the submodules needed for this project. E.g git clone --recurse-submodules https://github.com/CurtinFRC/2023-ChargedUp.git

Mac

  1. Download Xcode from the app store https://apps.apple.com/au/app/xcode/id497799835?mt=12

  2. After this is complete you can fork or clone the project recursivly to grab the submodules needed for this project. git clone --recurse-submodules https://github.com/CurtinFRC/2023-ChargedUp.git

Project Install/Build

  1. Next we will need to download the roborio toolchain to cross compile the program for linuxathena. (All code in this project by a minimum must compile linuxathena)

    • Navigate to the root directory of this project and run ./gradlew installRoboRioToolchain
  2. Build the project

    • Run ./gradlew build to build and compile all gradle projects
    • (Note: you can run ./gradlew <PROJECT>:build to build a single project)
  3. Inside each projects build.gradle (I.e build.gradle) consists of options on how that project should compile. If desktop support is disabled then the project will only compile and publish shared and static linuxathena builds. If enabled, the project will build for both linuxathena and the current platform. I.e windowsx86-64 & linuxathena.

Main Project

Commands (Robot)

  • Build robot code using ./gradlew 4788:build
  • Deploy robot code using ./gradlew 4788:deploy

Commands (All)

All code is all subprojects contained in this main proect (E.g, 4788, etc...)

  • Clean all code using ./gradlew clean
  • Build all code using ./gradlew build
  • Deploy all code using ./gradlew deploy

2023-chargedup's People

Contributors

jacibrunning avatar goanna247 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.