Conversation
- Use Autopilot for speed calculations, better than PID - Less nesting in CommandSwerveDrivetrain.followObject(), but still a lot (may want to consider changing if possible). - Compensate for camera position not at origin of robot.
Lots of changes here: - Remove slow() option, handle that internally for drivetrain like spin rate. - Add max distance for algae detection (but not logging) - Auton to steal algae, very cool.
- Filter algae pose results to better smooth out bad values - Still unsure why lollipops were failing. More testing is needed.
…ment of the algae height constants, once when estimating distance). Resulted in halved X and Y coordinates of algae in simulation. Removed halving in estimateDistance, and now simulation looks nicer. Need to test with real bot.
…5_Reefscape into algae-tracking
- In order for this to become a viable option, we need to account for the fisheye warp of the lens. cool idea tho
- This helps us, if we want, to parallelize driving and prepping for a net score.
(which didn't work because of the swap to Autopilot)
Now they don't use tracking, which is good seeing as it's unreliably bad for lollipops right now. Still want to implement some form of timeout for lollipop intake tho
This means that as long as the button is pressed down, the alignment command will continue to try to correct for error. We'll have to see if this is a good solution, but I guess we'll find out.
- This makes is more obvious these buttons aren't useful
bczdog
approved these changes
Sep 29, 2025
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.
This PR merges changes from Kettering. IDK why this wasn't merged already...