remove warning message from failing to register default callback (#1067)

Signed-off-by: Miaofei <miaofei@amazon.com>
This commit is contained in:
Miaofei Mei 2020-04-17 12:56:26 -07:00 committed by GitHub
parent ee6ab95cfc
commit 911291f8d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View file

@ -97,11 +97,7 @@ public:
},
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().

View file

@ -132,11 +132,7 @@ public:
},
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
}
}