Undocumented
Function | is |
Validates that name is a legal resource base name. A base name has no package context, e.g. "String". |
Function | is |
Check if name is a legal ROS name for filesystem 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. |
Function | normalize |
Undocumented |
Function | package |
Split a name into its package and resource name parts, e.g. 'std_msgs/String -> std_msgs, String' |
Function | resource |
Convert package name + resource into a fully qualified resource name |
Function | resource |
pkg/typeName -> typeName, typeName -> typeName |
Function | resource |
pkg/typeName -> pkg, typeName -> None |
Constant | BASE |
Undocumented |
Constant | PRN |
Undocumented |
Constant | RESOURCE |
Undocumented |
Validates that name is a legal resource base name. A base name has no package context, e.g. "String".
Check if name is a legal ROS name for filesystem 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.
@param name: Name @type name: str
Split a name into its package and resource name parts, e.g. 'std_msgs/String -> std_msgs, String'
@param name: package resource name, e.g. 'std_msgs/String' @type name: str @return: package name, resource name @rtype: str @raise ValueError: if name is invalid
Convert package name + resource into a fully qualified resource name
@param res_pkg_name: name of package resource is located in @type res_pkg_name: str @param name: resource base name @type name: str @param my_pkg: name of package resource is being referred to
in. If specified, name will be returned in local form if res_pkg_name is my_pkg
@type my_pkg: str @return: name for resource @rtype: str
pkg/typeName -> typeName, typeName -> typeName
Convert fully qualified resource name into the package-less resource name @param name: package resource name, e.g. 'std_msgs/String' @type name: str @return: resource name sans package-name scope @rtype: str