Skip to content

Commit

Permalink
Reflect changes in rclcpp API (ros2#1079)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Prajakta Gokhale authored and Joshua Hampp committed Apr 22, 2020
1 parent 97e49f1 commit 3d50acc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/node_interfaces/node_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion rclcpp_lifecycle/src/lifecycle_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
Expand Down

0 comments on commit 3d50acc

Please sign in to comment.