LucasAlegre / sumo-rl

Reinforcement Learning environments for Traffic Signal Control with SUMO. Compatible with Gymnasium, PettingZoo, and popular RL libraries.
https://lucasalegre.github.io/sumo-rl
MIT License
743 stars 201 forks source link

Modified `sumo_rl/environment/env.py` file #210

Open Kunal-Kumar-Sahoo opened 3 months ago

Kunal-Kumar-Sahoo commented 3 months ago

Added another parameter to the environment constructor ignore-route-errors to avoid runtime errors when specific routes are not found during the simulation.

This will help in simulating on a lot of real-world OSM maps.