Hi Giannis,
vehicles now have a person capacity which needs to be defined in the
vehicle type, see
http://www.sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Types,
so please share your type definition as well. The default should be 4
but maybe something is wrong here.
Best regards,
Michael
Am 31.03.2015 um 16:09 schrieb Giannis Bakas:
> Dear all,
>
> I want to create a bus on demand simulation using sumo. For this reason
> I am using TraCI to add vehicles during simulation. The persons are
> created statically from xml files. With sumo 0.22.0 everything worked
> fine, but with sumo 0.23.0 persons don't ride on the dynamically created
> vehicle, even though the vehicle stops at the station. I am using both
> line and vehicle id on the lines attribute of person.
>
> Here is the TraCI code for adding the bus:
>
> traci.vehicle.addFull("DEMANDBUS","BUS_ONDEMAND_ROUTE",typeID="BUS_DEMAND",line="2",depart="239")
> traci.vehicle.setStop("DEMANDBUS","116895988#2",pos=200,laneIndex=0,duration=20,flags=0)
> traci.vehicle.setStop("DEMANDBUS","116895988#4",pos=90,laneIndex=0,duration=20,flags=0)
>
> and here is the person configuration with line:
>
> <person id="person0" depart="150">
> <walk from="116895988#2" to="116895988#2" departPos="125"
> arrivalPos="195"/>
> <ride from="116895988#2" to="116895988#4" lines="2"/>
> <walk from="116895988#4" to="116895988#4" departPos="85"
> arrivalPos="125"/>
> </person>
>
> P.S. I really loved the TraCI API for persons and the show routes
> functionality on the GUI.
>
> best regards,
> Giannis
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user