-
Notifications
You must be signed in to change notification settings - Fork 61
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
초기 카메라 연결 시 에러 발생 문제 #26
Comments
제공된 Example: opencv-basic_1MGN 소스와 ROS코드를 빌드하여 제 PC에서 테스트를 진행하였습니다.
현재 위에서 말한 현상대로 물리적 연결을 끊거나 하지 않은상태에서 진행하였습니다. 2개의 카메라를 번갈아가면서 총 5개를 테스트 하였으나 재현되지 않았습니다. (현재까지도 카메라를 켜놓고 테스트 진행 중입니다.) |
사용중인 OS: ubuntu 18.04 lsusb -v 를 입력하였을 때 아래와 같이 나옵니다. Transfer Type 이 Bulk 로 나오는 경우, 문제가 발생할 수 있다고 들었는데 혹시 isochronous 로 변경하는 방법은 무엇인가요? |
카메라 펌웨어 버전 : oCam-1MGN-U-T-R2006.img (해당 이미지는 T : 트리거 모드를 의미 합니다.)
|
트리거가 달려있는 모델이라서 해당 펌웨어를 사용했는데 그러면 무조건 트리거없는 모델의 펌웨어를 사용해야하나요??
2022년 3월 8일 (화) 오전 11:41, fungofljm ***@***.***>님이 작성:
… 카메라 펌웨어 버전 : oCam-1MGN-U-T-R2006.img (해당 이미지는 T : 트리거 모드를 의미 합니다.)
- 카메라 펌웨어가 잘못 됬습니다. 위 펌웨어의 경우 Bulk로 동작을 합니다.
oCam-1MGN-U-R1906.img 펌웨어의 경우
- USB 2.0 : Bulk
- USB 3.0 : Isochronous
로 동작 합니다.
—
Reply to this email directly, view it on GitHub
<#26 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AII33P2RWSF3THHYWVYSEYLU62465ANCNFSM5PVVYWSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
withrobot@withrobot.com 메일로 펌웨어를 참조해서 보낼 예정입니다. |
제공받은 Example: opencv-basic_1MGN 을 사용하면 초기 카메라 연결 시, 항상 다음과 같은 에러가 2번 발생합니다.
error number: 11
Cannot get image from camera: Resource temporarily unavailable
error number: 11
Cannot get image from camera: Resource temporarily unavailable
또한 제공 받은 example내의 ROS코드를 기반으로 코드를 작성하여도 초기에 카메라를 연결하면 위와 같이 꼭 2회 에러가 발생합니다.
DBG_PRINTF를 켜면
DBG: [withrobot_camera.cpp, 863, get_buffer] Warning :: Different buffer size. v4l2: 0, User: 921600
이라는 메시지가 나옵니다.
보통의 경우 에러 발생이후 문제는 없이 돌아가지만 가끔씩 동작중에 발생하여 에러 복구가 안되어서 프로그램을 재시작해야 하는 경우가 발생합니다. 위의 에러가 발생하였을 때, 커널로그를 확인해 보면 항상 다음과 같은 내용이 나옵니다.
uvcvideo: Non-zero status (-71) in video completion handler.
해당 에러가 왜 발생하는지 알고싶습니다.
The text was updated successfully, but these errors were encountered: