Skip to content

Commit

Permalink
Merge branch 'camera_benchmarks' of github.com:kellyguo11/IsaacLab-pu…
Browse files Browse the repository at this point in the history
…blic into camera_benchmarks
  • Loading branch information
kellyguo11 committed Jul 31, 2024
2 parents 589ca9c + 494f334 commit 00f0b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _configure_gym_env_spaces(self):
def _setup_scene(self):
"""Setup the scene with the cartpole and camera."""
self._cartpole = Articulation(self.cfg.robot_cfg)
self._tiled_camera = TiledCamera(self.cfg.tiled_camera)
self._tiled_camera = self.cfg.tiled_camera.class_type(self.cfg.tiled_camera)

# clone, filter, and replicate
self.scene.clone_environments(copy_from_source=False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _setup_scene(self):
# add hand, in-hand object, and goal object
self.hand = Articulation(self.cfg.robot_cfg)
self.object = RigidObject(self.cfg.object_cfg)
self._tiled_camera = TiledCamera(self.cfg.tiled_camera)
self._tiled_camera = self.cfg.tiled_camera.class_type(self.cfg.tiled_camera)
# clone and replicate (no need to filter for this environment)
self.scene.clone_environments(copy_from_source=False)
# add articultion to scene - we must register to scene to randomize with EventManager
Expand Down

0 comments on commit 00f0b01

Please sign in to comment.