-
Notifications
You must be signed in to change notification settings - Fork 22
Added ability to change start pose of stretch #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+101
−38
Conversation
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
Contributor
|
Hey @hello-robot-shehab, I'm seeing this error when running Traceback (most recent call last):
File "/home/binitshah/repos/new_work_on_mujoco/stretch_mujoco/examples/test_one_process.py", line 16, in <module>
MujocoServer.launch_server(
File "/home/binitshah/repos/new_work_on_mujoco/stretch_mujoco/stretch_mujoco/mujoco_server.py", line 198, in launch_server
server = cls(scene_xml_path, model, stop_mujoco_process_event, data_proxies,start_translation , start_rotation_quat)
File "/home/binitshah/repos/new_work_on_mujoco/stretch_mujoco/stretch_mujoco/mujoco_server.py", line 233, in __init__
model = self.change_start_pose(translation = start_translation, rotation_quat=start_rotation_quat, xml_path=scene_xml_path)
File "/home/binitshah/repos/new_work_on_mujoco/stretch_mujoco/stretch_mujoco/mujoco_server.py", line 211, in change_start_pose
return MjModel.from_xml_string(spec.to_xml())
ValueError: Error: Error opening file 'assets/base_link_0.obj': No such file or directory |
Contributor
Author
Yes, pushing a fix now, thanks! |
Contributor
Author
|
Fixed! Thanks for catching that @hello-binit! I also fixed the quaternion real-part [1,0,0,0] that we talked about before. Thanks! |
…ecause of a race-condition on import with multiprocessing.
df8ea22 to
182ab65
Compare
hello-binit
approved these changes
Jan 5, 2026
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.
Added the ability to specify the start translation and rotation.
To test, run this
start_pose.pyexample script (https://github.com/hello-robot/stretch_mujoco/pull/98/changes#diff-c99c383503c8304ed2a4a454ff0f836b58ef84a2f05401ddd43bf6ffc7f6c5ae):