[FEATURE] Truncate envs on timeout
Aperta
enhancement
real-hardware
simulation
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 0
- Merge medio
- 3g 1h
- PR unite (30g)
- 2
Descrizione
### Description
An idea proposed by @sivral is to timeout envs if too much wall-clock time will pass. It could be crucial in real tasks.
The original code looked like this in the `aegis_reacher`:
```python3
current_time = time.time()
elapsed_time = current_time - self.episode_start_time
truncated = elapsed_time >= self.max_episode_length
```
### References
_No response_
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.