-
Notifications
You must be signed in to change notification settings - Fork 240
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
Conversation
CC @Gold856 |
There was a problem hiding this 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.
Oh, and link #1770 so it gets closed when the PR is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -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(); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Closes #1770