diff --git a/tools/roslaunch/src/roslaunch/depends.py b/tools/roslaunch/src/roslaunch/depends.py index 3b6c18df89..a3fbf7a418 100644 --- a/tools/roslaunch/src/roslaunch/depends.py +++ b/tools/roslaunch/src/roslaunch/depends.py @@ -118,6 +118,7 @@ def _parse_subcontext(tags, context): return subcontext def _parse_launch(tags, launch_file, file_deps, verbose, context): + context['filename'] = os.path.abspath(launch_file) dir_path = os.path.dirname(os.path.abspath(launch_file)) launch_file_pkg = rospkg.get_package_name(dir_path)