Skip to content

Commit

Permalink
remove warning message from failing to register default callback (#1067)
Browse files Browse the repository at this point in the history
Signed-off-by: Miaofei <miaofei@amazon.com>
  • Loading branch information
mm318 committed Apr 17, 2020
1 parent ee6ab95 commit 911291f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions rclcpp/include/rclcpp/publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ class Publisher : public PublisherBase
},
RCL_PUBLISHER_OFFERED_INCOMPATIBLE_QOS);
} catch (UnsupportedEventTypeException & /*exc*/) {
RCLCPP_WARN_ONCE(
rclcpp::get_logger(rcl_node_get_logger_name(rcl_node_handle_.get())),
"This rmw implementation does not support ON_OFFERED_INCOMPATIBLE_QOS "
"events, you will not be notified when Publishers offer an incompatible "
"QoS profile to Subscriptions on the same topic.");
// pass
}
}
// Setup continues in the post construction method, post_init_setup().
Expand Down
6 changes: 1 addition & 5 deletions rclcpp/include/rclcpp/subscription.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,7 @@ class Subscription : public SubscriptionBase
},
RCL_SUBSCRIPTION_REQUESTED_INCOMPATIBLE_QOS);
} catch (UnsupportedEventTypeException & /*exc*/) {
RCLCPP_WARN_ONCE(
rclcpp::get_logger(rcl_node_get_logger_name(node_handle_.get())),
"This rmw implementation does not support ON_REQUESTED_INCOMPATIBLE_QOS "
"events, you will not be notified when Subscriptions request an incompatible "
"QoS profile from Publishers on the same topic.");
// pass
}
}

Expand Down

0 comments on commit 911291f

Please sign in to comment.