Reflect changes in rclcpp API (#1079)

* Reflect changes in rclcpp API

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Revert earlier fix made in rclcpp

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>
This commit is contained in:
Prajakta Gokhale 2020-04-21 14:14:47 -07:00 committed by GitHub
parent 679196880e
commit 649d72f835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -43,7 +43,7 @@ public:
rclcpp::Context::SharedPtr context, rclcpp::Context::SharedPtr context,
const rcl_node_options_t & rcl_node_options, const rcl_node_options_t & rcl_node_options,
bool use_intra_process_default, bool use_intra_process_default,
bool enable_topic_statistics_default=false); bool enable_topic_statistics_default);
RCLCPP_PUBLIC RCLCPP_PUBLIC
virtual virtual

View file

@ -62,7 +62,8 @@ LifecycleNode::LifecycleNode(
namespace_, namespace_,
options.context(), options.context(),
*(options.get_rcl_node_options()), *(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_graph_(new rclcpp::node_interfaces::NodeGraph(node_base_.get())),
node_logging_(new rclcpp::node_interfaces::NodeLogging(node_base_.get())), node_logging_(new rclcpp::node_interfaces::NodeLogging(node_base_.get())),
node_timers_(new rclcpp::node_interfaces::NodeTimers(node_base_.get())), node_timers_(new rclcpp::node_interfaces::NodeTimers(node_base_.get())),