It doesn't work. NS3 can't identify the vehicle ids in the format "41383_41383_361". How to resolve this ?
On Tue, Dec 16, 2014 at 1:03 PM, Jakob Erdmann <[email protected]> wrote: > > Hello, > there is no 1 to 1 mapping. The tcl-ids are from a running index which > gets assigned in the order in which vehicles first appear in the > simulation. Whenever the insertion of a vehicle is delayed due to jamming, > these indices may go out of sync. > If you want to use the original ids take a look at > sumo/tools/sumolib/__init__.py:137 and change self.index to id > regards, > Jakob > > 2014-12-16 4:57 GMT+01:00 Vidura Amarakoon <[email protected]>: > >> Hi, >> >> Is there 1 to 1 mapping from rou.xml file to trace file mobility.tcl ? I >> want to find the vehicle Id using the index from .tcl file. But i've found >> that it doesn't work sometimes. >> >> For example 20th indexed vehicle in .tcl file has a different route than >> 20th vehicle in rou.xml file. But for some indexes both vehicles in .tcl >> and rou.xml file have the same route. >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
