Hello, When two vehicles that are driving next to each other need to swap their places in order to follow their routes, one of them will slow down to allow lane changing (this will only happen in a network with dedicated turning lanes). Your control approach prevents lane-changing related speed adjustments and thus causes the deadlock. Generally speaking,vehicles will drive slower than their allowed speed either due to driver imperfection or because there is some good reasons (i.e. lane-changing or a scheduled stop). The former can be disabled by calling vehicle.setImperfection(vehID, 0) or by setting vType-parameter sigma to 0. If vehicles shall exceed the road speed limit temporarily you can also use traci.vehicle.setSpeedFactor() regards, Jakob
2017-04-18 7:40 GMT+02:00 Jakob Erdmann <[email protected]>: > Hello, > this issue has not yet come up. If you can send me a small > NETGENERATE-based scenario and traci-python script that shows the issue I > will take a look (the smaller the scenario and scipt, the better). > regards, > Jakob > > 2017-04-15 20:10 GMT+02:00 Cullen Rhodes <[email protected]>: > >> Hi All, >> >> I'm working on a project that uses SUMO and TrACI (via Python) to simulate >> V2I communication between traffic lights and vehicles. If the current >> traffic light phase is green the remaining time is communicated to the >> approaching vehicles so they can adjust their speed accordingly. I >> increase >> vehicle speed in TraCI using traci.vehicle.setSpeed, however I've noticed >> this is causing vehicles to end up in the wrong lane and they block the >> intersection until they're teleported by SUMO after 300 seconds. This >> issue >> only seems to occur with more complicated simulations such as random >> networks generated by NETGENERATE and TAPASCologne, but not with grid >> networks and simple intersections. >> >> Has anybody seen this behaviour before? >> >> Regards, >> Cullen Rhodes >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
