ros-visualization / rqt_image_view

http://wiki.ros.org/rqt_image_view
25 stars 59 forks source link

ROS2 Foxy rqt_image_viewer does not show any image #36

Closed Michael-Equi closed 4 years ago

Michael-Equi commented 4 years ago

OS: Ubuntu 20.04 Build Type: Debian and from source (commit: 510fe2085a2c491496f3ca7eebf2537203928ad6)

I have tested the rqt_image_viewer using ros2 run rqt_image_view rqt_image_view and the versions listed above with both simulated (using the ros2 navigation turtlebot3 simulation and my own robot sim) and real cameras which all had proper output of both camera_info and image_raw or equivalent topics. The rqt_image_viewer never shows any image or outputs any error although topics are correctly detected and filtered in the selection utility. The nested image viewer in rviz2 appears to have the same issues so not sure exactly if the problem originates here or with another dependency.

Michael-Equi commented 4 years ago

Upon doing a bit more experimentation, it looks to be an issue with the rqt_image_viewer's subscriber qos profile. When adjusted on rviz to a best effort policy I am able to receive view the images without issue.

dirk-thomas commented 4 years ago

This is a fairly generic limitation / issues. Please see ros-visualization/rqt#187. I will go ahead and close this ticket as a duplicate.

hurtadosanti commented 3 years ago

Upon doing a bit more experimentation, it looks to be an issue with the rqt_image_viewer's subscriber qos profile. When adjusted on rviz to a best effort policy I am able to receive view the images without issue.

This fix my problem