flow-project / flow

Computational framework for reinforcement learning in traffic control
MIT License
1.06k stars 374 forks source link

two bugs fixed #1075

Open CharlesV-s-friend-Suleiman opened 1 year ago

CharlesV-s-friend-Suleiman commented 1 year ago

Pull request information

Description

1.fixed a wrong written mistakes in ./flow/network/traffic_light_grid.py the original codes reversed the generate-method in connections of vectical and horizontal lanes

2.fixed a mistakes in ./flow/core/kernel/vehicl/traci.py the function setColor has atrribute typeID, but original codes miswrite as vehID.this will cause a running time error.