rviz how to refresh an image

asked 2021-01-28 08:42:29 -0500

Kansai gravatar image

I have gotten to show an image in rviz. My program publishes a topic sensor_msgs::Image image and the image is shown in rviz.

However when my program publishes another image, the image is not refreshed in rviz.

image description

Notice that under Image you can clearly see "3 images received" and a queue size??

My question is , how do I refresh the image?

edit retag flag offensive close merge delete

Comments

1

this should usually refresh every time you get a new message on the subscribed topic. Might it be that your program is publishing the same image again?

mgruhler gravatar image mgruhler  ( 2021-01-29 01:02:02 -0500 )edit

@Kansai which project are you using? I see you apply object detection on sensor_msgs/Image? Can you share it?

Petros ADLATUS gravatar image Petros ADLATUS  ( 2022-05-12 03:36:46 -0500 )edit