Open chenjunnn opened 2 years ago
When I try the following code:
// hpp image_transport::SubscriberFilter color_img_sub_filter_; image_transport::SubscriberFilter depth_img_sub_filter_; // cpp color_img_sub_filter_.subscribe( this, "/camera/color/image_raw", "compressed", rmw_qos_profile_sensor_data); depth_img_sub_filter_.subscribe( this, "/camera/aligned_depth_to_color/image_raw", "compressed", rmw_qos_profile_sensor_data);
it terminated with:
terminate called after throwing an instance of 'rclcpp::exceptions::ParameterAlreadyDeclaredException' what(): parameter 'mode' has already been declared
This bug is mentioned here: https://github.com/ros-perception/image_transport_plugins/pull/82 If anyone meets the same problem, please check the above PR.
When I try the following code:
it terminated with: