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
Member
|
You did see robotpy/examples#133 where I started working on updating the examples right? |
Member
Author
|
.. nope |
auscompgeek
reviewed
Jan 18, 2026
| # LED Data | ||
| self.ledData = [wpilib.AddressableLED.LEDData() for _ in range(kLEDBuffer)] | ||
| def __init__(self) -> None: | ||
| super().__init__() |
Member
There was a problem hiding this comment.
I thought we were keeping robotInit for Python, per wpilibsuite/allwpilib#6623 (comment)?
Member
Author
There was a problem hiding this comment.
Well. I definitely forgot about that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.