Closed wep21 closed 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
terminate called after throwing an instance of 'rclcpp::exceptions::ParameterAlreadyDeclaredException' what(): parameter 'mode' has already been declared
@mabelzhang Could you check this?
@mabelzhang friendly ping.
@mabelzhang Thank you for your comment. I will create a new PR to image_transport_plugins.
image_transport_plugins
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