polymetis.utils package

Submodules

polymetis.utils.data_dir module

polymetis.utils.data_dir.get_full_path_to_urdf(path: str)

Gets the absolute path to a relative path of DATA_DIR.

polymetis.utils.data_dir.which(program: str)

Equivalent of which program.

Taken from https://stackoverflow.com/a/377028 Returns equivalent of $(which program), or None if unable to find it.

Parameters:

program – name of the executable to find.

Module contents