Add MujocoBehaviorsLoader and mujoco_objectives to all robot configs#543
Merged
marioprats merged 5 commits intomainfrom Mar 31, 2026
Merged
Add MujocoBehaviorsLoader and mujoco_objectives to all robot configs#543marioprats merged 5 commits intomainfrom
marioprats merged 5 commits intomainfrom
Conversation
|
I tested this in factory_sim, and the Mujoco Objectives show up, and also the menu button to "Reset Simulation". |
|
I think this is still missing adding the "default" keyframe to the Mujoco scene.xml, i.e. all scene.xml files need to have a |
ed5ab1a to
b41613d
Compare
…onfigs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
b41613d to
2099665
Compare
Add MuJoCo behavior loader and objectives
Member
Author
|
@marioprats i tested running 1 objective in every robot_config, then ran reset sim, and it all worked |
|
Perfect, thanks! |
marioprats
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add
MujocoBehaviorsLoaderandmujoco_objectiveslibrary path to MuJoCo-enabled robot configs, enabling the Reset Simulation feature in the UI for all MuJoCo sim configs.Changes per config:
mujoco_objectivesentry pointing tomoveit_pro_objectives/objectives/mujocoMujocoBehaviorsLoadertobehavior_loader_plugins(only for configs that don't inherit it)mujoco_keyframe: "default"to hardware params where missingdefaultkeyframe inscene.xmlwhere missing or brokenTesting status
Configs NOT changed
Key learnings
based_on_package(e.g.,april_tag_sim→lab_sim,space_satellite_sim→kinova_sim) should not add abehavior_loader_pluginssection unless they need to extend the list — adding one overrides the inherited loaders entirely.qposvalues must exactly match the model's total DOF count (nq). The old april_tag_sim keyframe had 82 values from a previous model revision; the current model needs 57.Test plan
🤖 Generated with Claude Code