-
Notifications
You must be signed in to change notification settings - Fork 291
Make various refactors to clean up codebase #1830
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c90fb5b
Delete unused classes and remove unused code
Gold856 9aa9432
Make HardwareConfig a record
Gold856 7f86514
Use text blocks
Gold856 92d8443
Refactor how AprilTag images are made in sim
Gold856 2878fac
Refactor FileSaveFrameConsumer to close objects and let Java handle p…
Gold856 a9aa372
Remove blacklistedResIndices from HardwareConfig
Gold856 d8f413e
Use toList instead of collect(Collectors.toList()) when the list is d…
Gold856 e9193b2
Use Math.hypot instead of Math.sqrt(a^2 + b^2)
Gold856 260733c
Use nicer array syntax
Gold856 1f9d448
Remove unnecessary assignment
Gold856 7451e3b
Refactor switch case
Gold856 deb2f22
Refactor instanceof
Gold856 029f035
Always statically import JUnit Assertions
Gold856 1780b5e
Use Timer object to calculate FPS
Gold856 8b06ac0
Use CameraServer directly instead of duplicating its functionality
Gold856 dfb5ad8
Use WPILib Pair and drop dependency on Apache Commons Pair
Gold856 44ad9d6
Move various printTestResults methods to TestUtils
Gold856 8a708b9
Make NMDeviceInfo a record
Gold856 cf5f5da
Make pipe params into records
Gold856 9eea399
Refactor QuirkyCamera
Gold856 9d9c00b
Miscellanous clean up
Gold856 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
31 changes: 0 additions & 31 deletions
31
photon-core/src/main/java/org/photonvision/common/dataflow/events/HTTPRequestEvent.java
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.