Hello, if you are using VEINS, the command: traci->getManager()->commandGetRouteId( traci->getExternalId() ) should give you the route id of each vehicle. If your version of VEINS does have this function try from GitHub: https://github.com/sommer/veins .
Best, Pavlos 2014-02-20 4:18 GMT+02:00 Deepak Ananth Rama <[email protected]>: > Hi. > > > I had a couple of questions on retrieving route ids in the simulation - > > > TraCIScenarioManager has couple of functions to access vehicle / lane / > edge information etc. during runtime. > > > > > * Is there a function to access the list of all route IDs in the > simulation? Couldn't find that in TraCIScenarioManager, but a reference to > that exists on the SUMO wiki ( > http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI/Route_Value_Retrieval) > * Routes without IDs (such as those generated via duarouter have a > route defined internal to each car) - how are these handled by a function, > if any from the above? > > > > > > > ------------------------------------------------------------------------------------------------------------------------------------------------- > Thanks, > Deepak Ananth Rama > Graduate Student, Computer Science Department > Email: [email protected] > > Phone: +1 (925) 918-5035 > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
