Utility module of roslaunch that extracts dependency information from roslaunch files, including calculating missing package dependencies.
Class |
|
Represents dependencies of a roslaunch file. |
Exception |
|
Base exception of roslaunch.depends errors. |
Function | calculate |
Calculate missing package dependencies in the manifest. This is mainly used as a subroutine of roslaunch_deps(). |
Function | fullusage |
Undocumented |
Function | parse |
Undocumented |
Function | print |
Undocumented |
Function | rl |
Generate file_deps file dependency info for the specified roslaunch file and its dependencies. @param file_deps: dictionary mapping roslaunch filenames to |
Function | roslaunch |
@param packages: list of packages to check @type packages: [str] @param files [str]: list of roslaunch files to check. Must be in |
Function | roslaunch |
Undocumented |
Constant | NAME |
Undocumented |
Function | _check |
Undocumented |
Function | _get |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Calculate missing package dependencies in the manifest. This is mainly used as a subroutine of roslaunch_deps().
@param base_pkg: name of package where initial walk begins (unused). @type base_pkg: str @param missing: dictionary mapping package names to set of missing package dependencies. @type missing: { str: set(str) } @param file_deps: dictionary mapping launch file names to RoslaunchDeps of each file @type file_deps: { str: RoslaunchDeps} @param use_test_depends [bool]: use test_depends as installed package @type use_test_depends: [bool] @return: missing (see parameter) @rtype: { str: set(str) }
Generate file_deps file dependency info for the specified roslaunch file and its dependencies. @param file_deps: dictionary mapping roslaunch filenames to
roslaunch dependency information. This dictionary will be updated with dependency information.
@type file_deps: { str : RoslaunchDeps } @param verbose: if True, print verbose output @type verbose: bool @param launch_file: name of roslaunch file @type launch_file: str
@param packages: list of packages to check @type packages: [str] @param files [str]: list of roslaunch files to check. Must be in
same package.
@type files: [str] @param use_test_depends [bool]: use test_depends as installed package @type use_test_depends: [bool] @param ignore_unset_args [bool]: ignore exceptions raised by missing default value for <arg> tags @type ignore_unset_args: [bool] @return: base_pkg, file_deps, missing.
base_pkg is the package of all files file_deps is a { filename : RoslaunchDeps } dictionary of
roslaunch dependency information to update, indexed by roslaunch file name.
- missing is a { package : [packages] } dictionary of missing
- manifest dependencies, indexed by package.
@rtype: str, dict, dict