8000 Verify WPILib/OpenCV versions at runtime by mcm001 · Pull Request #1772 · PhotonVision/photonvision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Verify WPILib/OpenCV versions at runtime #1772

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 4 commits into from
Feb 11, 2025
Merged

Conversation

mcm001
Copy link
Contributor
@mcm001 mcm001 commented Feb 10, 2025

Closes #1770

@mcm001 mcm001 requested a review from a team as a code owner February 10, 2025 21:02
@mcm001 mcm001 self-assigned this Feb 10, 2025
@mcm001
Copy link
Contributor Author
mcm001 commented Feb 10, 2025

CC @Gold856

Copy link
Collaborator
@Gold856 Gold856 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI passes.

@Gold856
Copy link
Collaborator
Gold856 commented Feb 10, 2025

Oh, and link #1770 so it gets closed when the PR is merged.

Copy link
Member
@spacey-sooty spacey-sooty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcm001 mcm001 merged commit 8f816cf into PhotonVision:main Feb 11, 2025
36 checks passed
@@ -157,6 +159,76 @@ public PhotonCamera(NetworkTableInstance instance, String cameraName) {

// HACK - start a TimeSyncServer, if we haven't yet.
TimeSyncSingleton.load();

// HACK - check if things are compatible
verifyDependencies();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to do this in C++ and Python as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ggezwp. Yeah. But this gets us 80% of the way there.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, I'll open a follow up for you

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.

Runtime Version Check of Vendor Dependencies
3 participants
0