From 476e99f6de429ef893319b394cdb6177df6b3239 Mon Sep 17 00:00:00 2001 From: Prajakta Gokhale Date: Mon, 20 Apr 2020 15:22:37 -0700 Subject: [PATCH 1/2] Reflect changes in rclcpp API Signed-off-by: Prajakta Gokhale --- rclcpp_lifecycle/src/lifecycle_node.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rclcpp_lifecycle/src/lifecycle_node.cpp b/rclcpp_lifecycle/src/lifecycle_node.cpp index 973ec04270..0d6330b4cd 100644 --- a/rclcpp_lifecycle/src/lifecycle_node.cpp +++ b/rclcpp_lifecycle/src/lifecycle_node.cpp @@ -62,7 +62,8 @@ LifecycleNode::LifecycleNode( namespace_, options.context(), *(options.get_rcl_node_options()), - options.use_intra_process_comms())), + options.use_intra_process_comms(), + options.enable_topic_statistics())), node_graph_(new rclcpp::node_interfaces::NodeGraph(node_base_.get())), node_logging_(new rclcpp::node_interfaces::NodeLogging(node_base_.get())), node_timers_(new rclcpp::node_interfaces::NodeTimers(node_base_.get())), From ec57aba5587df1cc9e74957ef308d0d5b2e80068 Mon Sep 17 00:00:00 2001 From: Prajakta Gokhale Date: Tue, 21 Apr 2020 11:35:09 -0700 Subject: [PATCH 2/2] Revert earlier fix made in rclcpp Signed-off-by: Prajakta Gokhale --- rclcpp/include/rclcpp/node_interfaces/node_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclcpp/include/rclcpp/node_interfaces/node_base.hpp b/rclcpp/include/rclcpp/node_interfaces/node_base.hpp index 9816325bff..c21514ff97 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_base.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_base.hpp @@ -43,7 +43,7 @@ class NodeBase : public NodeBaseInterface rclcpp::Context::SharedPtr context, const rcl_node_options_t & rcl_node_options, bool use_intra_process_default, - bool enable_topic_statistics_default=false); + bool enable_topic_statistics_default); RCLCPP_PUBLIC virtual