Giter Site home page Giter Site logo

frc6854 / viking Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 260 KB

Common FRC Java library for FRC 6854

Home Page: http://team6854.com

License: MIT License

Java 100.00%
frc ctre robots wrapper csv jitpack limelight leds library first-robotics-competition

viking's Introduction

VIKING

Build Status

Reusable Systems for Robots A common library of useful classes and systems intended to be used for all Team 6854 robots The JitPack is based off of FRC 1540s library ROOSTER and you can go check it out here.

VIKING library content

Controller

viking.Controller

Includes support for XBox One Controller with pre-made inverts for proper values.

CSV Reader

viking.logging.CSVReader

Read paths and other data from CSV files.

CSV Writer

viking.logging.CSVWriter

Writes CSVs to record data for debugging purposes.

Limelight

viking.vision.Limelight

A wrapper for the Limelight using NetworkTables.

OI

viking.OI

Arduino Serial connection wrapper for LEDs, Date/Time formatter, and DriverStation code.

Swerve Wheel Drive

viking.controllers.SwerveWheelDrive

Modular speed controller for our swerve robot since we don't have enough of one motor controller.

VikingSPX

viking.controllers.ctre.VikingSPX

Wrapper for VictorSPX from CTRE. Includes easy to use controls + ability to follow master controllers.

VikingSRX

viking.controllers.ctre.VikingSPX

Wrapper for TalonSRX from CTRE. Includes easy to use controls + closed-loop control + motion profiling.

VikingMAX

viking.controllers.rev.VikingMAX

Wrapper for CANSparkMAX from REV Robotics. Includes easy to use controls + closed-loop control + smart motion + follower controllers.

ColorSensor

viking.controllers.rev.ColorSensor

Wrapper for ColorSensorV3 from REV Robotics. Comes with matcher for detecting colours from the sensor output.

Math

viking.math

Full of math functions for swerve and other things.

MotionProfileUtil

viking.motion.MotionProfileUtil

Motion profile utility.

Logging

viking.Logging

Logging library, log to stdio or file with timestamp.

Installation

Add the library by adding these lines in your build.gradle file:

repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.FRC6854:VIKING:<latest-release-tag>'
}

Make sure you have the following vendordeps added to your project.

  • Phoenix
  • REVColorSensorV3
  • REVRobotics

We use JitPack as a Gradle/Maven repository. This means that if you add the project using Gradle it will be automatically updated with the latest changes to the master branch, as well as source code and documentation .jar files.

If you want to see an example for how this is installed, check out the 2021 Infinite Recharge Robot code and look in the build.gradle file.

viking's People

Contributors

at104 avatar dart513 avatar jasonbrave avatar raminh05 avatar towner-10 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

at104 ow1e

viking's Issues

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.