Coder Social home page Coder Social logo

infiniterecharge's Introduction

Infinite Recharge

The official repository of Team 6090's 2020 infinite recharge code, vision, and dashboard configurations.

To whom it may concern, a text file of all of our joystick button and axis mappings can be found in JoystickMap.txt

Downloading

Download the source code with this command:

    $ git clone --recursive https://github.com/Team6090/InfiniteRecharge

The --recursive flag is important; it downloads all the submodule dependencies. If you did a regular git clone, then make sure you

    $ git submodule init
    $ git submodule update

to download the submodules.

Every once and a while (or whenever you're asked), you should run

    $ git submodule foreach git pull

To update the submodule code, ensuring you have the latest version.

Building & Deploying

For the impatient: just run this command in the root of the repository to build the code:

    $ ./gradlew clean build -PuseSubmodules

If you want to deploy the code, run this command:

    $ ./gradlew clean build deploy -PuseSubmodules

Our workflow guide can be found here

Common Issues

  • Gradle may fail to resolve some dependencies. If this happens, you'll need to run this command to manually download them:

      $ gradle downloadAll
    
  • Gradle may not be able to find Java. Make sure you add java to the system path, and set the JAVA_HOME environment variable. You may have to restart your IDE after making these changes.

Local Dependencies

The following dependencies have been set up to be built from source:

In the event you want to use a local copy of all of the above projects, specify the useSubmodules property to use the local source instead of the Maven dependencies.

For example:

    $ gradle clean build -PuseSubmodules

This command will compile and include a local copy of the projects so that you can make modifications and whatnot to the source code on your disk, then include the changes in your robot code. The projects are git submodules, so use git to keep them up to date.

Competition Checklist

  • Update Laptops
    • Windows Update
    • Code (always git pull)
    • See the versions table for software updates
  • Ensure laptop functionality
    • Driver Station
    • Dashboard
    • Code can be modified and deployed
  • Charge laptops

Limelight Configurations

As well as code, this repository contains the LimeLight configurations used at competitions. These are found in the limelight-conf/ directory. Each .vpr file is a pipeline, and can be uploaded to a Limelight for immediate use. As the Limelight configurations change, these pipeline files are updated.

Shuffleboard

Shuffleboard is the experimental dashboard used this season. The exact layout used is in shuffleboard.json. As the Shuffleboard layout is changed, this file is updated.

Contributing

Please view our Code Of Conduct and our Contributing Guide.

Contributors

  • Jordan Bancino
  • Ethan Snyder
  • Collin Heavner

infiniterecharge's People

Contributors

jordanbancino avatar chizzle877 avatar ethan-ss-nyder avatar

Watchers

James Cloos 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.