sidewalklabs / sumo-web3d

Web-based 3D visualization of SUMO microsimulations using TraCI and three.js.
Eclipse Public License 2.0
158 stars 63 forks source link

No cars etc. in Simulation #35

Open khan101101 opened 4 years ago

khan101101 commented 4 years ago

Hi, I am able to run the simulation but I don't any movement in there, just the scenarios can be loaded. Any help will be highly appreciated.

Thank you. Regards Nasim

mlclemente commented 4 years ago

I am encountering the same problem. I downloaded the tar.gz file, corrected the two things in setup.py as suggested in issue #32, and replaced trafficlights module with its new name trafficlight (see issue #31), I corrected config file (run.sumo.cfg) of default bologna-acosta scenario, where list of input files were not comma separated. Now the scenario can be loaded, the simulation seems to run but without showing vehicles in it. Now I don't know how to go on because there are no errors in stdout nor in log file.

avalon-mcy commented 3 years ago

The server.py has a problem in simulate_next_step(): traci.simulation.getSubscriptionResults(), this function return an empty result. I just use traci.vehicle.getIDList() as ids and vehicles showing in it

Laudarisd commented 3 years ago

@avalon-mcy I am still not able to see cars or any other vehicles. Any idea to get rid of this issu?

apostolosvou commented 2 years ago

@avalon-mcy i tried this but I'm still not able to see cars in the simulation. Could you explain this change further or suggest me any other solution? Thank you in advance