Hello, 1) the <additional-files.../> element must be added to the .sumocfg file. 2) the E1 detector is declared as <inductionLoop.../> see http://sumo.dlr.de/wiki/Simulation/Output/Induction_Loops_Detectors_(E1) regards, Jakob
2017-04-04 9:53 GMT+02:00 Yiqun Xia <[email protected]>: > Hallo there, > > > I have a Problem with Sumo detector, could you help me? > > > I want to add an E1 detector on lane "entry_0", so I create a text file > and save as Input_det.add.xml > > > <sumo-detectors> > <detector id="0" lane="entry_0" pos="10" freq="1" file="detector.xml"/> > </sumo-detectors> > > > But where should I add the following codes > > > <input> > <additional-files value="input_det.add.xml "/> > </input> > > > Since there are two configuration file, one is .netc.cfg and the other is > .sumocfg. I think it's more reasonable to add it to .netc.cfg and run it in > command window, but it doens't work. Then I tried to add it to .sumocfg and > doubble clicked the Icon, the Input_det.add.xml was loaded successfully, > but I cann't see any detector on the map, and after finishing the > Simulation, I cannot find the Output file detector.xml anywhere. > > > Could you tell me, where did I make any mistake? Thanks! > > > > Mit freundlichen Grüßen > Yiqun > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
