From 94647c7724274762e5741b44a6c00f38670c1ea5 Mon Sep 17 00:00:00 2001 From: Isaac Saito Date: Fri, 15 Nov 2024 14:11:27 -0500 Subject: [PATCH] WIP: (IDK what I was trying to do) Signed-off-by: Isaac Saito --- hut_10sqft/src/hut_10sqft/init_setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hut_10sqft/src/hut_10sqft/init_setup.py b/hut_10sqft/src/hut_10sqft/init_setup.py index f10df33..1884729 100755 --- a/hut_10sqft/src/hut_10sqft/init_setup.py +++ b/hut_10sqft/src/hut_10sqft/init_setup.py @@ -638,6 +638,8 @@ def run(self, args, host_config, conf_repo_remote, conf_base_path): # Installation by batch based on the list defined in package.xml. self.setup_rosdep_and_run(args.path_local_conf_repo, init_rosdep=True) + # Install dependency that is not available via rosdep + self.install_deps_adhoc() _abs_path_confdir = os.path.join(args.path_local_conf_repo, args.path_conf_dir) self._logger.debug(f"Abs_path_confdir: '{_abs_path_confdir}") @@ -754,6 +756,7 @@ def install_deps_adhoc(self, deb_pkgs=[], pip_pkgs=[], allow_pip_break=False): OsUtil.apt_install(deb_pkgs, self._logger) self._logger.info(f"pip_pkgs: {pip_pkgs}") OsUtil.install_pip_adhoc(pip_pkgs, allow_break=allow_pip_break) + # TODO self.add_runtime_issue(f"'rosdep install' failed.\n\tOutput: {output}\n\tError: {error}") def create_data_dir(self, dirs_tobe_made): self._logger.info("Making directories historically been in use: {}".format(dirs_tobe_made))