Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Configuration not detecting external webcam Serial #638

Closed
webcamqn opened this issue Nov 12, 2018 · 6 comments
Closed

Configuration not detecting external webcam Serial #638

webcamqn opened this issue Nov 12, 2018 · 6 comments

Comments

@webcamqn
Copy link

We are trying to use an external camera for mineral detection. The configuration file detects the webcam, however, most of the time, the identified serial number is 0.0 which causes the program to error. We are able to resolve the issue by scanning for usb devices repeatedly, but haven't been able to identify a root cause. Any suggestions would be a great help.

@gearsincorg
Copy link
Collaborator

Several questions:

What Webcam are you using?
What phone are you using?
Are you using a powered hub? (What kind)
How have you configured the USB connection?

@webcamqn
Copy link
Author

webcamqn commented Nov 12, 2018

Thanks for the quick followup

Phone: Moto G4

Camera: ELP 170 Degree Wide Angle USB 5 Megapixel Webcam for Portable Video System : Link

USB Hub: TUSITA Micro USB HUB Adaptor with Power: Link

Configuration:: See attached picture.
20181112_092219

@kev626
Copy link

kev626 commented Dec 27, 2018

My team is having this exact problem as well
Phone: Moto E4

Camera Logitech C170

USB Hub: Recommended Anker hub with backpowering setup

Configuration is identical

@gearsincorg
Copy link
Collaborator

@kev626 mentioned "back powering".
Exactly how are you both feeding power into the hub? Are you sending power into the charger port? from where?

@kev626
Copy link

kev626 commented Dec 29, 2018

I'm taking power from the +5V port on the rev hub and sending it to the charge port on the USB hub according to this guide: https://github.com/ftctechnh/ftc_app/wiki/Using-an-External-UVC-Camera-and-a-Powered-USB-Hub#usb-hub

@ftctechnh
Copy link
Owner

Fixed with a pull request that has been tested and merged into the private ftc_sdk repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants