From 491007409c2234e3041ece1ad4457e04fea848ea Mon Sep 17 00:00:00 2001 From: Vaibhav Hariani Date: Wed, 17 Apr 2024 18:24:49 -0400 Subject: [PATCH] Added Yolo-World-Detection --- .../install/.colcon_install_layout | 1 + .../dist_to_obj_ws/install/COLCON_IGNORE | 0 .../install/_local_setup_util_ps1.py | 407 ++++++++++++++++++ .../install/_local_setup_util_sh.py | 407 ++++++++++++++++++ .../dist_to_obj_ws/install/local_setup.bash | 121 ++++++ .../dist_to_obj_ws/install/local_setup.ps1 | 55 +++ .../dist_to_obj_ws/install/local_setup.sh | 137 ++++++ .../dist_to_obj_ws/install/local_setup.zsh | 134 ++++++ .../dist_to_obj_ws/install/setup.bash | 31 ++ .../dist_to_obj_ws/install/setup.ps1 | 29 ++ .../dist_to_obj_ws/install/setup.sh | 45 ++ .../dist_to_obj_ws/install/setup.zsh | 31 ++ .../dist_to_obj_ws/log/COLCON_IGNORE | 0 .../log/build_2024-04-15_22-09-31/events.log | 2 + .../build_2024-04-15_22-09-31/logger_all.log | 146 +++++++ .../dist_to_obj_ws/log/latest | 1 + .../dist_to_obj_ws/log/latest_build | 1 + 17 files changed, 1548 insertions(+) create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/.colcon_install_layout create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/COLCON_IGNORE create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_ps1.py create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_sh.py create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.bash create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.ps1 create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.sh create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.zsh create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.bash create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.ps1 create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.sh create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.zsh create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/log/COLCON_IGNORE create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/events.log create mode 100644 ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/logger_all.log create mode 120000 ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest create mode 120000 ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest_build diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/.colcon_install_layout b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/.colcon_install_layout new file mode 100644 index 000000000..3aad5336a --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/.colcon_install_layout @@ -0,0 +1 @@ +isolated diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/COLCON_IGNORE b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/COLCON_IGNORE new file mode 100644 index 000000000..e69de29bb diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_ps1.py b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_ps1.py new file mode 100644 index 000000000..83abe6306 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_ps1.py @@ -0,0 +1,407 @@ +# Copyright 2016-2019 Dirk Thomas +# Licensed under the Apache License, Version 2.0 + +import argparse +from collections import OrderedDict +import os +from pathlib import Path +import sys + + +FORMAT_STR_COMMENT_LINE = '# {comment}' +FORMAT_STR_SET_ENV_VAR = 'Set-Item -Path "Env:{name}" -Value "{value}"' +FORMAT_STR_USE_ENV_VAR = '$env:{name}' +FORMAT_STR_INVOKE_SCRIPT = '_colcon_prefix_powershell_source_script "{script_path}"' +FORMAT_STR_REMOVE_LEADING_SEPARATOR = '' +FORMAT_STR_REMOVE_TRAILING_SEPARATOR = '' + +DSV_TYPE_APPEND_NON_DUPLICATE = 'append-non-duplicate' +DSV_TYPE_PREPEND_NON_DUPLICATE = 'prepend-non-duplicate' +DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS = 'prepend-non-duplicate-if-exists' +DSV_TYPE_SET = 'set' +DSV_TYPE_SET_IF_UNSET = 'set-if-unset' +DSV_TYPE_SOURCE = 'source' + + +def main(argv=sys.argv[1:]): # noqa: D103 + parser = argparse.ArgumentParser( + description='Output shell commands for the packages in topological ' + 'order') + parser.add_argument( + 'primary_extension', + help='The file extension of the primary shell') + parser.add_argument( + 'additional_extension', nargs='?', + help='The additional file extension to be considered') + parser.add_argument( + '--merged-install', action='store_true', + help='All install prefixes are merged into a single location') + args = parser.parse_args(argv) + + packages = get_packages(Path(__file__).parent, args.merged_install) + + ordered_packages = order_packages(packages) + for pkg_name in ordered_packages: + if _include_comments(): + print( + FORMAT_STR_COMMENT_LINE.format_map( + {'comment': 'Package: ' + pkg_name})) + prefix = os.path.abspath(os.path.dirname(__file__)) + if not args.merged_install: + prefix = os.path.join(prefix, pkg_name) + for line in get_commands( + pkg_name, prefix, args.primary_extension, + args.additional_extension + ): + print(line) + + for line in _remove_ending_separators(): + print(line) + + +def get_packages(prefix_path, merged_install): + """ + Find packages based on colcon-specific files created during installation. + + :param Path prefix_path: The install prefix path of all packages + :param bool merged_install: The flag if the packages are all installed + directly in the prefix or if each package is installed in a subdirectory + named after the package + :returns: A mapping from the package name to the set of runtime + dependencies + :rtype: dict + """ + packages = {} + # since importing colcon_core isn't feasible here the following constant + # must match colcon_core.location.get_relative_package_index_path() + subdirectory = 'share/colcon-core/packages' + if merged_install: + # return if workspace is empty + if not (prefix_path / subdirectory).is_dir(): + return packages + # find all files in the subdirectory + for p in (prefix_path / subdirectory).iterdir(): + if not p.is_file(): + continue + if p.name.startswith('.'): + continue + add_package_runtime_dependencies(p, packages) + else: + # for each subdirectory look for the package specific file + for p in prefix_path.iterdir(): + if not p.is_dir(): + continue + if p.name.startswith('.'): + continue + p = p / subdirectory / p.name + if p.is_file(): + add_package_runtime_dependencies(p, packages) + + # remove unknown dependencies + pkg_names = set(packages.keys()) + for k in packages.keys(): + packages[k] = {d for d in packages[k] if d in pkg_names} + + return packages + + +def add_package_runtime_dependencies(path, packages): + """ + Check the path and if it exists extract the packages runtime dependencies. + + :param Path path: The resource file containing the runtime dependencies + :param dict packages: A mapping from package names to the sets of runtime + dependencies to add to + """ + content = path.read_text() + dependencies = set(content.split(os.pathsep) if content else []) + packages[path.name] = dependencies + + +def order_packages(packages): + """ + Order packages topologically. + + :param dict packages: A mapping from package name to the set of runtime + dependencies + :returns: The package names + :rtype: list + """ + # select packages with no dependencies in alphabetical order + to_be_ordered = list(packages.keys()) + ordered = [] + while to_be_ordered: + pkg_names_without_deps = [ + name for name in to_be_ordered if not packages[name]] + if not pkg_names_without_deps: + reduce_cycle_set(packages) + raise RuntimeError( + 'Circular dependency between: ' + ', '.join(sorted(packages))) + pkg_names_without_deps.sort() + pkg_name = pkg_names_without_deps[0] + to_be_ordered.remove(pkg_name) + ordered.append(pkg_name) + # remove item from dependency lists + for k in list(packages.keys()): + if pkg_name in packages[k]: + packages[k].remove(pkg_name) + return ordered + + +def reduce_cycle_set(packages): + """ + Reduce the set of packages to the ones part of the circular dependency. + + :param dict packages: A mapping from package name to the set of runtime + dependencies which is modified in place + """ + last_depended = None + while len(packages) > 0: + # get all remaining dependencies + depended = set() + for pkg_name, dependencies in packages.items(): + depended = depended.union(dependencies) + # remove all packages which are not dependent on + for name in list(packages.keys()): + if name not in depended: + del packages[name] + if last_depended: + # if remaining packages haven't changed return them + if last_depended == depended: + return packages.keys() + # otherwise reduce again + last_depended = depended + + +def _include_comments(): + # skipping comment lines when COLCON_TRACE is not set speeds up the + # processing especially on Windows + return bool(os.environ.get('COLCON_TRACE')) + + +def get_commands(pkg_name, prefix, primary_extension, additional_extension): + commands = [] + package_dsv_path = os.path.join(prefix, 'share', pkg_name, 'package.dsv') + if os.path.exists(package_dsv_path): + commands += process_dsv_file( + package_dsv_path, prefix, primary_extension, additional_extension) + return commands + + +def process_dsv_file( + dsv_path, prefix, primary_extension=None, additional_extension=None +): + commands = [] + if _include_comments(): + commands.append(FORMAT_STR_COMMENT_LINE.format_map({'comment': dsv_path})) + with open(dsv_path, 'r') as h: + content = h.read() + lines = content.splitlines() + + basenames = OrderedDict() + for i, line in enumerate(lines): + # skip over empty or whitespace-only lines + if not line.strip(): + continue + # skip over comments + if line.startswith('#'): + continue + try: + type_, remainder = line.split(';', 1) + except ValueError: + raise RuntimeError( + "Line %d in '%s' doesn't contain a semicolon separating the " + 'type from the arguments' % (i + 1, dsv_path)) + if type_ != DSV_TYPE_SOURCE: + # handle non-source lines + try: + commands += handle_dsv_types_except_source( + type_, remainder, prefix) + except RuntimeError as e: + raise RuntimeError( + "Line %d in '%s' %s" % (i + 1, dsv_path, e)) from e + else: + # group remaining source lines by basename + path_without_ext, ext = os.path.splitext(remainder) + if path_without_ext not in basenames: + basenames[path_without_ext] = set() + assert ext.startswith('.') + ext = ext[1:] + if ext in (primary_extension, additional_extension): + basenames[path_without_ext].add(ext) + + # add the dsv extension to each basename if the file exists + for basename, extensions in basenames.items(): + if not os.path.isabs(basename): + basename = os.path.join(prefix, basename) + if os.path.exists(basename + '.dsv'): + extensions.add('dsv') + + for basename, extensions in basenames.items(): + if not os.path.isabs(basename): + basename = os.path.join(prefix, basename) + if 'dsv' in extensions: + # process dsv files recursively + commands += process_dsv_file( + basename + '.dsv', prefix, primary_extension=primary_extension, + additional_extension=additional_extension) + elif primary_extension in extensions and len(extensions) == 1: + # source primary-only files + commands += [ + FORMAT_STR_INVOKE_SCRIPT.format_map({ + 'prefix': prefix, + 'script_path': basename + '.' + primary_extension})] + elif additional_extension in extensions: + # source non-primary files + commands += [ + FORMAT_STR_INVOKE_SCRIPT.format_map({ + 'prefix': prefix, + 'script_path': basename + '.' + additional_extension})] + + return commands + + +def handle_dsv_types_except_source(type_, remainder, prefix): + commands = [] + if type_ in (DSV_TYPE_SET, DSV_TYPE_SET_IF_UNSET): + try: + env_name, value = remainder.split(';', 1) + except ValueError: + raise RuntimeError( + "doesn't contain a semicolon separating the environment name " + 'from the value') + try_prefixed_value = os.path.join(prefix, value) if value else prefix + if os.path.exists(try_prefixed_value): + value = try_prefixed_value + if type_ == DSV_TYPE_SET: + commands += _set(env_name, value) + elif type_ == DSV_TYPE_SET_IF_UNSET: + commands += _set_if_unset(env_name, value) + else: + assert False + elif type_ in ( + DSV_TYPE_APPEND_NON_DUPLICATE, + DSV_TYPE_PREPEND_NON_DUPLICATE, + DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS + ): + try: + env_name_and_values = remainder.split(';') + except ValueError: + raise RuntimeError( + "doesn't contain a semicolon separating the environment name " + 'from the values') + env_name = env_name_and_values[0] + values = env_name_and_values[1:] + for value in values: + if not value: + value = prefix + elif not os.path.isabs(value): + value = os.path.join(prefix, value) + if ( + type_ == DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS and + not os.path.exists(value) + ): + comment = f'skip extending {env_name} with not existing ' \ + f'path: {value}' + if _include_comments(): + commands.append( + FORMAT_STR_COMMENT_LINE.format_map({'comment': comment})) + elif type_ == DSV_TYPE_APPEND_NON_DUPLICATE: + commands += _append_unique_value(env_name, value) + else: + commands += _prepend_unique_value(env_name, value) + else: + raise RuntimeError( + 'contains an unknown environment hook type: ' + type_) + return commands + + +env_state = {} + + +def _append_unique_value(name, value): + global env_state + if name not in env_state: + if os.environ.get(name): + env_state[name] = set(os.environ[name].split(os.pathsep)) + else: + env_state[name] = set() + # append even if the variable has not been set yet, in case a shell script sets the + # same variable without the knowledge of this Python script. + # later _remove_ending_separators() will cleanup any unintentional leading separator + extend = FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) + os.pathsep + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': extend + value}) + if value not in env_state[name]: + env_state[name].add(value) + else: + if not _include_comments(): + return [] + line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) + return [line] + + +def _prepend_unique_value(name, value): + global env_state + if name not in env_state: + if os.environ.get(name): + env_state[name] = set(os.environ[name].split(os.pathsep)) + else: + env_state[name] = set() + # prepend even if the variable has not been set yet, in case a shell script sets the + # same variable without the knowledge of this Python script. + # later _remove_ending_separators() will cleanup any unintentional trailing separator + extend = os.pathsep + FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': value + extend}) + if value not in env_state[name]: + env_state[name].add(value) + else: + if not _include_comments(): + return [] + line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) + return [line] + + +# generate commands for removing prepended underscores +def _remove_ending_separators(): + # do nothing if the shell extension does not implement the logic + if FORMAT_STR_REMOVE_TRAILING_SEPARATOR is None: + return [] + + global env_state + commands = [] + for name in env_state: + # skip variables that already had values before this script started prepending + if name in os.environ: + continue + commands += [ + FORMAT_STR_REMOVE_LEADING_SEPARATOR.format_map({'name': name}), + FORMAT_STR_REMOVE_TRAILING_SEPARATOR.format_map({'name': name})] + return commands + + +def _set(name, value): + global env_state + env_state[name] = value + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': value}) + return [line] + + +def _set_if_unset(name, value): + global env_state + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': value}) + if env_state.get(name, os.environ.get(name)): + line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) + return [line] + + +if __name__ == '__main__': # pragma: no cover + try: + rc = main() + except RuntimeError as e: + print(str(e), file=sys.stderr) + rc = 1 + sys.exit(rc) diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_sh.py b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_sh.py new file mode 100644 index 000000000..ff3119872 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_sh.py @@ -0,0 +1,407 @@ +# Copyright 2016-2019 Dirk Thomas +# Licensed under the Apache License, Version 2.0 + +import argparse +from collections import OrderedDict +import os +from pathlib import Path +import sys + + +FORMAT_STR_COMMENT_LINE = '# {comment}' +FORMAT_STR_SET_ENV_VAR = 'export {name}="{value}"' +FORMAT_STR_USE_ENV_VAR = '${name}' +FORMAT_STR_INVOKE_SCRIPT = 'COLCON_CURRENT_PREFIX="{prefix}" _colcon_prefix_sh_source_script "{script_path}"' +FORMAT_STR_REMOVE_LEADING_SEPARATOR = 'if [ "$(echo -n ${name} | head -c 1)" = ":" ]; then export {name}=${{{name}#?}} ; fi' +FORMAT_STR_REMOVE_TRAILING_SEPARATOR = 'if [ "$(echo -n ${name} | tail -c 1)" = ":" ]; then export {name}=${{{name}%?}} ; fi' + +DSV_TYPE_APPEND_NON_DUPLICATE = 'append-non-duplicate' +DSV_TYPE_PREPEND_NON_DUPLICATE = 'prepend-non-duplicate' +DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS = 'prepend-non-duplicate-if-exists' +DSV_TYPE_SET = 'set' +DSV_TYPE_SET_IF_UNSET = 'set-if-unset' +DSV_TYPE_SOURCE = 'source' + + +def main(argv=sys.argv[1:]): # noqa: D103 + parser = argparse.ArgumentParser( + description='Output shell commands for the packages in topological ' + 'order') + parser.add_argument( + 'primary_extension', + help='The file extension of the primary shell') + parser.add_argument( + 'additional_extension', nargs='?', + help='The additional file extension to be considered') + parser.add_argument( + '--merged-install', action='store_true', + help='All install prefixes are merged into a single location') + args = parser.parse_args(argv) + + packages = get_packages(Path(__file__).parent, args.merged_install) + + ordered_packages = order_packages(packages) + for pkg_name in ordered_packages: + if _include_comments(): + print( + FORMAT_STR_COMMENT_LINE.format_map( + {'comment': 'Package: ' + pkg_name})) + prefix = os.path.abspath(os.path.dirname(__file__)) + if not args.merged_install: + prefix = os.path.join(prefix, pkg_name) + for line in get_commands( + pkg_name, prefix, args.primary_extension, + args.additional_extension + ): + print(line) + + for line in _remove_ending_separators(): + print(line) + + +def get_packages(prefix_path, merged_install): + """ + Find packages based on colcon-specific files created during installation. + + :param Path prefix_path: The install prefix path of all packages + :param bool merged_install: The flag if the packages are all installed + directly in the prefix or if each package is installed in a subdirectory + named after the package + :returns: A mapping from the package name to the set of runtime + dependencies + :rtype: dict + """ + packages = {} + # since importing colcon_core isn't feasible here the following constant + # must match colcon_core.location.get_relative_package_index_path() + subdirectory = 'share/colcon-core/packages' + if merged_install: + # return if workspace is empty + if not (prefix_path / subdirectory).is_dir(): + return packages + # find all files in the subdirectory + for p in (prefix_path / subdirectory).iterdir(): + if not p.is_file(): + continue + if p.name.startswith('.'): + continue + add_package_runtime_dependencies(p, packages) + else: + # for each subdirectory look for the package specific file + for p in prefix_path.iterdir(): + if not p.is_dir(): + continue + if p.name.startswith('.'): + continue + p = p / subdirectory / p.name + if p.is_file(): + add_package_runtime_dependencies(p, packages) + + # remove unknown dependencies + pkg_names = set(packages.keys()) + for k in packages.keys(): + packages[k] = {d for d in packages[k] if d in pkg_names} + + return packages + + +def add_package_runtime_dependencies(path, packages): + """ + Check the path and if it exists extract the packages runtime dependencies. + + :param Path path: The resource file containing the runtime dependencies + :param dict packages: A mapping from package names to the sets of runtime + dependencies to add to + """ + content = path.read_text() + dependencies = set(content.split(os.pathsep) if content else []) + packages[path.name] = dependencies + + +def order_packages(packages): + """ + Order packages topologically. + + :param dict packages: A mapping from package name to the set of runtime + dependencies + :returns: The package names + :rtype: list + """ + # select packages with no dependencies in alphabetical order + to_be_ordered = list(packages.keys()) + ordered = [] + while to_be_ordered: + pkg_names_without_deps = [ + name for name in to_be_ordered if not packages[name]] + if not pkg_names_without_deps: + reduce_cycle_set(packages) + raise RuntimeError( + 'Circular dependency between: ' + ', '.join(sorted(packages))) + pkg_names_without_deps.sort() + pkg_name = pkg_names_without_deps[0] + to_be_ordered.remove(pkg_name) + ordered.append(pkg_name) + # remove item from dependency lists + for k in list(packages.keys()): + if pkg_name in packages[k]: + packages[k].remove(pkg_name) + return ordered + + +def reduce_cycle_set(packages): + """ + Reduce the set of packages to the ones part of the circular dependency. + + :param dict packages: A mapping from package name to the set of runtime + dependencies which is modified in place + """ + last_depended = None + while len(packages) > 0: + # get all remaining dependencies + depended = set() + for pkg_name, dependencies in packages.items(): + depended = depended.union(dependencies) + # remove all packages which are not dependent on + for name in list(packages.keys()): + if name not in depended: + del packages[name] + if last_depended: + # if remaining packages haven't changed return them + if last_depended == depended: + return packages.keys() + # otherwise reduce again + last_depended = depended + + +def _include_comments(): + # skipping comment lines when COLCON_TRACE is not set speeds up the + # processing especially on Windows + return bool(os.environ.get('COLCON_TRACE')) + + +def get_commands(pkg_name, prefix, primary_extension, additional_extension): + commands = [] + package_dsv_path = os.path.join(prefix, 'share', pkg_name, 'package.dsv') + if os.path.exists(package_dsv_path): + commands += process_dsv_file( + package_dsv_path, prefix, primary_extension, additional_extension) + return commands + + +def process_dsv_file( + dsv_path, prefix, primary_extension=None, additional_extension=None +): + commands = [] + if _include_comments(): + commands.append(FORMAT_STR_COMMENT_LINE.format_map({'comment': dsv_path})) + with open(dsv_path, 'r') as h: + content = h.read() + lines = content.splitlines() + + basenames = OrderedDict() + for i, line in enumerate(lines): + # skip over empty or whitespace-only lines + if not line.strip(): + continue + # skip over comments + if line.startswith('#'): + continue + try: + type_, remainder = line.split(';', 1) + except ValueError: + raise RuntimeError( + "Line %d in '%s' doesn't contain a semicolon separating the " + 'type from the arguments' % (i + 1, dsv_path)) + if type_ != DSV_TYPE_SOURCE: + # handle non-source lines + try: + commands += handle_dsv_types_except_source( + type_, remainder, prefix) + except RuntimeError as e: + raise RuntimeError( + "Line %d in '%s' %s" % (i + 1, dsv_path, e)) from e + else: + # group remaining source lines by basename + path_without_ext, ext = os.path.splitext(remainder) + if path_without_ext not in basenames: + basenames[path_without_ext] = set() + assert ext.startswith('.') + ext = ext[1:] + if ext in (primary_extension, additional_extension): + basenames[path_without_ext].add(ext) + + # add the dsv extension to each basename if the file exists + for basename, extensions in basenames.items(): + if not os.path.isabs(basename): + basename = os.path.join(prefix, basename) + if os.path.exists(basename + '.dsv'): + extensions.add('dsv') + + for basename, extensions in basenames.items(): + if not os.path.isabs(basename): + basename = os.path.join(prefix, basename) + if 'dsv' in extensions: + # process dsv files recursively + commands += process_dsv_file( + basename + '.dsv', prefix, primary_extension=primary_extension, + additional_extension=additional_extension) + elif primary_extension in extensions and len(extensions) == 1: + # source primary-only files + commands += [ + FORMAT_STR_INVOKE_SCRIPT.format_map({ + 'prefix': prefix, + 'script_path': basename + '.' + primary_extension})] + elif additional_extension in extensions: + # source non-primary files + commands += [ + FORMAT_STR_INVOKE_SCRIPT.format_map({ + 'prefix': prefix, + 'script_path': basename + '.' + additional_extension})] + + return commands + + +def handle_dsv_types_except_source(type_, remainder, prefix): + commands = [] + if type_ in (DSV_TYPE_SET, DSV_TYPE_SET_IF_UNSET): + try: + env_name, value = remainder.split(';', 1) + except ValueError: + raise RuntimeError( + "doesn't contain a semicolon separating the environment name " + 'from the value') + try_prefixed_value = os.path.join(prefix, value) if value else prefix + if os.path.exists(try_prefixed_value): + value = try_prefixed_value + if type_ == DSV_TYPE_SET: + commands += _set(env_name, value) + elif type_ == DSV_TYPE_SET_IF_UNSET: + commands += _set_if_unset(env_name, value) + else: + assert False + elif type_ in ( + DSV_TYPE_APPEND_NON_DUPLICATE, + DSV_TYPE_PREPEND_NON_DUPLICATE, + DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS + ): + try: + env_name_and_values = remainder.split(';') + except ValueError: + raise RuntimeError( + "doesn't contain a semicolon separating the environment name " + 'from the values') + env_name = env_name_and_values[0] + values = env_name_and_values[1:] + for value in values: + if not value: + value = prefix + elif not os.path.isabs(value): + value = os.path.join(prefix, value) + if ( + type_ == DSV_TYPE_PREPEND_NON_DUPLICATE_IF_EXISTS and + not os.path.exists(value) + ): + comment = f'skip extending {env_name} with not existing ' \ + f'path: {value}' + if _include_comments(): + commands.append( + FORMAT_STR_COMMENT_LINE.format_map({'comment': comment})) + elif type_ == DSV_TYPE_APPEND_NON_DUPLICATE: + commands += _append_unique_value(env_name, value) + else: + commands += _prepend_unique_value(env_name, value) + else: + raise RuntimeError( + 'contains an unknown environment hook type: ' + type_) + return commands + + +env_state = {} + + +def _append_unique_value(name, value): + global env_state + if name not in env_state: + if os.environ.get(name): + env_state[name] = set(os.environ[name].split(os.pathsep)) + else: + env_state[name] = set() + # append even if the variable has not been set yet, in case a shell script sets the + # same variable without the knowledge of this Python script. + # later _remove_ending_separators() will cleanup any unintentional leading separator + extend = FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) + os.pathsep + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': extend + value}) + if value not in env_state[name]: + env_state[name].add(value) + else: + if not _include_comments(): + return [] + line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) + return [line] + + +def _prepend_unique_value(name, value): + global env_state + if name not in env_state: + if os.environ.get(name): + env_state[name] = set(os.environ[name].split(os.pathsep)) + else: + env_state[name] = set() + # prepend even if the variable has not been set yet, in case a shell script sets the + # same variable without the knowledge of this Python script. + # later _remove_ending_separators() will cleanup any unintentional trailing separator + extend = os.pathsep + FORMAT_STR_USE_ENV_VAR.format_map({'name': name}) + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': value + extend}) + if value not in env_state[name]: + env_state[name].add(value) + else: + if not _include_comments(): + return [] + line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) + return [line] + + +# generate commands for removing prepended underscores +def _remove_ending_separators(): + # do nothing if the shell extension does not implement the logic + if FORMAT_STR_REMOVE_TRAILING_SEPARATOR is None: + return [] + + global env_state + commands = [] + for name in env_state: + # skip variables that already had values before this script started prepending + if name in os.environ: + continue + commands += [ + FORMAT_STR_REMOVE_LEADING_SEPARATOR.format_map({'name': name}), + FORMAT_STR_REMOVE_TRAILING_SEPARATOR.format_map({'name': name})] + return commands + + +def _set(name, value): + global env_state + env_state[name] = value + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': value}) + return [line] + + +def _set_if_unset(name, value): + global env_state + line = FORMAT_STR_SET_ENV_VAR.format_map( + {'name': name, 'value': value}) + if env_state.get(name, os.environ.get(name)): + line = FORMAT_STR_COMMENT_LINE.format_map({'comment': line}) + return [line] + + +if __name__ == '__main__': # pragma: no cover + try: + rc = main() + except RuntimeError as e: + print(str(e), file=sys.stderr) + rc = 1 + sys.exit(rc) diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.bash b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.bash new file mode 100644 index 000000000..03f00256c --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.bash @@ -0,0 +1,121 @@ +# generated from colcon_bash/shell/template/prefix.bash.em + +# This script extends the environment with all packages contained in this +# prefix path. + +# a bash script is able to determine its own path if necessary +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + _colcon_prefix_bash_COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)" +else + _colcon_prefix_bash_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" +fi + +# function to prepend a value to a variable +# which uses colons as separators +# duplicates as well as trailing separators are avoided +# first argument: the name of the result variable +# second argument: the value to be prepended +_colcon_prefix_bash_prepend_unique_value() { + # arguments + _listname="$1" + _value="$2" + + # get values from variable + eval _values=\"\$$_listname\" + # backup the field separator + _colcon_prefix_bash_prepend_unique_value_IFS="$IFS" + IFS=":" + # start with the new value + _all_values="$_value" + _contained_value="" + # iterate over existing values in the variable + for _item in $_values; do + # ignore empty strings + if [ -z "$_item" ]; then + continue + fi + # ignore duplicates of _value + if [ "$_item" = "$_value" ]; then + _contained_value=1 + continue + fi + # keep non-duplicate values + _all_values="$_all_values:$_item" + done + unset _item + if [ -z "$_contained_value" ]; then + if [ -n "$COLCON_TRACE" ]; then + if [ "$_all_values" = "$_value" ]; then + echo "export $_listname=$_value" + else + echo "export $_listname=$_value:\$$_listname" + fi + fi + fi + unset _contained_value + # restore the field separator + IFS="$_colcon_prefix_bash_prepend_unique_value_IFS" + unset _colcon_prefix_bash_prepend_unique_value_IFS + # export the updated variable + eval export $_listname=\"$_all_values\" + unset _all_values + unset _values + + unset _value + unset _listname +} + +# add this prefix to the COLCON_PREFIX_PATH +_colcon_prefix_bash_prepend_unique_value COLCON_PREFIX_PATH "$_colcon_prefix_bash_COLCON_CURRENT_PREFIX" +unset _colcon_prefix_bash_prepend_unique_value + +# check environment variable for custom Python executable +if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then + if [ ! -f "$COLCON_PYTHON_EXECUTABLE" ]; then + echo "error: COLCON_PYTHON_EXECUTABLE '$COLCON_PYTHON_EXECUTABLE' doesn't exist" + return 1 + fi + _colcon_python_executable="$COLCON_PYTHON_EXECUTABLE" +else + # try the Python executable known at configure time + _colcon_python_executable="/usr/bin/python3" + # if it doesn't exist try a fall back + if [ ! -f "$_colcon_python_executable" ]; then + if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then + echo "error: unable to find python3 executable" + return 1 + fi + _colcon_python_executable=`/usr/bin/env python3 -c "import sys; print(sys.executable)"` + fi +fi + +# function to source another script with conditional trace output +# first argument: the path of the script +_colcon_prefix_sh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$1" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# get all commands in topological order +_colcon_ordered_commands="$($_colcon_python_executable "$_colcon_prefix_bash_COLCON_CURRENT_PREFIX/_local_setup_util_sh.py" sh bash)" +unset _colcon_python_executable +if [ -n "$COLCON_TRACE" ]; then + echo "$(declare -f _colcon_prefix_sh_source_script)" + echo "# Execute generated script:" + echo "# <<<" + echo "${_colcon_ordered_commands}" + echo "# >>>" + echo "unset _colcon_prefix_sh_source_script" +fi +eval "${_colcon_ordered_commands}" +unset _colcon_ordered_commands + +unset _colcon_prefix_sh_source_script + +unset _colcon_prefix_bash_COLCON_CURRENT_PREFIX diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.ps1 b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.ps1 new file mode 100644 index 000000000..6f68c8ded --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.ps1 @@ -0,0 +1,55 @@ +# generated from colcon_powershell/shell/template/prefix.ps1.em + +# This script extends the environment with all packages contained in this +# prefix path. + +# check environment variable for custom Python executable +if ($env:COLCON_PYTHON_EXECUTABLE) { + if (!(Test-Path "$env:COLCON_PYTHON_EXECUTABLE" -PathType Leaf)) { + echo "error: COLCON_PYTHON_EXECUTABLE '$env:COLCON_PYTHON_EXECUTABLE' doesn't exist" + exit 1 + } + $_colcon_python_executable="$env:COLCON_PYTHON_EXECUTABLE" +} else { + # use the Python executable known at configure time + $_colcon_python_executable="/usr/bin/python3" + # if it doesn't exist try a fall back + if (!(Test-Path "$_colcon_python_executable" -PathType Leaf)) { + if (!(Get-Command "python3" -ErrorAction SilentlyContinue)) { + echo "error: unable to find python3 executable" + exit 1 + } + $_colcon_python_executable="python3" + } +} + +# function to source another script with conditional trace output +# first argument: the path of the script +function _colcon_prefix_powershell_source_script { + param ( + $_colcon_prefix_powershell_source_script_param + ) + # source script with conditional trace output + if (Test-Path $_colcon_prefix_powershell_source_script_param) { + if ($env:COLCON_TRACE) { + echo ". '$_colcon_prefix_powershell_source_script_param'" + } + . "$_colcon_prefix_powershell_source_script_param" + } else { + Write-Error "not found: '$_colcon_prefix_powershell_source_script_param'" + } +} + +# get all commands in topological order +$_colcon_ordered_commands = & "$_colcon_python_executable" "$(Split-Path $PSCommandPath -Parent)/_local_setup_util_ps1.py" ps1 + +# execute all commands in topological order +if ($env:COLCON_TRACE) { + echo "Execute generated script:" + echo "<<<" + $_colcon_ordered_commands.Split([Environment]::NewLine, [StringSplitOptions]::RemoveEmptyEntries) | Write-Output + echo ">>>" +} +if ($_colcon_ordered_commands) { + $_colcon_ordered_commands.Split([Environment]::NewLine, [StringSplitOptions]::RemoveEmptyEntries) | Invoke-Expression +} diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.sh b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.sh new file mode 100644 index 000000000..d15c03a86 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.sh @@ -0,0 +1,137 @@ +# generated from colcon_core/shell/template/prefix.sh.em + +# This script extends the environment with all packages contained in this +# prefix path. + +# since a plain shell script can't determine its own path when being sourced +# either use the provided COLCON_CURRENT_PREFIX +# or fall back to the build time prefix (if it exists) +_colcon_prefix_sh_COLCON_CURRENT_PREFIX="/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install" +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + if [ ! -d "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX" ]; then + echo "The build time path \"$_colcon_prefix_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 + unset _colcon_prefix_sh_COLCON_CURRENT_PREFIX + return 1 + fi +else + _colcon_prefix_sh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" +fi + +# function to prepend a value to a variable +# which uses colons as separators +# duplicates as well as trailing separators are avoided +# first argument: the name of the result variable +# second argument: the value to be prepended +_colcon_prefix_sh_prepend_unique_value() { + # arguments + _listname="$1" + _value="$2" + + # get values from variable + eval _values=\"\$$_listname\" + # backup the field separator + _colcon_prefix_sh_prepend_unique_value_IFS="$IFS" + IFS=":" + # start with the new value + _all_values="$_value" + _contained_value="" + # iterate over existing values in the variable + for _item in $_values; do + # ignore empty strings + if [ -z "$_item" ]; then + continue + fi + # ignore duplicates of _value + if [ "$_item" = "$_value" ]; then + _contained_value=1 + continue + fi + # keep non-duplicate values + _all_values="$_all_values:$_item" + done + unset _item + if [ -z "$_contained_value" ]; then + if [ -n "$COLCON_TRACE" ]; then + if [ "$_all_values" = "$_value" ]; then + echo "export $_listname=$_value" + else + echo "export $_listname=$_value:\$$_listname" + fi + fi + fi + unset _contained_value + # restore the field separator + IFS="$_colcon_prefix_sh_prepend_unique_value_IFS" + unset _colcon_prefix_sh_prepend_unique_value_IFS + # export the updated variable + eval export $_listname=\"$_all_values\" + unset _all_values + unset _values + + unset _value + unset _listname +} + +# add this prefix to the COLCON_PREFIX_PATH +_colcon_prefix_sh_prepend_unique_value COLCON_PREFIX_PATH "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX" +unset _colcon_prefix_sh_prepend_unique_value + +# check environment variable for custom Python executable +if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then + if [ ! -f "$COLCON_PYTHON_EXECUTABLE" ]; then + echo "error: COLCON_PYTHON_EXECUTABLE '$COLCON_PYTHON_EXECUTABLE' doesn't exist" + return 1 + fi + _colcon_python_executable="$COLCON_PYTHON_EXECUTABLE" +else + # try the Python executable known at configure time + _colcon_python_executable="/usr/bin/python3" + # if it doesn't exist try a fall back + if [ ! -f "$_colcon_python_executable" ]; then + if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then + echo "error: unable to find python3 executable" + return 1 + fi + _colcon_python_executable=`/usr/bin/env python3 -c "import sys; print(sys.executable)"` + fi +fi + +# function to source another script with conditional trace output +# first argument: the path of the script +_colcon_prefix_sh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$1" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# get all commands in topological order +_colcon_ordered_commands="$($_colcon_python_executable "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX/_local_setup_util_sh.py" sh)" +unset _colcon_python_executable +if [ -n "$COLCON_TRACE" ]; then + echo "_colcon_prefix_sh_source_script() { + if [ -f \"\$1\" ]; then + if [ -n \"\$COLCON_TRACE\" ]; then + echo \"# . \\\"\$1\\\"\" + fi + . \"\$1\" + else + echo \"not found: \\\"\$1\\\"\" 1>&2 + fi + }" + echo "# Execute generated script:" + echo "# <<<" + echo "${_colcon_ordered_commands}" + echo "# >>>" + echo "unset _colcon_prefix_sh_source_script" +fi +eval "${_colcon_ordered_commands}" +unset _colcon_ordered_commands + +unset _colcon_prefix_sh_source_script + +unset _colcon_prefix_sh_COLCON_CURRENT_PREFIX diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.zsh b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.zsh new file mode 100644 index 000000000..b6487102f --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.zsh @@ -0,0 +1,134 @@ +# generated from colcon_zsh/shell/template/prefix.zsh.em + +# This script extends the environment with all packages contained in this +# prefix path. + +# a zsh script is able to determine its own path if necessary +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + _colcon_prefix_zsh_COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)" +else + _colcon_prefix_zsh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" +fi + +# function to convert array-like strings into arrays +# to workaround SH_WORD_SPLIT not being set +_colcon_prefix_zsh_convert_to_array() { + local _listname=$1 + local _dollar="$" + local _split="{=" + local _to_array="(\"$_dollar$_split$_listname}\")" + eval $_listname=$_to_array +} + +# function to prepend a value to a variable +# which uses colons as separators +# duplicates as well as trailing separators are avoided +# first argument: the name of the result variable +# second argument: the value to be prepended +_colcon_prefix_zsh_prepend_unique_value() { + # arguments + _listname="$1" + _value="$2" + + # get values from variable + eval _values=\"\$$_listname\" + # backup the field separator + _colcon_prefix_zsh_prepend_unique_value_IFS="$IFS" + IFS=":" + # start with the new value + _all_values="$_value" + _contained_value="" + # workaround SH_WORD_SPLIT not being set + _colcon_prefix_zsh_convert_to_array _values + # iterate over existing values in the variable + for _item in $_values; do + # ignore empty strings + if [ -z "$_item" ]; then + continue + fi + # ignore duplicates of _value + if [ "$_item" = "$_value" ]; then + _contained_value=1 + continue + fi + # keep non-duplicate values + _all_values="$_all_values:$_item" + done + unset _item + if [ -z "$_contained_value" ]; then + if [ -n "$COLCON_TRACE" ]; then + if [ "$_all_values" = "$_value" ]; then + echo "export $_listname=$_value" + else + echo "export $_listname=$_value:\$$_listname" + fi + fi + fi + unset _contained_value + # restore the field separator + IFS="$_colcon_prefix_zsh_prepend_unique_value_IFS" + unset _colcon_prefix_zsh_prepend_unique_value_IFS + # export the updated variable + eval export $_listname=\"$_all_values\" + unset _all_values + unset _values + + unset _value + unset _listname +} + +# add this prefix to the COLCON_PREFIX_PATH +_colcon_prefix_zsh_prepend_unique_value COLCON_PREFIX_PATH "$_colcon_prefix_zsh_COLCON_CURRENT_PREFIX" +unset _colcon_prefix_zsh_prepend_unique_value +unset _colcon_prefix_zsh_convert_to_array + +# check environment variable for custom Python executable +if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then + if [ ! -f "$COLCON_PYTHON_EXECUTABLE" ]; then + echo "error: COLCON_PYTHON_EXECUTABLE '$COLCON_PYTHON_EXECUTABLE' doesn't exist" + return 1 + fi + _colcon_python_executable="$COLCON_PYTHON_EXECUTABLE" +else + # try the Python executable known at configure time + _colcon_python_executable="/usr/bin/python3" + # if it doesn't exist try a fall back + if [ ! -f "$_colcon_python_executable" ]; then + if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then + echo "error: unable to find python3 executable" + return 1 + fi + _colcon_python_executable=`/usr/bin/env python3 -c "import sys; print(sys.executable)"` + fi +fi + +# function to source another script with conditional trace output +# first argument: the path of the script +_colcon_prefix_sh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$1" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# get all commands in topological order +_colcon_ordered_commands="$($_colcon_python_executable "$_colcon_prefix_zsh_COLCON_CURRENT_PREFIX/_local_setup_util_sh.py" sh zsh)" +unset _colcon_python_executable +if [ -n "$COLCON_TRACE" ]; then + echo "$(declare -f _colcon_prefix_sh_source_script)" + echo "# Execute generated script:" + echo "# <<<" + echo "${_colcon_ordered_commands}" + echo "# >>>" + echo "unset _colcon_prefix_sh_source_script" +fi +eval "${_colcon_ordered_commands}" +unset _colcon_ordered_commands + +unset _colcon_prefix_sh_source_script + +unset _colcon_prefix_zsh_COLCON_CURRENT_PREFIX diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.bash b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.bash new file mode 100644 index 000000000..10ea0f7c0 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.bash @@ -0,0 +1,31 @@ +# generated from colcon_bash/shell/template/prefix_chain.bash.em + +# This script extends the environment with the environment of other prefix +# paths which were sourced when this file was generated as well as all packages +# contained in this prefix path. + +# function to source another script with conditional trace output +# first argument: the path of the script +_colcon_prefix_chain_bash_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$1" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# source chained prefixes +# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script +COLCON_CURRENT_PREFIX="/opt/ros/humble" +_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash" + +# source this prefix +# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script +COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)" +_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash" + +unset COLCON_CURRENT_PREFIX +unset _colcon_prefix_chain_bash_source_script diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.ps1 b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.ps1 new file mode 100644 index 000000000..558e9b9e6 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.ps1 @@ -0,0 +1,29 @@ +# generated from colcon_powershell/shell/template/prefix_chain.ps1.em + +# This script extends the environment with the environment of other prefix +# paths which were sourced when this file was generated as well as all packages +# contained in this prefix path. + +# function to source another script with conditional trace output +# first argument: the path of the script +function _colcon_prefix_chain_powershell_source_script { + param ( + $_colcon_prefix_chain_powershell_source_script_param + ) + # source script with conditional trace output + if (Test-Path $_colcon_prefix_chain_powershell_source_script_param) { + if ($env:COLCON_TRACE) { + echo ". '$_colcon_prefix_chain_powershell_source_script_param'" + } + . "$_colcon_prefix_chain_powershell_source_script_param" + } else { + Write-Error "not found: '$_colcon_prefix_chain_powershell_source_script_param'" + } +} + +# source chained prefixes +_colcon_prefix_chain_powershell_source_script "/opt/ros/humble\local_setup.ps1" + +# source this prefix +$env:COLCON_CURRENT_PREFIX=(Split-Path $PSCommandPath -Parent) +_colcon_prefix_chain_powershell_source_script "$env:COLCON_CURRENT_PREFIX\local_setup.ps1" diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.sh b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.sh new file mode 100644 index 000000000..788eeecbb --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.sh @@ -0,0 +1,45 @@ +# generated from colcon_core/shell/template/prefix_chain.sh.em + +# This script extends the environment with the environment of other prefix +# paths which were sourced when this file was generated as well as all packages +# contained in this prefix path. + +# since a plain shell script can't determine its own path when being sourced +# either use the provided COLCON_CURRENT_PREFIX +# or fall back to the build time prefix (if it exists) +_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX=/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install +if [ ! -z "$COLCON_CURRENT_PREFIX" ]; then + _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" +elif [ ! -d "$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" ]; then + echo "The build time path \"$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 + unset _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX + return 1 +fi + +# function to source another script with conditional trace output +# first argument: the path of the script +_colcon_prefix_chain_sh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$1" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# source chained prefixes +# setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script +COLCON_CURRENT_PREFIX="/opt/ros/humble" +_colcon_prefix_chain_sh_source_script "$COLCON_CURRENT_PREFIX/local_setup.sh" + + +# source this prefix +# setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script +COLCON_CURRENT_PREFIX="$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" +_colcon_prefix_chain_sh_source_script "$COLCON_CURRENT_PREFIX/local_setup.sh" + +unset _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX +unset _colcon_prefix_chain_sh_source_script +unset COLCON_CURRENT_PREFIX diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.zsh b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.zsh new file mode 100644 index 000000000..54799fde6 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.zsh @@ -0,0 +1,31 @@ +# generated from colcon_zsh/shell/template/prefix_chain.zsh.em + +# This script extends the environment with the environment of other prefix +# paths which were sourced when this file was generated as well as all packages +# contained in this prefix path. + +# function to source another script with conditional trace output +# first argument: the path of the script +_colcon_prefix_chain_zsh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$1" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# source chained prefixes +# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script +COLCON_CURRENT_PREFIX="/opt/ros/humble" +_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh" + +# source this prefix +# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script +COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)" +_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh" + +unset COLCON_CURRENT_PREFIX +unset _colcon_prefix_chain_zsh_source_script diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/log/COLCON_IGNORE b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/COLCON_IGNORE new file mode 100644 index 000000000..e69de29bb diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/events.log b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/events.log new file mode 100644 index 000000000..5e746fd0c --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/events.log @@ -0,0 +1,2 @@ +[0.000000] (-) TimerEvent: {} +[0.000623] (-) EventReactorShutdown: {} diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/logger_all.log b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/logger_all.log new file mode 100644 index 000000000..10f13c943 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/build_2024-04-15_22-09-31/logger_all.log @@ -0,0 +1,146 @@ +[0.078s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build'] +[0.078s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=, verb_extension=, main=>) +[0.234s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters +[0.234s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters +[0.234s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters +[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters +[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover +[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover +[0.235s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws' +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install'] +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore' +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install' +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg'] +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg' +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta'] +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta' +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros'] +[0.235s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['cmake', 'python'] +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'cmake' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['python_setup_py'] +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python_setup_py' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extensions ['ignore', 'ignore_ament_install'] +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extension 'ignore' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(build) ignored +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extensions ['ignore', 'ignore_ament_install'] +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extension 'ignore' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(install) ignored +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extensions ['ignore', 'ignore_ament_install'] +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extension 'ignore' +[0.243s] Level 1:colcon.colcon_core.package_identification:_identify(log) ignored +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ignore', 'ignore_ament_install'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore_ament_install' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_pkg'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_pkg' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_meta'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_meta' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ros'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ros' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['cmake', 'python'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'cmake' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['python_setup_py'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python_setup_py' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extensions ['ignore', 'ignore_ament_install'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'ignore' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'ignore_ament_install' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extensions ['colcon_pkg'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'colcon_pkg' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extensions ['colcon_meta'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'colcon_meta' +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extensions ['ros'] +[0.244s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'ros' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extensions ['cmake', 'python'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'cmake' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'python' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extensions ['python_setup_py'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package) by extension 'python_setup_py' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extensions ['ignore', 'ignore_ament_install'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'ignore' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'ignore_ament_install' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extensions ['colcon_pkg'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'colcon_pkg' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extensions ['colcon_meta'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'colcon_meta' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extensions ['ros'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'ros' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extensions ['cmake', 'python'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'cmake' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'python' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extensions ['python_setup_py'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package) by extension 'python_setup_py' +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extensions ['ignore', 'ignore_ament_install'] +[0.245s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'ignore' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'ignore_ament_install' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extensions ['colcon_pkg'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'colcon_pkg' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extensions ['colcon_meta'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'colcon_meta' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extensions ['ros'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'ros' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extensions ['cmake', 'python'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'cmake' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'python' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extensions ['python_setup_py'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/__pycache__) by extension 'python_setup_py' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extensions ['ignore', 'ignore_ament_install'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'ignore' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'ignore_ament_install' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extensions ['colcon_pkg'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'colcon_pkg' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extensions ['colcon_meta'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'colcon_meta' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extensions ['ros'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'ros' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extensions ['cmake', 'python'] +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'cmake' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'python' +[0.246s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extensions ['python_setup_py'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule) by extension 'python_setup_py' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extensions ['ignore', 'ignore_ament_install'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'ignore' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'ignore_ament_install' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extensions ['colcon_pkg'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'colcon_pkg' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extensions ['colcon_meta'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'colcon_meta' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extensions ['ros'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'ros' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extensions ['cmake', 'python'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'cmake' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'python' +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extensions ['python_setup_py'] +[0.247s] Level 1:colcon.colcon_core.package_identification:_identify(src/dist_to_obj_package/dist_to_obj_package/object_detection_submodule/__pycache__) by extension 'python_setup_py' +[0.247s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults +[0.247s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover +[0.247s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults +[0.247s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover +[0.247s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults +[0.261s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters +[0.261s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover +[0.263s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 270 installed packages in /opt/ros/humble +[0.270s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults +[0.297s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor +[0.298s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete +[0.298s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop +[0.298s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed +[0.298s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0' +[0.298s] DEBUG:colcon.colcon_core.event_reactor:joining thread +[0.302s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems +[0.302s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems +[0.302s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2' +[0.317s] DEBUG:colcon.colcon_core.event_reactor:joined thread +[0.320s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems +[0.320s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.ps1' +[0.321s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_ps1.py' +[0.322s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.ps1' +[0.323s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.sh' +[0.323s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/_local_setup_util_sh.py' +[0.324s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.sh' +[0.325s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.bash' +[0.325s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.bash' +[0.326s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/local_setup.zsh' +[0.326s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/eeadmin/selfdrive/ros2/Yolo-World-Detection/dist_to_obj_ws/install/setup.zsh' diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest new file mode 120000 index 000000000..b57d247c7 --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest @@ -0,0 +1 @@ +latest_build \ No newline at end of file diff --git a/ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest_build b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest_build new file mode 120000 index 000000000..9168fe26d --- /dev/null +++ b/ros2/Yolo-World-Detection/dist_to_obj_ws/log/latest_build @@ -0,0 +1 @@ +build_2024-04-15_22-09-31 \ No newline at end of file