Camera works with rqt_image_view but not rviz2
I'm running autoware.auto, 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:
However if I try to run rviz2 and add the camera by topic:
I don't see any camera view being rendered anywhere:
Is this a bug in rviz2, or am I missing a step?
Asked by tleyden2 on 2020-04-12 10:48:23 UTC
Comments
What is the quality of service, QoS, setting of the publisher?
Asked by surfertas on 2020-09-06 07:30:06 UTC
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: https://github.com/ros-perception/image_pipeline/blob/f2142aa30c9678960f12f57d320a0dee17a3b594/image_publisher/cfg/ImagePublisher.cfg
https://github.com/surfertas/ros2_ipcamera/blob/master/src/ipcamera_component.cpp
Asked by Mohit Arvind Khakharia on 2021-02-18 18:55:42 UTC
Any luck with this? I am running into the same issue.
Asked by vmanchal on 2021-04-19 06:25:23 UTC