Giter Site home page Giter Site logo

ra19_robotcode's Introduction

ra19_robotcode's People

Contributors

dracco1993 avatar hayhayek avatar icodecoolstuff avatar rar1741programmer avatar sreeves750 avatar tricktrap avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ra19_robotcode's Issues

Travis can't even DEAL with these CTRE classes

Our Travis tests won't work because we're missing class definitions when the tests execute.

Sample (from https://travis-ci.org/RAR1741/RA19_RobotCode/builds/480570413?utm_source=github_status&utm_medium=notification)

> Task :compileJava FAILED
/home/travis/build/RAR1741/RA19_RobotCode/src/main/java/frc/robot/Drivetrain.java:3: error: package com.ctre.phoenix.motorcontrol does not exist
import com.ctre.phoenix.motorcontrol.ControlMode;

Possible solutions?

  • Include copy of jars in library folder? (this option is the devil)
  • Download, unzip, and use jars directly (slow)
  • Get jars published to maven central (ha ha)
  • Get jars published to some other Maven-compatible location

Robot motor reversals

We need to reverse the motors on the collection system and the lift since those will be corrected on the competition robot (and fixed on the practice robot).

Compressor Code

It's becoming pretty clear that we'll need an onboard compressor for our pneumatic systems. WPILib has provided a simple Compressor class in the past that took care of managing a compressor by turning it on if the pressure in the tank ever fell below 120 PSI.

We should add that class to our robot code. Look, I'm linking the documentation! http://first.wpi.edu/FRC/roborio/release/docs/java/edu/wpi/first/wpilibj/Compressor.html

We need to do a couple of things:

  1. Add an instance of this class to the robot class.
  2. Initialize it in robotInit (probably)

Logging?

Logging was found to be unacceptably slow (between 40-70 milliseconds per iteration) just before a district event, so we took logging out.

  • The camera issue was fixed
  • The robot handling issue was fixed
  • We won our first championship in 14 years

Obviously I want to re-introduce logging.

Recover from Camera Issues

When the camera is addressed in the robot code, but there is no camera, a fatal exception is thrown. We should recover from this gracefully.

Scoring tests are failing

We have a scoring test that isn't working anymore, because that component was commented out / disabled. It's kind of annoying that all of our builds are treated as failures, so we should remove it.

Pneumatic control on test board

Once #11 is done we'll need to actually control a solenoid via the test board. To do this we need a few things:

  • A driver station (use the top ThinkPad)
  • Compressor
  • Compressor code
  • PCM and other pneumatic systems wired
  • Controller
  • Code to use controller to change the status of a solenoid

Ideally we should be able to press a button and have the solenoid/double solenoid toggle on release. For example, someone presses the A button and the solenoid triggers, and the piston extends. That person presses the A button again and it retracts.

See

Clean up and rename Scoring methods

Scoring now has a finger. We also extend/retract backwards to how we used to and it's really really confusing. We should clean the class up so the original semantics apply.

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.