Skip to content
No description, website, or topics provided.
Java Python
Branch: master
Clone or download
Kaboomboom3 and SunnyBat Worlds Changes (#54)
* Adds mirroring for paths

* Adds setting drivetrain position to values other than (0, 0)

* Adds tests for mirroring path segments

* Practice field changes

* Practice field changes

* Makes tests pass

* Changes made at worlds

* Fixes indentation and removes extra comma

* Fixes comments in path
Latest commit 2a0aba7 May 11, 2019

README.md

FRC Team 2910 Common code repository

This repository contains code that is shared between applications and robots that are created by FRC Team 2910, Jack in the Bot. The repository itself is currently split into two parts: common and robot. The common library contains code that does not depend on FIRST's WPILib, meaning it can run as a part of desktop applications. The robot library contains code that depends on WPILib and should only be ran on robots.

How to use in another project

The common library is imported into a project by using Git submodules. In order to add this project as a submodule run git submodule add https://github.com/FRCTeam2910/Common.git jester in your project's root directory. This will clone this repository into the directory jester.

Using the Common library

A dependency on the common library can be created by adding the following to your build.gradle file:

dependencies {
    ...
    compile project(':jester')
    ...
}

The following also needs to be added to your settings.gradle file:

include ':jester'

Using the Robot library

A dependency on the robot library can be created by adding the following to your build.gradle file:

plugins {
    ...
    id 'edu.wpi.first.GradleRIO' version '<GRADLERIO_VERSION>'
    ...
}
...
dependencies {
    ...
    compile project(':jester:robot')
    ...
}

Replace <GRADLERIO_VERSION> with the version of GradleRIO you want to use.

NOTE: The common library does not need to be an explicit dependency because it is a dependency of the robot library.

The following also needs to be added to your settings.gradle file:

include ':jester'
include ':jester:robot'
You can’t perform that action at this time.