Comments (6)
What utility classes do you have in mind?
from robotpy-wpilib.
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.
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.
Why would it need to be builtin to wpilib? Why not just another package that exists on the robot system?
from robotpy-wpilib.
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.
I've started the package in a public repository, will actually add content in the future.
from robotpy-wpilib.
Related Issues (20)
- Command based robot? HOT 1
- Reported segfault in SmartDashboard.putStringArray HOT 3
- TrajectoryGenerator and SplineParameterizer don't get units type caster
- Design physics/simulation support HOT 2
- Add Swerve Drive support HOT 5
- Auto-generated type annotations? HOT 2
- Broken link in readme.md
- 2021 - import wpilib and sim issues after pip install -U robotpy[all] HOT 2
- SmartDashboard::putData doesn't keep objects alive HOT 10
- CTRL-C in gui on Linux segfaults HOT 1
- wpilib.shuffleboard not implemented HOT 4
- `OSError: Failure` on Linux HOT 2
- Fix Mechanism2D HOT 2
- wpilib.simulation.DCMotorSim missing
- [BUG]: OSError with robotpy-hal library HOT 1
- Unable to find wpilib.shuffleboard in 2021 or 2022 libraries HOT 3
- [BUG]: makeCompressor crashes HOT 1
- [BUG]: Broken Implementation of WPILib SPI HOT 7
- [BUG]: Exceptions from startCompetition don't terminate code on roboRIO HOT 2
- [BUG]: bad error message for SpeedControllerGroup construction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotpy-wpilib.