ucla-mobility / OpenCDA

A generalized framework for prototyping full-stack cooperative driving automation applications under CARLA+SUMO.
Other
1k stars 198 forks source link

Sumo_cosim_debug #162

Closed hs867785578 closed 2 years ago

hs867785578 commented 2 years ago

Pull request information Status: ready to merge Kind of changes: bug fix

Description I find a bug when I run “opencda.py -t single_town06_cosim -v 0.9.12 --apply_ml”. Specifically, in line 304 of file opencda\co_simulation\sumo_integration\sumo_simulation.py, traci.sumlib.net.readNet(net_file) is not supported. Instead, it should be sumlib.net.readNet(net_file).

DerrickXuNu commented 2 years ago

I think this is mainly caused by the sumo version. By default, we use sumo of 1.10.0