Closed JoeyWu99 closed 6 months ago
You can change this here, because we predefined a TimeLimitWrapper
for each env.
Thank you for your reply.
I tried to change the 'SafetyPointRace0-v0' environment by changing ‘500’ to ‘1000’ in line #188 of the init.py. :
__combine(race_tasks, robots, max_episode_steps=1000)
When I tested it I found that the env._max_episode_steps did change to 1000, but it was still truncated at 500 steps.
Required prerequisites
Questions
Hi,I'm a new beginner of the safety_gymnasium. I want to change the step of truncation. I'm trying to change with this code:
However, It doesn't seem to be working. Is there any solution?