Hello, your busStop definition is ignored because you are using the wrong syntax. It should be: <busStop id="<BUS_STOP_ID>" lane="<LANE_ID>" startPos="<STARTING_POSITION>" endPos="<ENDING_POSITION>" [line="<LINE_ID>[ <LINE_ID>]*"]/> (see http://sumo-sim.org/wiki/Simulation/Public_Transport) Your plain stop definition does not work because you did not specify an endPos (it defaults to the end of the lane and since the stop is on the last edge it is ignored as well) regards, Jakob
2013/10/23 hanene <[email protected]>: > Hi all, > > > > I am simulating emergency vehicles trips using sumo. For this I begin by > defining first vehicle path that will be update according to emergency call > using Traci4j. > > I need to force emergency vehicles to stop in some area such as hospital > parking or accident area. > > > > Looking in sumo documentation I found it is possible to set stop like > busses one in specific area. So I defined a stop like described below. > However running the simulation I remarked that vehicles ignore my stop > continue their roads as and then disappear. > > Could you please help me? I can’t figure out where is the problem! > > > <Stop busStop="EVstop" lane="12550833_0" startPos="10" endPos="50" /> > > <vType id="EV" accel="2.6" decel="4.5" sigma="0.5" length="9" minGap="3" > maxSpeed="90" color="1,0,1" guiShape="delivery"/> > > <vehicle id="EV1" type="EV" depart="0"> > <route edges="-12373808#0 -140618203#0 -12376399#2 -12381740#4 > -12381740#3 -12381740#2 -12381740#1 104276917 -12380276#2 -12380276#1 > 40788792#10 40788792#11 40788792#12 40788792#15 12550833 12550468#6"/> > > <busStop id = "EVstop" duration="2000" parking="true"/> > </vehicle> > > <vehicle id="EV6" type="EV" depart="0"> > <route edges="12550468#6 -12550429#1 -12550429#0 -40788792#14 > -40788792#11 -40788792#10 -40788792#9 -40788792#8 -40788792#5 -40788792#4 > -40788792#3 -40788792#2 -40788792#1 -40788792#0 -40788791 9896846#1 > 9896846#2 104184686 104184626#0 104184626#1 9897006#0 9897006#2 > 12550042#1"/> > > <stop lane = "12550042#1_0" duration="2000" triggered="true" parking = > "true"/> > </vehicle> > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
