usb_cam
usb_cam copied to clipboard
ERROR Compressed Depth Image Transport
running usb_cam (newest version), Ubuntu 14.04, ROS Indigo
Error occurs after recording data with rosbag record -a
SUMMARY
========
PARAMETERS
* /image_view/autosize: True
* /rosdistro: indigo
* /rosversion: 1.11.19
* /usb_cam/camera_frame_id: usb_cam
* /usb_cam/image_height: 480
* /usb_cam/image_width: 640
* /usb_cam/io_method: mmap
* /usb_cam/pixel_format: yuyv
* /usb_cam/video_device: /dev/video0
NODES
/
image_view (image_view/image_view)
usb_cam (usb_cam/usb_cam_node)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[usb_cam-1]: started with pid [30444]
process[image_view-2]: started with pid [30445]
[ INFO] [1465419489.717901867]: Using transport "raw"
[ INFO] [1465419489.953802266]: using default calibration URL
[ INFO] [1465419489.953882988]: camera calibration URL: file:///home/rcac/.ros/camera_info/head_camera.yaml
[ INFO] [1465419489.953986649]: Unable to open camera calibration file [/home/rcac/.ros/camera_info/head_camera.yaml]
[ WARN] [1465419489.954051934]: Camera calibration file /home/rcac/.ros/camera_info/head_camera.yaml not found.
[ INFO] [1465419489.954087595]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS
[ WARN] [1465419490.113573670]: unknown control 'focus_auto'
[ERROR] [1465419494.835902836]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: rgb8).
Do you know a solution?
It appears you can't use rosbag record -a - Bad Things happen when you try to subscribe to the compressedDepth topics.
There is a workaround to disable image_transport from publishing compressedDepth in the first place: https://answers.ros.org/question/255970/how-to-deactivate-image_transport-plugins/ - but it would be nice if rosbag was still more robust against it.
compressedDepth topics
what's the use of compressedDepth topics
@shubham-shahh i think it's for publishing compressed depth images (float or 16bit images)
http://wiki.ros.org/compressed_depth_image_transport
imagine if a depth camera followed the V4L protocol, then you could use this usb_cam package for that depth camera.
@shubham-shahh i think it's for publishing compressed depth images (float or 16bit images)
http://wiki.ros.org/compressed_depth_image_transport
imagine if a depth camera followed the V4L protocol, then you could use this usb_cam package for that depth camera.
actually, my cam is publishing compressedDepth topics so I am trying to understand how can I utilize the depth info. If I try to echo those topics, I get no info and the error mentioned in the question of this topic.
thanks for the info
@shubham-shahh if you have no news and proposals for this issue, I will consider closing it in the near future. usb_cam
is dedicated to processing flat images using libavcodec
, so the issue is more about the secondary packages and the mentioned external issues are closed now.