Home | Trees | Indices | Help |
---|
|
Library for manipulating ROS Names. See http://ros.org/wiki/Names.
Functions | |||
|
|||
str |
|
||
str |
|
||
str |
|
||
bool |
|
||
|
|||
str |
|
||
str |
|
||
dict {str: str} |
|
||
|
|||
|
|||
|
|||
str |
|
||
|
|||
|
Function Details |
|
Resolve a local name to the caller ID based on ROS environment settings (i.e. ROS_NAMESPACE)
|
Convert name to a global name with a trailing namespace separator.
|
Test if name is a global graph resource name.
|
Test if name is a private graph resource name.
|
Get the namespace of name. The namespace is returned with a trailing slash in order to favor easy concatenation and easier use within the global context.
|
Join a namespace and name. If name is unjoinable (i.e. ~private or /global) it will be returned without joining
|
Load name mappings encoded in command-line arguments. This will filter out any parameter assignment mappings.
|
Check if name is a legal ROS name for graph resources (alphabetical character followed by alphanumeric, underscore, or forward slashes). This constraint is currently not being enforced, but may start getting enforced in later versions of ROS.
|
Validates that name is a legal base name for a graph resource. A base name has no namespace context, e.g. "node_name". |
Put name in canonical form. Extra slashes '//' are removed and name is returned without any trailing slash, e.g. /foo/bar
|
Resolve a ROS name to its global, canonical form. Private ~names are resolved relative to the node name.
|
Name resolver for scripts. Supports :envvar:`ROS_NAMESPACE`. Does not support remapping arguments. :param name: name to resolve, ``str`` :param script_name: name of script. script_name must not contain a namespace., ``str`` :returns: resolved name, ``str`` |
Generate a ROS-legal 'anonymous' name
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Mar 7 03:44:33 2017 | http://epydoc.sourceforge.net |