-
Notifications
You must be signed in to change notification settings - Fork 196
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
Matching cameras by path ID #1015
Conversation
010ba55
to
c1d7167
Compare
How much work is it to add a unit test that fails with the old system but passes now? Bonus points if we can copy paths and stuff from some physical cameras |
I don't have much experience with unit tests but I can give it a shot. Doesn't sound complex |
20ef5d9
to
6c0ad18
Compare
I added a couple asserts that fail on an older version
|
6c0ad18
to
3f7efee
Compare
3f7efee
to
b7bd586
Compare
Any updates on testing this? |
See "Multicam Test" here |
Cool. So the only gripes you have are with the calibration side, correct? I can probably take a look at downloading/sharing calibration data between cameras when I have some time, but I imagine that's outside the scope of this PR. |
I would agree, and argue the current system is working as intended. If this code works any reason not to merge now? |
This is not my doc, its from @asid61. I think the calibration should be downloadable/uploadable as mentioned, which would be a separate pr. |
Don't see a reason personally if you feel it's safe to merge |
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.
We ball
Allows multiple cameras of the same model to be used while ensuring they stay tied to the physical camera and not the port. Matching occurs when first connecting cameras so swapping the ports while PV is running will swap the virtual cameras until a restart. Currently only tested on Linux.