Skip to content

How to specify commit or tag for Menagerie models? #86

Answered by stephane-caron
kevinzakka asked this question in Q&A
Discussion options

You must be logged in to vote

Sure thing: loaders in robot-descriptions have a commit keyword argument to pin the version of any robot description. For instance, to load a UR5e from a specific commit of MuJoCo Menagerie:

from robot_descriptions.loaders.mujoco import load_robot_description

model = load_robot_description(
    "ur5e_mj_description",
    commit="cc3868ec21bae324e6dd3b01ea185b6e6f0fa172",
)

I just pushed this example in specific_commit.py.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@kevinzakka
Comment options

Answer selected by kevinzakka
Comment options

You must be logged in to vote
1 reply
@stephane-caron
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #85 on June 04, 2024 08:05.