Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot show compressed image of which topic is not advertised when selected #69

Open
furushchev opened this issue May 18, 2022 · 0 comments · May be fixed by #70
Open

Cannot show compressed image of which topic is not advertised when selected #69

furushchev opened this issue May 18, 2022 · 0 comments · May be fixed by #70

Comments

@furushchev
Copy link

When an image topic is selected and the topic is still not advertised by its publisher, rqt_image_view subscribes the topic as raw transport ( the type of message is sensor_msgs/Image).
If the topic is advertised as transport other than raw after the subscription, image of the topic never shows up due to message type mismatch ( sensor_msgs/CompressedImage != sensor_msgs/Image ).

To reproduce the issue:

  1. Run image publisher ( i.e. it publishes publisher/image, publisher/image/compressed)

  2. Run rqt_image_view and select publisher/image/compressed (Image shows up)

  3. Kill image publisher, then press refresh button on rqt_image_view (it clear images and turns to grey screen)

  4. Run image publisher again

  5. Image never shows up
    (From the image publisher, the error message is displayed:

    Client [/rqt_gui_cpp_node_4001128] wants topic /publisher/image/compressed to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f]. Dropping connection.
    
@furushchev furushchev linked a pull request May 18, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant