This repository was archived by the owner on Jan 12, 2026. It is now read-only.
Repository navigation
External access to MuJoCo model and data - #39
Merged
eholum-nasa merged 3 commits intoNov 21, 2025
Merged
eholum-nasa merged 3 commits into
eholum-nasa merged 3 commits into
Conversation
Signed-off-by: Paul Gesel <pgesel@theaiinstitute.com>
Signed-off-by: Paul Gesel <pgesel@theaiinstitute.com>
eholum-nasa
approved these changes
Nov 21, 2025
eholum-nasa
left a comment
Member
There was a problem hiding this comment.
Probably little used interfaces for the near term but unlimited power.
|
|
||
| void MujocoSystemInterface::get_model(mjModel*& dest) | ||
| { | ||
| const std::unique_lock<std::recursive_mutex> lock(*sim_mutex_); |
Member
There was a problem hiding this comment.
Someday we will refactor this whole darn thing so that we're not living with the lazy choice I made 6 months ago forever... But it is not this day.
eholum-nasa
added a commit
that referenced
this pull request
Nov 21, 2025
External access to MuJoCo model and data
This was referenced Nov 21, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
I have a specialized use case for accessing the MuJoCo model and data external to the
MujocoSystemInterfaceclass. This PR add an interfaces for reading and writing the data. I intent to call these methods from either a hardware interface that inherits fromMujocoSystemInterfaceor from outside the class, potentially a wrapper hardware interface or a singleton pattern. Either way, adding these public methods will work.