GithubHelp home page GithubHelp logo

southeugeneroboticsteam / deepspace-2019 Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 294 KB

SERT's code for the 2019 Deep Space game

License: MIT License

Kotlin 100.00%
frc 2019 deep-space robot slam vision kotlin meanlib

deepspace-2019's People

Contributors

andrewda avatar gnawinganimal avatar will-hou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deepspace-2019's Issues

Make climber buttons more difficult to access

It'd be bad to climb accidentally before we're ready, so we should make sure it's only activated if some confirmation button is held, too:

({ getButton(12) && getButton(14) }).whenTrue { Climber.runClimbSequence(ClimberState.LEVEL_3) }
({ getButton(12) && getButton(15) }).whenTrue { Climber.runClimbSequence(ClimberState.LEVEL_2) }

Maybe?

Add ability to abort climber

Should just completely stop the climber from running at all, letting it drop down to the ground using gravity in case something goes wrong. @Jamdan2

Add logic to vision alignment

If we have a game piece, align with vision target. If we don't have game piece, put claws out, align with vision target, and close claws.

Add joystick input mode

Allow switching between Joystick and Controller mode for driving, configurable through Shuffleboard.

Update controls

The control spreadsheet has been updated in the Team Drive

Add cargo auto

We should have another selector for whether we want to do Hatch Panel or Cargo auto. If Cargo, run conveyor while doing first path.

Log `isDSConnected`

Would be good to know when the DS disconnects if we're having difficulties in a match

Override reset function in subsystems

A subsystem's reset() function will be called after every use() {} completes, and is nicer than having to remember to add a try/finally around every block.

Add ability to abort auto alignment

Ideally it will auto-abort when driver starts to drive. Maybe can cancel the current coroutine context if joystick input > 0.05 or something? Worst case scenario, just add an abort button (click in on left thumb stick?).

Analyze impact of IO logging on robot performance

There were some people on Discord saying that logging to the RIO/USB drive was really intensive due to the RIO's CPU not handling IO operations very well. We're recording logs at 10Hz and everything's done in its own coroutine so it likely isn't a huge deal, but we should asses whether it's worth the risk, or if removing the logging improves performance at all. Worst case scenerio we just record the telemetry values through Shuffleboard instead of the USB drive.

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.