Skip to content

Commit

Permalink
WIP: (IDK what I was trying to do)
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Saito <[email protected]>
  • Loading branch information
130s committed Nov 15, 2024
1 parent fcfd8a3 commit 94647c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hut_10sqft/src/hut_10sqft/init_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 94647c7

Please sign in to comment.