Re: [sumo-user] 回复: start-up lost time

2020-12-10 Thread Jakob Erdmann
Using extra 'u' time or extra 'r' time is the same. However, setActionStepLength differs because it takes effect for the whole simulation and in any kind of situation after being set. Am Fr., 11. Dez. 2020 um 04:28 Uhr schrieb q kevin : > Hello, > In order to simulate the start-up lost time in su

Re: [sumo-user] rerouting first or weight update

2020-12-10 Thread Jakob Erdmann
Probably: https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html#delayed_departure Am Do., 10. Dez. 2020 um 22:39 Uhr schrieb Raheleh Zarei < raheleh.za...@gmail.com>: > Thank you. > My script looks like this. > python myRandomTrips.py -n eichstaett.net.xml -o > ./Eichstaett-TripsTest/RoutingS

Re: [sumo-user] Change SUMO config on remote server through TRACI

2020-12-10 Thread Jakob Erdmann
You can use traci.load(['-c', 'new.sumocfg']) or any other sumo command line options to reload the simulation from within your traci script. Am Do., 10. Dez. 2020 um 17:07 Uhr schrieb Sampath Vanimisetti < sampath.vanimise...@gmail.com>: > Hello All: > > I am a new user of SUMO and CARLA - and th

Re: [sumo-user] Vehicles not following Traffic Signal with traci.

2020-12-10 Thread Jakob Erdmann
- how did you create the traffic signals? - are the traffic signals visible when running your simulation in sumo-gui with traci? - can you attach a screenshot of a vehicle that is violating a traffic signal? Am Do., 10. Dez. 2020 um 12:42 Uhr schrieb Shah Sultan < syedshahsul...@gmail.com>: > Tha

Re: [sumo-user] 回复: start-up lost time

2020-12-10 Thread q kevin
Hello, In order to simulate the start-up lost time in sumo, I think the mechanism and effect of using"u", using extral red time and using traci.vehicle.setactionsteplength are the same. Am I right? Best reagrds, Kevin 获取 Outlook for Android ___

Re: [sumo-user] rerouting first or weight update

2020-12-10 Thread Raheleh Zarei
Thank you. My script looks like this. python myRandomTrips.py -n eichstaett.net.xml -o ./Eichstaett-TripsTest/RoutingSim12.rou.xml --random true -b 0 -e 200 --period 0.5 --binomial 200 --junction-taz true However, some trips depart at a time later than 200 and I was wondering why this happened? Th

Re: [sumo-user] SUMO vehicle context subscriptions

2020-12-10 Thread Hriday Sanghvi
Hello Jakob, Thank you so much for your reply! I am trying to use the traci constant DISTANCE_REQUEST in order to be able to verify the distance between two vehicles by air/driving but I need to be able to pass some parameters to it. From what I see in *subscribeContext's function signature, *I th

[sumo-user] Change SUMO config on remote server through TRACI

2020-12-10 Thread Sampath Vanimisetti
Hello All: I am a new user of SUMO and CARLA - and this is my first post to this forum. I am running the CARLA-SUMO co-simulation example (spawn_npc_sumo.py). I noticed that the sumo instance is started locally if not host/port are specified. However, if I specify a remote host/port (not localhos

Re: [sumo-user] Address already in use: Race condition between isolated executions

2020-12-10 Thread Marcelo Andrade Rodrigues D Almeida
Thank you for your response This error happens inside a docker container. In my dockerfile, I'm building directly from source (version 1.8.0) There is no concomitant installation, and the image would give start to a fresh container. Besides, the traci import only works with this piece of code

Re: [sumo-user] Vehicles not following Traffic Signal with traci.

2020-12-10 Thread Shah Sultan
Thanks a lot for your reply. How can find if the problem is in xml file? Actually, I use netconvert command as written below to generate my network file. "netconvert --osm-files oz.osm --output-file oz.net.xml --geometry.remove --roundabouts.guess --ramps.guess --junctions.join --tls.guess-sig

Re: [sumo-user] SUMO vehicle context subscriptions

2020-12-10 Thread Jakob Erdmann
Hello, addSubscriptionFilterFieldOfVision must be set directly after a call to vehicle.subscribeContext. It will use the range of that subscription and filter it by angle. 1) upstream and downstream dist are measured in m along the route of the vehicle 2) unfortunately, no. 3) Filters are meant t