Describe the bug
the reset function raycaster recalculates the drifting value, but the returned value did not get saved to self.drift. Namely
def reset(self, env_ids: Sequence[int] | None = None):
# reset the timers and counters
super().reset(env_ids)
# resolve None
if env_ids is None:
env_ids = slice(None)
# resample the drift
self.drift[env_ids].uniform_(*self.cfg.drift_range) <--------------------- Drift isn't updated
the fix is to ensure self.drift gets updated
self.drift = self.drift[env_ids].uniform_(*self.cfg.drift_range)
Checklist