Add a method to the LifecycleNode class to get the logging interface (#652)
There are getters for the other interfaces, but the logging interface appears to have been overlooked. Signed-off-by: Michael Jeronimo <michael.jeronimo@intel.com>
This commit is contained in:
parent
c51b28420f
commit
d2d9ad8796
2 changed files with 11 additions and 0 deletions
|
@ -268,6 +268,12 @@ LifecycleNode::get_node_graph_interface()
|
|||
return node_graph_;
|
||||
}
|
||||
|
||||
rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr
|
||||
LifecycleNode::get_node_logging_interface()
|
||||
{
|
||||
return node_logging_;
|
||||
}
|
||||
|
||||
rclcpp::node_interfaces::NodeTimersInterface::SharedPtr
|
||||
LifecycleNode::get_node_timers_interface()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue