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

Search for USB cams in RoboConUSBCamera instead of just assuming /dev/video0 #41

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

scorbett123
Copy link

Copy link
Member

@Minion3665 Minion3665 left a comment

Choose a reason for hiding this comment

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

I've made suggestions that together will dynamically get the number of the camera rather than needing to hardcode video0 and video1 (as well as checking for a USB camera rather than against a pi camera).

Please check them over and commit them if you feel they add value @scorbett123

scorbett123 and others added 2 commits November 10, 2022 13:38
search all of /dev/videoX
Check whether a camera is a USB cam instead of not being a pi cam

Co-authored-by: Skyler <[email protected]>
Forgot this

Co-authored-by: Skyler <[email protected]>
@Minion3665 Minion3665 requested a review from shardros November 10, 2022 13:42
Copy link
Member

@Minion3665 Minion3665 left a comment

Choose a reason for hiding this comment

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

Looks good to me and seems to work. Thank you very much!

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.

3 participants