ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You cannot use the /camera/rgb/image_raw/compressed
(with sensor_msgs/CompressedImage
) topic there since in the plugin the color image topic requires sensor_msgs/Image
. You will need to decompress the images. For example, try using image_transport
as suggested in this answer:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw
If you are wondering why the in:topic_name
and out:topic_name
are the same, it appears that image transport adds /compressed
to the in:topic_name
2 | No.2 Revision |
You cannot use the /camera/rgb/image_raw/compressed
(with sensor_msgs/CompressedImage
) topic there since in the plugin the color image topic requires sensor_msgs/Image
. You will need to decompress the images. For example, try using image_transport
as suggested in this answer:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw
If you are wondering why the in:topic_name
and out:topic_name
are the same, it appears that image transport adds /compressed
to the in:topic_name
C:\fakepath\raw_compressed.png
3 | No.3 Revision |
You cannot use the /camera/rgb/image_raw/compressed
(with sensor_msgs/CompressedImage
) topic there since in the plugin the color image topic requires sensor_msgs/Image
. You will need to decompress the images. For example, try using image_transport
as suggested in this answer:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw
If you are wondering why the in:topic_name
and out:topic_name
are the same, it appears that image transport adds /compressed
to the in:topic_name
C:\fakepath\raw_compressed.png
4 | No.4 Revision |
You cannot use the /camera/rgb/image_raw/compressed
(with sensor_msgs/CompressedImage
) topic there since in the plugin the color image topic requires sensor_msgs/Image
. You will need to decompress the images. For example, try using image_transport
as suggested in this answer:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw
If you are wondering why the in:topic_name
and out:topic_name
are the same, it appears that image transport adds /compressed
to the in:topic_name
5 | No.5 Revision |
You cannot use the /camera/rgb/image_raw/compressed
(with sensor_msgs/CompressedImage
) topic there since in the plugin the color image topic requires sensor_msgs/Image
. You will need to decompress the images. For example, try using image_transport
as suggested in this answer:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw
or if you have a launch file just add this:
<node name="republish" type="republish" pkg="image_transport" output="screen" args="compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw" />
If you are wondering why the in:topic_name
and out:topic_name
are the same, it appears that image transport adds /compressed
to the in:topic_name
6 | No.6 Revision |
You cannot use the /camera/rgb/image_raw/compressed
(with sensor_msgs/CompressedImage
) topic there since in the plugin the color image topic requires sensor_msgs/Image
. You will need to decompress the images. images and republish them. For example, try using image_transport
as suggested in this answer:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw
or if you have a launch file just add this:
<node name="republish" type="republish" pkg="image_transport" output="screen" args="compressed in:=/camera/rgb/image_raw raw out:=/camera/rgb/image_raw" />
If you are wondering why the in:topic_name
and out:topic_name
are the same, it appears that image transport adds /compressed
to the in:topic_name