Hi Giannis, the case is like I originally assumed, that the stops added via the XML are much larger than the stops added via TraCI and as such cover the position of the person while the traci stops don't.
Regards, Michael Am 07.04.2015 um 11:26 schrieb Giannis Bakas: > Hi Michael, > > I confirm that with the bus configured in xml, stops and the person > jumps on the bus. Here is the xml code: > > *<!-- bus.add.xml-->* > <busStop id="busstop1" lane="116895988#2_0" startPos="180" > endPos="200" lines="1 2"/> > <busStop id="busstop2" lane="116895988#4_0" startPos="70" > endPos="90" lines="1 2"/> > > <vType id="BUS_DEMAND" accel="2.6" decel="4.5" sigma="0" length="12" > minGap="3" maxSpeed="70" color="0,1,0" guiShape="bus" personCapacity="50"/> > > <vType id="BUS" accel="2.6" decel="4.5" sigma="0" length="12" > minGap="3" maxSpeed="70" color="1,1,0" guiShape="bus" personCapacity="50"/> > > *<!-- This flow of bus stops and the persons jumps on the bus -->* > <flow id="BUSLINE1" type="BUS" depart="0" period="300" line="1"> > <route edges="116895988#2...319033097#2"/> > <stop busStop="busstop1" duration="20"/> > <stop busStop="busstop2" duration="20"/> > </flow> > > *<!-- Here are the persons, person-2 doesn't jump on the vehicle with > type BUS_DEMAND added by traci define with line=2-->* > <person id="person-1" depart="150"> > <walk from="116895988#2" to="116895988#2" departPos="120" > arrivalPos="190"/> > <ride from="116895988#2" to="116895988#4" lines="1"/> > <!--<walk from="116895988#4" to="116895988#4" departPos="85" > arrivalPos="125"/>--> > </person> > > <person id="person-2" depart="239"> > <walk from="116895988#2" to="116895988#2" departPos="125" > arrivalPos="190"/> > <ride from="116895988#2" to="116895988#4" lines="2"/> > <!--<walk from="116895988#4" to="116895988#4" departPos="85" > arrivalPos="125"/>--> > </person> > > <person id="person-3" depart="400"> > <walk from="116895988#2" to="116895988#2" departPos="125" > arrivalPos="190"/> > <ride from="116895988#2" to="116895988#4" lines="1"/> > <!--<walk from="116895988#4" to="116895988#4" departPos="85" > arrivalPos="125"/>--> > </person> > > I remain at your disposal for any clarification. > > Giannis > > On 7/4/2015 11:31 πμ, Michael Behrisch wrote: >> Hi Giannis, >> >> Am 06.04.2015 um 09:26 schrieb Giannis Bakas: >>> Just to inform you that buses loaded from the xml are working fine, >>> probably because >>> the vehicle knows the start and end position of the stop, as you >>> mentioned. >> Just to get this one right. If you give exactly the same stops via XML >> instead of TraCI it works? Or do you have larger stops (meaning startPos >> and endPos differ considerably) then? >> >> Regards, >> Michael >> >> >> > > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
