FIRST-Tech-Challenge / SkyStone

FTC SDK
https://www.firstinspires.org/robotics/ftc/what-is-first-tech-challenge
277 stars 1.04k forks source link

Error on third turn on external camera #121

Closed JNUTONGNIU closed 4 years ago

JNUTONGNIU commented 5 years ago

This error occurs when we turn on the external camera for the third time on the cell phone used by our team. please give your comment ,Please advise the solution

Error

Windwoes commented 5 years ago

I have a strong feeling this is related to this: https://github.com/ftctechnh/ftc_app/issues/681

JNUTONGNIU commented 5 years ago

I have a strong feeling this is related to this: ftctechnh/ftc_app#681

thank you for your help,I wonder if you can solve this problem now?You said you would integrate your own UVC driver, if possible, please also provide us, because we are now difficult to solve!Thank you very much.

Windwoes commented 4 years ago

@JNUTONGNIU I never did get around to integrating a 3rd party UVC driver myself.... I have no knowledge of USB and my knowledge of C/C++ is pretty limited, and I decided it wasn't really worth the time since simply unplugging and replugging the camera allows it to run again. So if you unplug and replug the camera before each match it will work out OK.

JNUTONGNIU commented 4 years ago

@JNUTONGNIU我从来没有自己集成过第三方UVC驱动程序。...我不了解USB,而且我对C / C ++的了解非常有限,而且我认为从拔掉插头开始就不值得花时间了然后重新插上相机,即可重新运行。因此,如果您在每次比赛前都拔下相机并重新插上电源,它将正常工作。

Ok, thank you very much for your help