Open kjang96 opened 6 years ago
Removed switch_time from green_wave_env's env params, and replaced with min_yellow_time and min_green_time. Also added tests in test_traffic_lights.py
self.last_change is still 3 columns long, but now records last change for switches to green, not only switches to yellow.
Removed switch_time from green_wave_env's env params, and replaced with min_yellow_time and min_green_time. Also added tests in test_traffic_lights.py
self.last_change is still 3 columns long, but now records last change for switches to green, not only switches to yellow.