Skip to content

Commit

Permalink
clear base class cache from worldvoxelcollision
Browse files Browse the repository at this point in the history
  • Loading branch information
balakumar-s committed Apr 26, 2024
1 parent 3f1beb9 commit 1e0b5a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/curobo/geom/sdf/world_voxel.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ def clear_cache(self):
- self.max_esdf_distance
).to(dtype=self._voxel_tensor_list[3].dtype)
self._env_n_voxels[:] = 0
super().clear_cache()

def get_voxel_grid_shape(self, env_idx: int = 0, obs_idx: int = 0):
return self._voxel_tensor_list[3][env_idx, obs_idx].shape

0 comments on commit 1e0b5a8

Please sign in to comment.