From 1e0b5a80c295fb91bc4af97dc219504cba8a6f16 Mon Sep 17 00:00:00 2001 From: Balakumar Sundaralingam Date: Fri, 26 Apr 2024 14:36:43 -0700 Subject: [PATCH] clear base class cache from worldvoxelcollision --- src/curobo/geom/sdf/world_voxel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/curobo/geom/sdf/world_voxel.py b/src/curobo/geom/sdf/world_voxel.py index 0cdaad54..359f576c 100644 --- a/src/curobo/geom/sdf/world_voxel.py +++ b/src/curobo/geom/sdf/world_voxel.py @@ -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