Skip to content
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

[wpiutil,cscore,apriltag] Fix RawFrame #6098

Merged
merged 9 commits into from
Dec 27, 2023

Conversation

PeterJohnson
Copy link
Member

RawFrame was broken in multiple ways, e.g. use-after-free in AprilTag. Fix up API and use cases.

@PeterJohnson PeterJohnson requested review from a team as code owners December 26, 2023 18:26
@PeterJohnson PeterJohnson linked an issue Dec 26, 2023 that may be closed by this pull request
@PeterJohnson PeterJohnson force-pushed the fix-rawframe branch 2 times, most recently from bc16bcb to dbf780f Compare December 26, 2023 18:38
@mcm001
Copy link
Contributor

mcm001 commented Dec 26, 2023

Other comment, do we have any unit tests to compare pixels against a known good tag image? Might be good to catch similar shenanigans to the instigating issue, but obviously not required

@PeterJohnson
Copy link
Member Author

Test added.

@PeterJohnson PeterJohnson merged commit 5659038 into wpilibsuite:main Dec 27, 2023
27 checks passed
@PeterJohnson PeterJohnson deleted the fix-rawframe branch December 27, 2023 04:05
r4stered pushed a commit to r4stered/allwpilib that referenced this pull request Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java 36h11 generated image is just noise
4 participants