Template Function nav2_util::declare_parameter_if_not_declared(NodeT, const std::string&, const rclcpp::ParameterType&, const rcl_interfaces::msg::ParameterDescriptor&)
Defined in File node_utils.hpp
Function Documentation
-
template<typename NodeT>
void nav2_util::declare_parameter_if_not_declared(NodeT node, const std::string ¶m_name, const rclcpp::ParameterType ¶m_type, const rcl_interfaces::msg::ParameterDescriptor ¶meter_descriptor = rcl_interfaces::msg::ParameterDescriptor()) Declares static ROS2 parameter with given type if it was not already declared.