Giter VIP home page Giter VIP logo

robotlib's Introduction

RobotLib

master Build Status  Latest Build Status  Latest Stable Release  MIT License

Overview

RobotLib is the library created and used by Team Arctos containing many common robot utilities to simplify robot programming. It contains everything from logging to XBox controller utilities, and much more.

Usage

Setup

To use this library, first grab the jar from the latest release and put it somewhere in your robot project, say in the lib directory. Then, in build.gradle, under dependencies, add this line: compile files('path/to/jar'). Your new dependencies should look something like this:

dependencies {
    compile wpi.deps.wpilib()
    compile wpi.deps.vendor.java()

    compile files('lib/RobotLib-0.2.0.jar')
    
    nativeZip wpi.deps.vendor.jni(wpi.platforms.roborio)
    nativeDesktopZip wpi.deps.vendor.jni(wpi.platforms.desktop)
    testCompile 'junit:junit:4.12'
}

Documentation

All classes in the public API are documented with Javadocs. For every release, you can find the Javadocs as RobotLib-Doc-<VERSION>.zip.

Thank you to our generous sponsors:

Platinum

TDSB

Gold

Honda Canada Foundation

The Intuitive Foundation


SNC-Lavalin


Ryver

Silver

The Maker Bean Cafe

Bronze

Arbor Memorial

robotlib's People

Contributors

tylertian123 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

robotlib's Issues

Deprecate XboxControllerButtons

The XboxControllerButtons class should be deprecated as the XboxController.Axis and XboxController.Button enums were added in WPILib 2020.2.2.

Add Limelight class

Add a convenience class for working with Limelight smart cameras. The code can be taken from the frc-2020 repo.

Add Teleop Drive command

Since the same drive controls are used every year, it might be good to include a base teleop drive command that provides the basic driving and can be extended by user code.

Deprecate AllOfButton and AnyOfButton

The new command-based programming framework in WPILib for 2020 already includes Trigger.and(Trigger) and Trigger.or(Trigger), which makes these unnecessary. Once WPILib 2020 is released, they should be marked as deprecated.

Set up unit tests

Set up unit tests for classes where possible to make sure the code works.

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.