Allow passing additional search paths by setting an environment variable #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are cases in which the Python package is used quite extensively and there multiple calls to resolve some mesh URIs, e.g. https://github.com/ami-iit/jaxsim/blob/main/src/jaxsim/mujoco/loaders.py. This pull requests adds the possibility to set an environment variable in order to add custom search paths globally and it updates the README accordingly.
Examples
Documentation Improvements:
README.md
to replacemamba
withconda
for consistency and simplicity. (README.md
, README.mdL12-R12)README.md
explaining how to specify custom search paths for theresolve-robotics-uri-py
tool, including examples for both command-line usage and Python code. (README.md
, README.mdL48-R82)Code Enhancements:
resolve_robotics_uri
function to support additional search paths specified via theRRU_ADDITIONAL_PATHS
environment variable. This allows users to define custom directories for resolving URIs, improving flexibility. (src/resolve_robotics_uri_py/resolve_robotics_uri_py.py
, src/resolve_robotics_uri_py/resolve_robotics_uri_py.pyR106-R111)