Hello all, Look, it is not necessary to have instant loop detectors be accessible via TraCI. Instant loop detectors are rather a try to reproduce what is possible via TraCI off-line. The TraCI functionality of the plain inductive loops already allows to retrieve all the values that are within the instant loop output, doesn't it?
Sincerely, Daniel 2014-02-14 8:58 GMT+01:00 Jakob Erdmann <[email protected]>: > Hello, > - the output is buffered which means that you will only see the contents of > the file after closing sumo-gui. > - instantInductionLoops are not currently accessible via TraCI (only normal > inductionLoops are). That they are included in the list return by > traci.inductionloop.getIDList() is a bug (thank you for bringing this to > our attention) > regards, > Jakob > > PS: see the newly opened tickets (http://sumo-sim.org/trac.wsgi/ticket/1147, > http://sumo-sim.org/trac.wsgi/ticket/1148) > > > > 2014-02-14 Mani Amoozadeh <[email protected]>: > >> >> Hi, >> I have difficulties in using loop detectors in SUMO. I would appreciate >> if >> you give me a hint. >> I am using this xml file and feed it to the sumo-gui. >> ------------------------------------------------------------------- >> <additional xmlns:xsi=[1]"http://www.w3.org/2001/XMLSchema-instance" >> xsi:noNamespaceSchemaLocation=[2]" >> http://sumo-sim.org/xsd/additional_file.xs >> d"> >> <instantInductionLoop id="detector1" lane="1to2_0" pos="200" freq="1" >> file="/home/mani/Desktop/loopOutput"/> >> </additional> >> ------------------------------------------------------------------ >> I can see the loop detector in sumo-gui, but nothing is written into the >> output file although vehicles passed the loop detector. >> I also tried using TraCI to get a list of loop detectors in the >> simulation ( >> id list (0x00)), and I got detector1, but asking for ( last step vehicle >> number (0x10)) from "detector1" gives error. >> What I am doing wrong here ? >> Thanks! >> - Mani >> >> References >> >> 1. http://www.w3.org/2001/XMLSchema-instance >> 2. http://sumo-sim.org/xsd/additional_file.xsd >> >> ------------------------------------------------------------------------------ >> Android apps run on BlackBerry 10 >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> Get your Android app in front of a whole new audience. Start now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&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
