Package node_manager_fkie :: Module common
[frames] | no frames]

Module common

source code

Functions
str
get_ros_home()
Returns the ROS HOME depending on ROS distribution API.
source code
str
masteruri_from_ros()
Returns the master URI depending on ROS distribution API.
source code
 
get_packages(path) source code
 
resolve_paths(text)
Searches in text for $(find ...) statements and replaces it by the package path.
source code
(name, path)
package_name(path)
Returns for given directory a tuple of package name and package path or None values.
source code
 
is_package(file_list) source code
Variables
  MANIFEST_FILE = 'manifest.xml'
  PACKAGE_FILE = 'package.xml'
  CATKIN_SUPPORTED = True
  PACKAGE_CACHE = {}
  __package__ = 'node_manager_fkie'
Function Details

get_ros_home()

source code 

Returns the ROS HOME depending on ROS distribution API.

Returns: str
ROS HOME path

masteruri_from_ros()

source code 

Returns the master URI depending on ROS distribution API.

Returns: str
ROS master URI

resolve_paths(text)

source code 

Searches in text for $(find ...) statements and replaces it by the package path.

Returns:
text with replaced statements.

package_name(path)

source code 

Returns for given directory a tuple of package name and package path or None values. The results are cached!

Returns: (name, path)