ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I am not sure if directly subscribing to a compressed image topic and displaying it in rviz is possible. You can use image transport to decompress and then visualize the raw image using
rosrun image_transport republish compressed in:=/camera/rgb/image_raw/compressed out:=/camera/rgb/image_raw
Also if you just want to view the image you can use image_view like
rosrun image_view image_view image:=/camera/rgb/image_raw _image_transport:=compressed
2 | No.2 Revision |
I am not sure if directly subscribing to a compressed image topic and displaying it in rviz is possible. You can use image transport to decompress and then visualize the raw image using
rosrun image_transport republish compressed in:=/camera/rgb/image_raw/compressed in:=/camera/rgb/image_raw out:=/camera/rgb/image_raw
Also if you just want to view the image you can use image_view like
rosrun image_view image_view image:=/camera/rgb/image_raw _image_transport:=compressed
3 | No.3 Revision |
I am not sure if directly subscribing to a compressed image topic and displaying it in rviz is possible. You can use image transport to decompress and then visualize the raw image using
rosrun image_transport republish compressed in:=/camera/rgb/image_raw in:=/camera/rgb/image_raw/compressed out:=/camera/rgb/image_raw
Also if you just want to view the image you can use image_view like
rosrun image_view image_view image:=/camera/rgb/image_raw _image_transport:=compressed
EDIT:
rosrun image_transport republish compressed in:=/camera/rgb/image_raw out:=/camera/rgb/image_raw