Camera works with rqt_image_view but not rviz2

asked 2020-04-12 10:48:23 -0500

tleyden2 gravatar image

I'm running, which has the following camera topic:

/simulator/camera_node/image/compressed [sensor_msgs/msg/CompressedImage]

and I'm able to see it using:

ros2 run rqt_image_view rqt_image_view

and selecting that topic:

image description

However if I try to run rviz2 and add the camera by topic:

image description

I don't see any camera view being rendered anywhere:

image description

Is this a bug in rviz2, or am I missing a step?

edit retag flag offensive close merge delete


What is the quality of service, QoS, setting of the publisher?

surfertas gravatar image surfertas  ( 2020-09-06 07:30:06 -0500 )edit

Hi, I have the same issue. Were you able to resolve it. I tried swapping the policy from best effort and reliable but it still does not work.

Tried using two packages:

Mohit Arvind Khakharia gravatar image Mohit Arvind Khakharia  ( 2021-02-18 17:55:42 -0500 )edit

Any luck with this? I am running into the same issue.

vmanchal gravatar image vmanchal  ( 2021-04-19 06:25:23 -0500 )edit