ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It seems that the normal image is processed by the image_transport plugin that normally expects depth images only.

I solved the issue for me by disabling the plugin as described in the answer to this question: https://answers.ros.org/question/255970

The launch file I've ended up using roughly goes like this:

<launch>
    <group ns="camera/front">
        <!-- launch camera -->
        <node pkg="libuvc_camera" type="camera_node" name="camera_node">
            <!-- parameters here -->
        </node>

        <!-- disable compressed depth plugin for image transport -->
        <group ns="image_raw">
            <rosparam param="disable_pub_plugins">
              - 'image_transport/compressedDepth'
            </rosparam>
        </group>
    </group>
</launch>

It seems that the normal image is processed by the image_transport plugin that normally expects depth images only.only, after the topic *compressedDepth* is first subscribed, e.g. by rosbag record -a.

I solved the issue for me by disabling the plugin as described in the answer to this question: https://answers.ros.org/question/255970

The launch file I've ended up using roughly goes like this:

<launch>
    <group ns="camera/front">
        <!-- launch camera -->
        <node pkg="libuvc_camera" type="camera_node" name="camera_node">
            <!-- parameters here -->
        </node>

        <!-- disable compressed depth plugin for image transport -->
        <group ns="image_raw">
            <rosparam param="disable_pub_plugins">
              - 'image_transport/compressedDepth'
            </rosparam>
        </group>
    </group>
</launch>

It seems that the normal image is processed by the an image_transport plugin that normally expects depth images only, after the topic *compressedDepth* is first subscribed, e.g. by rosbag record -a.

I solved the issue for me by disabling the plugin as described in the answer to this question: https://answers.ros.org/question/255970

The launch file I've ended up using roughly goes like this:

<launch>
    <group ns="camera/front">
        <!-- launch camera -->
        <node pkg="libuvc_camera" type="camera_node" name="camera_node">
            <!-- parameters here -->
        </node>

        <!-- disable compressed depth plugin for image transport -->
        <group ns="image_raw">
            <rosparam param="disable_pub_plugins">
              - 'image_transport/compressedDepth'
            </rosparam>
        </group>
    </group>
</launch>

It seems that the normal image is processed by an image_transport plugin that normally expects depth images only, after the topic *compressedDepth* is first subscribed, e.g. by rosbag record -a.

I solved the issue for me by disabling the plugin as described in the answer to this question: https://answers.ros.org/question/255970https://answers.ros.org/question/255970 The topics that produce the errors then disappear, and I can safely record everything without triggering these errors.

The launch file I've ended up using roughly goes like this:

<launch>
    <group ns="camera/front">
        <!-- launch camera -->
        <node pkg="libuvc_camera" type="camera_node" name="camera_node">
            <!-- parameters here -->
        </node>

        <!-- disable compressed depth plugin for image transport -->
        <group ns="image_raw">
            <rosparam param="disable_pub_plugins">
              - 'image_transport/compressedDepth'
            </rosparam>
        </group>
    </group>
</launch>

It seems that the normal image is processed by an image_transport plugin that normally expects depth images only, after the topic *compressedDepth* is first subscribed, e.g. by rosbag record -a.

I solved the issue for me by disabling the plugin as described in the answer to this question: https://answers.ros.org/question/255970 https://answers.ros.org/question/255970 (and here: https://github.com/ros-drivers/usb_cam/issues/55). The topics that produce the errors then disappear, and I can safely record everything without triggering these errors.

The launch file I've ended up using roughly goes like this:

<launch>
    <group ns="camera/front">
        <!-- launch camera -->
        <node pkg="libuvc_camera" type="camera_node" name="camera_node">
            <!-- parameters here -->
        </node>

        <!-- disable compressed depth plugin for image transport -->
        <group ns="image_raw">
            <rosparam param="disable_pub_plugins">
              - 'image_transport/compressedDepth'
            </rosparam>
        </group>
    </group>
</launch>