[Documentation] [TitleIndex] [WordIndex

The most common API routines for getting information about your node and working with names are described below.

Accessing Node Information

See also: ros::this_node namespace API docs

ros::this_node::getName()

ros::this_node::getNamespace()

Manipulating Names

See also: ros::names namespace API docs, ros::NodeHandle::resolveName() API docs

std::string ros::NodeHandle::resolveName(const std::string& name, bool remap = true);

std::string ros::names::resolve(const std::string& name, bool remap = true);

std::string ros::names::append(const std::string& left, const std::string& right);

std::string ros::names::clean(const std::string& name);

bool ros::names::validate(const std::string& name, std::string& error);


2024-11-16 17:43