Giter Site home page Giter Site logo

frc-2018-offseason's Introduction

The 2018 Off-season Project

    ██╗    ██╗ █████╗ ██████╗ ██████╗ ███████╗
    ██║    ██║██╔══██╗██╔══██╗██╔══██╗╚════██║
    ██║ █╗ ██║███████║██████╔╝██████╔╝    ██╔╝
    ██║███╗██║██╔══██║██╔══██╗██╔═══╝    ██╔╝ 
    ╚███╔███╔╝██║  ██║██║  ██║██║        ██║  
     ╚══╝╚══╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝        ╚═╝  

Project Organization

This project uses the Gradle Multi-Project build system to manage separable and/or reusable portions of the code into various projects. The :commons project includes reusable code used by all robot code and can be included by specifying compile project(":commons") in the dependencies

Setup and Deploy

This project uses GradleRIO, a build plugin that will become official in 2019. It automatically downloads the required libraries and can manage multiple sub-projects. It also lets us use any IDE to develop our robot code.

Important

GradleRIO uses https://raw.githubusercontent.com to download some of its libraries, however it's blocked by the school board's network policy. It may be necessary to perform builds at home whenever the libraries change so they can be properly downloaded

Required Software

Java (Version 8, not higher) is the language used for this project. Download it here: Java Development Kit. Git is needed for making commits and pushing to Github. We also need the FRC Update Suite for the Driver Station, RoboRIO Imaging Tool, and the mDNS driver for connecting to the robot network, as well as the Radio Configuration Utility.

Preferred Environment

The preferred IDE for this project is IntelliJ IDEA (Version 2018.2 or higher). There are Documentation for how to setup a Gradle project.

Download Code

Open IntelliJ and select "Check out from Version Control > Git". In the dialog, Log into a GitHub account that has access to the repo and paste https://github.com/Team865/FRC-2018-Offseason.git. Click ok to download the code. IntelliJ will ask if you will want to import the build.gradle file. Either import it now, or go to "Import Project" from the start screen later and choose build.gradle

Import project into IntelliJ

A setup dialog is shown to import the gradle project Leave the setup options as-is, but change the "Use default gradle wrapper (Recommended)" to "Use gradle wrapper function" and check "Auto Import". If it's asking for Gradle JVM, select your java installation folder that should start with "jdk" and is usually in "C:\Program Files\Java". Click next and it will create the project files and download the libraries

Using IntelliJ to Build and Deploy

Find the Gradle Tab in IntelliJ (shown by Navigate > Tool Buttons), there is list of tasks available for gradle to run. Find the specific module/project to be built and navigate to Tasks > build > build under that module. Run it by double clicking. It will download all the required libraries. At this point the project is ready for programming. To deploy, run the task at Tasks > embeddedTools > deploy.

frc-2018-offseason's People

Contributors

evanbialo avatar lemkeben avatar yuliu2016 avatar

Watchers

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