-
Notifications
You must be signed in to change notification settings - Fork 23
Add examples to repo, run tests in CI #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Update examples to use more realistic drivetrain physics model
Add python 3.7 testing for travis
Reformat examples using black
shuffleboard: Fix copyright year
Update magicbot examples to use variable annotation syntax
Add pre-commit config
Based on wpilibsuite/allwpilib#6053, I updated the following examples: - Armbot - ArmBotOffboard - DifferentialDriveBot - GyroDriveCommands - FrisbeeBot - HatchbotInlined - HatchbotTraditional - RamseteCommand - RamseteController These are all of the available examples from said PR that could be updated.
Update Physics4Wheel
Update ROMI/XRP examples to use run-romi/run-xrp
2d56f2d to
88e4d4a
Compare
- Most of this was done with Codex so there may be some errors, but I manually reviewed all of it
|
You did see robotpy/examples#133 where I started working on updating the examples right? |
|
.. nope |
| # LED Data | ||
| self.ledData = [wpilib.AddressableLED.LEDData() for _ in range(kLEDBuffer)] | ||
| def __init__(self) -> None: | ||
| super().__init__() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we were keeping robotInit for Python, per wpilibsuite/allwpilib#6623 (comment)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well. I definitely forgot about that.
I manually reviewed most of the changes. However, the best way to review this would probably be looking at the individual commits since I'm keeping the whole history of the example repo.
... oh, there's some AI slop in state space examples, I need to revert that, will have to do it tomorrow.