Re: [sumo-user] Traci Pedestrians: Is it possible to have control about the simulation's time?

2023-03-28 Thread Gervalino Bilas
Worked like a charm, Jakob. Thanks. Em ter., 28 de mar. de 2023 às 03:21, Jakob Erdmann escreveu: > Here is what happens: > - your network has disconnected components > - when you generate intermediate locations, there is a high probability > that some of them are in different components of the

Re: [sumo-user] Traci Pedestrians: Is it possible to have control about the simulation's time?

2023-03-27 Thread Jakob Erdmann
Here is what happens: - your network has disconnected components - when you generate intermediate locations, there is a high probability that some of them are in different components of the network - walks between disconnected are invalid and rejected when generating the route file Here is the sol

Re: [sumo-user] Traci Pedestrians: Is it possible to have control about the simulation's time?

2023-03-26 Thread Jakob Erdmann
calling randomTrips with your options creates 50 persons as expected. Since your prior script references a different network (data/test.net.xml.gz) and also calls a test.sumocfg that you did not include, these are candidates where your problem may originate. Am Fr., 24. März 2023 um 21:04 Uhr sch

Re: [sumo-user] Traci Pedestrians: Is it possible to have control about the simulation's time?

2023-03-23 Thread Jakob Erdmann
This might happen if the network doesn't allow pedestrians. You can probably figure it out yourself by playing around with the test cases for randomTrips: https://sumo.dlr.de/extractTest.php?path=tools/trip/randomTrips/persons If it's still unclear after that, feel free to provide the network file.

[sumo-user] Traci Pedestrians: Is it possible to have control about the simulation's time?

2023-03-23 Thread Gervalino Bilas
Hello. Is it possible to have control about the simulation's time? With this code I can have 50 pedestrians walking in a network in a random way: randomTrips.main(randomTrips.get_options([ '--net-file', 'data/test.net.xml.gz', '--route-file', 'test.pedestrians.rou.xml',