Skip to content

Commit

Permalink
Fix mujoco_compile
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangGiang93 committed Nov 19, 2024
1 parent 3567980 commit 59d6553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def resources_paths(self) -> List[str]:
resources_path) else resources_path
for resources_path in resources_paths
]
resources_paths = [os.path.abspath(resources_path) for resources_path in resources_paths]
return resources_paths

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class MujocoCompiler:
should_add_key_frame: bool

def __init__(self, args):
self.world_xml_path = os.path.abspath(args.world)
self.world_xml_path = args.world
print(f"World: {self.world_xml_path}")
self.should_add_key_frame = args.should_add_key_frame
self.scene_name = args.name
Expand Down

0 comments on commit 59d6553

Please sign in to comment.