Skip to content

Commit

Permalink
Set env var when parsing from robot-descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed May 14, 2024
1 parent d7cfcc6 commit 778c672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def jaxsim_model_ergocub() -> js.model.JaxSimModel:
)
)

os.environ["MESH_PATH"] = str(model_urdf_path.parents[3])

return build_jaxsim_model(model_description=model_urdf_path)


Expand Down Expand Up @@ -235,6 +237,8 @@ def jaxsim_model_ur10() -> js.model.JaxSimModel:

model_urdf_path = pathlib.Path(robot_descriptions.ur10_description.URDF_PATH)

os.environ["MESH_PATH"] = str(model_urdf_path.parents[4])

return build_jaxsim_model(model_description=model_urdf_path)


Expand Down

0 comments on commit 778c672

Please sign in to comment.