robotpy / robotpy-commands-v2

Python implementation of the WPILib Command Framework (2020+)
Other
1 stars 13 forks source link

Implement missing command framework pieces #28

Open virtuald opened 6 months ago

virtuald commented 6 months ago

We have moved to a pure python command framework for 2024, but it is currently incomplete. Here are the pieces I'm aware of that aren't implemented yet -- though I'm sure there's more.

There are probably more pieces too. I believe there are WPILib updates too.

Ideally PRs that include these features will also include tests ported from allwpilib's java implementation. I've had good success pasting in Java code into ChatGPT and asking it to convert it to Python, and there are other ways to do this also.

virtuald commented 6 months ago

CommandGenericHID does not inherit from GenericHID, which breaks JoystickButton (expects a getRawButton function to exist).

TheTripleV commented 6 months ago

I think that's on purpose. The java one doesn't inherit either