Function nav2_util::generate_internal_node

Function Documentation

rclcpp::Node::SharedPtr nav2_util::generate_internal_node(const std::string &prefix = "")

Creates a node with a name as generated by generate_internal_node_name.

Creates a node with the following settings:

  • name generated by generate_internal_node_name

  • no parameter services

  • no parameter event publisher

Parameters:

prefix[in] A string to help understand the purpose of the node.

Returns:

A shared_ptr to the node.