GithubHelp home page GithubHelp logo

Utility library about robotpy-wpilib HOT 6 CLOSED

robotpy avatar robotpy commented on September 2, 2024
Utility library

from robotpy-wpilib.

Comments (6)

computer-whisperer avatar computer-whisperer commented on September 2, 2024

What utility classes do you have in mind?

from robotpy-wpilib.

virtuald avatar virtuald commented on September 2, 2024

The stuff in this directory: https://github.com/frc1418/2014/tree/master/robot/robot/src/common (the autonomous thing enables simple autonomous state machines like this)

And this file (need to refactor): https://github.com/frc1418/2014/blob/master/robot/robot/src/autonomous/__init__.py

... and I think that's it for now. There's some stuff from previous years too I need to dig through. But, I can imagine other people having useful utility code that would be useful to contribute.

from robotpy-wpilib.

computer-whisperer avatar computer-whisperer commented on September 2, 2024

I was thinking about what a wpilib expansion API could do for stuff like this. Something that could, with an import statement, automatically integrate libraries like that state machine into the standard robot class. If it was built right, it would mean minimal code addition to the wpilib tree, while allowing easy drop-in extensions to it.

from robotpy-wpilib.

virtuald avatar virtuald commented on September 2, 2024

Why would it need to be builtin to wpilib? Why not just another package that exists on the robot system?

from robotpy-wpilib.

computer-whisperer avatar computer-whisperer commented on September 2, 2024

I had some ideas of what might use that functionality, but then I realized what a nightmare it would be to debug.

from robotpy-wpilib.

virtuald avatar virtuald commented on September 2, 2024

I've started the package in a public repository, will actually add content in the future.

from robotpy-wpilib.

Related Issues (20)

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.