Comments (3)
Correction: It wasn't my malformed udev rule; it's actually running libuvc_ros
with ros-indigo-image-transport-plugins
installed that removes the video4linux device! WTF?
With ros-indigo-image-transport-plugins
installed:
ROS log:
[ INFO] [1484749169.134982418]: Opening camera with vendor=0x2bc5, product=0x501, serial="", index=0
uvc_start_iso_streaming: Busy (-6)
[camera/libuvc_camera-2] process has died [pid 2455, exit code 255, cmd /opt/ros/indigo/lib/libuvc_camera/camera_node __name:=libuvc_camera __log:=/home/orbbec/.ros/log/1e4cebbe-dd89-11e6-983f-5414fd0102ea/camera-libuvc_camera-2.log].
log file: /home/orbbec/.ros/log/1e4cebbe-dd89-11e6-983f-5414fd0102ea/camera-libuvc_camera-2*.log
/var/log/syslog:
Jan 18 15:02:11 localhost kernel: [ 54.168152] usb 1-1.1: usbfs: process 1667 (camera_node) did not claim interface 1 before use
Jan 18 15:02:12 localhost kernel: [ 54.531394] uvcvideo: Found UVC 1.00 device Astra Pro HD Camera (2bc5:0501)
Jan 18 15:02:12 localhost kernel: [ 54.531769] uvcvideo: No streaming interface found for terminal 5.
Jan 18 15:02:12 localhost kernel: [ 54.532005] input: Astra Pro HD Camera as /devices/ff500000.usb/usb1/1-1/1-1.1/1-1.1:1.0/input/input6
/dev/video0 disappears!
Without ros-indigo-image-transport-plugins
installed:
ROS log:
[ INFO] [1484748882.388277588]: Opening camera with vendor=0x2bc5, product=0x501, serial="", index=0
[ WARN] [1484748883.219512724]: Unable to set auto_exposure to 1
[ INFO] [1484748883.514328579]: using default calibration URL
[ INFO] [1484748883.514963481]: camera calibration URL: file:///home/orbbec/.ros/camera_info/camera.yaml
[ INFO] [1484748883.515773366]: Unable to open camera calibration file [/home/orbbec/.ros/camera_info/camera.yaml]
[ WARN] [1484748883.516207619]: Camera calibration file /home/orbbec/.ros/camera_info/camera.yaml not found.
/var/log/syslog:
Jan 18 15:16:17 localhost kernel: [ 728.655397] uvcvideo: Found UVC 1.00 device Astra Pro HD Camera (2bc5:0501)
Jan 18 15:16:18 localhost kernel: [ 728.695291] input: Astra Pro HD Camera as /devices/ff500000.usb/usb1/1-1/1-1.1/1-1.1:1.0/input/input6
... and I have verified that now it produces perfectly good images. Perhaps I should add that this is on an ARM computer (Orbbec Persee) running Ubuntu 14.04 and ROS Indigo, with the latest released version of libuvc_ros
(0.0.7).
Anyway, the usb_cam package doesn't have this problem and works fine with the image transport plugins.
from libuvc_ros.
This happens for me too after I installed ros-indigo-image-transport-plugins
via apt-get. And there's at least one other person with the same problem: http://answers.ros.org/question/243950/ros-libuvc_camera-stopped-working/
After removing all image transport plugins, libuvc_ros
works again. The following command must list only the "raw" transport: rosrun image_transport list_transports
.
This is a bug and should be fixed.
from libuvc_ros.
Actually, it turned out that this bug had a different cause in my case. I had written a syntactically invalid udev rule (forgot a comma), and this caused my webcam not to be recognized as a video4linux device. (This can easily be checked: There was no /dev/video0
symlink, and v4l2-ctl --list-formats-ext
didn't work any more.) After fixing the udev rule, libuvc_ros
works again, also in combination with image_transport_plugins
.
I still have no idea why removing image_transport_plugins
made the error message (uvc_start_iso_streaming: Busy (-6)
) go away, but I was too focused on that error message and haven't checked whether actually any images were published while the video4linux device was missing (probably not).
from libuvc_ros.
Related Issues (20)
- No time stamp HOT 3
- Arducam/ardushield HOT 1
- Melodic release please HOT 2
- uvc_find_device: No such device (-4) error with Ricoh Theta S HOT 6
- Image not rendered correctly HOT 16
- File Descriptor HOT 5
- UVC Extension Units HOT 2
- uvc_start_streaming vs uvc_stream_start HOT 1
- Permission denied opening /dev/bus/usb/003/004 HOT 2
- Using multiple cameras efficiently HOT 9
- Image is all green
- Build issue: uvc_mjpeg2rgb’ was not declared in this scope; did you mean ‘uvc_any2rgb
- Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j12 -l12" failed HOT 3
- Connecting Multiple Camera HOT 14
- Default brightness setting makes image very dark for my integrated camera HOT 1
- About multicamera use HOT 3
- After running the ros launch file, it shows not a jpeg file error and nearly black image
- Release on noetic HOT 5
- Failed to load nodelet '/libuvc_camera` of type `libuvc_camera/driver` to manager `/nodelet_manager'
- Error: e210fffc (The connection between the camera and Jetson becomes unstable.)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuvc_ros.