Skip to content

Conversation

@hello-robot-shehab
Copy link
Contributor

No description provided.

@hello-binit
Copy link
Contributor

Hey @hello-robot-shehab, I'm seeing this error when running uv run examples/test_one_process.py. Are you seeing this too?

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

@hello-robot-shehab
Copy link
Contributor Author

Hey @hello-robot-shehab, I'm seeing this error when running uv run examples/test_one_process.py. Are you seeing this too?

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

Yes, pushing a fix now, thanks!

@hello-robot-shehab
Copy link
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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants