The most common API routines for getting information about your node and working with names are described below.
Accessing node information
rospy.get_name()
- Get the fully-qualified name of this node
rospy.get_namespace()
- Get the namespace of this node
rospy.get_node_uri()
- Get the XMLRPC URI of this node
Manipulating Names
Advanced users: For a node-independent library for manipulating ROS names, please see roslib.names.
rospy.resolve_name(name, caller_id=None, remap=True)
Resolve a name, including remapping, unless remap is False. To resolve a name relative to a different node name (aka "caller ID"), use the caller_id parameter.






