ros-visualization / rqt_image_view

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

Avoid redeclaring parameter #50

Closed wep21 closed 3 years ago

wep21 commented 3 years ago

When compressed image is subscribed, mode is declared as parameter. https://github.com/ros-perception/image_transport_plugins/blob/0565f23dc955fa2d56cffcfebc63de5a97cd005f/compressed_image_transport/src/compressed_subscriber.cpp#L76 This causes an exception as below when a topic of compressed image is chosen again as a subscription topic. terminate called after throwing an instance of 'rclcpp::exceptions::ParameterAlreadyDeclaredException' what(): parameter 'mode' has already been declared

wep21 commented 3 years ago

@mabelzhang Could you check this?

wep21 commented 3 years ago

@mabelzhang friendly ping.

wep21 commented 3 years ago

@mabelzhang Thank you for your comment. I will create a new PR to image_transport_plugins.