Dear Jakob. The problem is in the case (a): build the network without splits first. The exact error message is "Vector iterators incompatible" in method NBEdge::setControllingTLInformation, line 1910. Looks like the method NBLoadedSUMOTLDef::setTLControllingInformation(), in line 126, i.e:
NBEdge* edge = c.getFrom(); Is not retrieving a valid edge. Best Regards. > ------------------------------ > > Message: 3 > Date: Wed, 10 Feb 2016 08:44:56 +0100 > From: Jakob Erdmann <[email protected]> > Subject: Re: [sumo-user] NETCONVERT crashes when splitting edges with > traffic lights > To: Andres Felipe Acosta Gil <[email protected]> > Cc: "[email protected]" > <[email protected]> > Message-ID: > < > cambucbwg5-bu+dwnzfrxkbj3smbwwvqege-p-lh3vzpjc+v...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Dear Andres, > I tried to replicate the problem using the latest development version. This > is what I got: > a) build the network without splits first, then run netconvert again with > the .net.xml and the splits: works without problems > b) build the network with splits: gives an error because the connections in > the .tll.xml file are not known (but no crash) > c) remove the connections from the .tll.xml file and build the network with > splits: gives a warning but builds the network > > > Please try the latest development version and if you find a crash, tell us > the exact steps to reproduce it. > > regards, > Jakob > > 2016-02-05 21:31 GMT+01:00 Andres Felipe Acosta Gil <[email protected] > >: > > > Dear SUMO community. > > > > I found a weird behavior in NETCONVERT when trying to split several edges > > with destination nodes controlled by traffic lights. The traffic lights > > were created with default values provided by NETEDIT. > > > > The nodes file: > > > > <nodes> > > <location netOffset="0.00,0.00" > convBoundary="0.00,0.00,300.00,300.00" > > > > > origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" > > projParameter="!"/> > > > > <node id="n11" x="100.00" y="300.00" type="unregulated"/> > > <node id="n12" x="0.00" y="200.00" type="unregulated"/> > > <node id="n13" x="100.00" y="200.00" type="traffic_light" tl="n13"/> > > <node id="n21" x="200.00" y="300.00" type="unregulated"/> > > <node id="n22" x="200.00" y="200.00" type="priority"/> > > <node id="n23" x="300.00" y="200.00" type="unregulated"/> > > <node id="n31" x="0.00" y="100.00" type="unregulated"/> > > <node id="n32" x="100.00" y="100.00" type="priority"/> > > <node id="n33" x="100.00" y="0.00" type="unregulated"/> > > <node id="n41" x="200.00" y="100.00" type="traffic_light" tl="n41"/> > > <node id="n42" x="300.00" y="100.00" type="unregulated"/> > > <node id="n43" x="200.00" y="0.00" type="unregulated"/> > > </nodes> > > > > The edges file: > > > > <edges> > > <edge id="11to13" from="n11" to="n13" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="13to12" from="n13" to="n12" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="13to32" from="n13" to="n32" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="22to13" from="n22" to="n13" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="22to21" from="n22" to="n21" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="23to22" from="n23" to="n22" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="31to32" from="n31" to="n32" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="32to33" from="n32" to="n33" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="32to41" from="n32" to="n41" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="41to22" from="n41" to="n22" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="41to42" from="n41" to="n42" priority="1" numLanes="1" > > speed="13.89"/> > > <edge id="43to41" from="n43" to="n41" priority="1" numLanes="1" > > speed="13.89"/> > > </edges> > > > > Connections file: > > <connections> > > <connection from="11to13" to="13to12" fromLane="0" toLane="0"/> > > <connection from="11to13" to="13to32" fromLane="0" toLane="0"/> > > > > <connection from="13to32" to="32to33" fromLane="0" toLane="0"/> > > <connection from="13to32" to="32to41" fromLane="0" toLane="0"/> > > > > <connection from="22to13" to="13to12" fromLane="0" toLane="0"/> > > <connection from="22to13" to="13to32" fromLane="0" toLane="0"/> > > > > <connection from="23to22" to="22to21" fromLane="0" toLane="0"/> > > <connection from="23to22" to="22to13" fromLane="0" toLane="0"/> > > > > <connection from="31to32" to="32to33" fromLane="0" toLane="0"/> > > <connection from="31to32" to="32to41" fromLane="0" toLane="0"/> > > > > <connection from="32to41" to="41to42" fromLane="0" toLane="0"/> > > <connection from="32to41" to="41to22" fromLane="0" toLane="0"/> > > > > <connection from="41to22" to="22to21" fromLane="0" toLane="0"/> > > <connection from="41to22" to="22to13" fromLane="0" toLane="0"/> > > > > <connection from="43to41" to="41to42" fromLane="0" toLane="0"/> > > <connection from="43to41" to="41to22" fromLane="0" toLane="0"/> > > > > </connections> > > > > Traffic lights file: > > <tlLogics> > > <tlLogic id="n13" type="static" programID="0" offset="0"> > > <phase duration="41" state="GGrr"/> > > <phase duration="4" state="yyrr"/> > > <phase duration="41" state="rrGG"/> > > <phase duration="4" state="rryy"/> > > </tlLogic> > > <tlLogic id="n41" type="static" programID="0" offset="0"> > > <phase duration="41" state="GGrr"/> > > <phase duration="4" state="yyrr"/> > > <phase duration="41" state="rrGG"/> > > <phase duration="4" state="rryy"/> > > </tlLogic> > > > > <connection from="11to13" to="13to12" fromLane="0" toLane="0" > tl="n13" > > linkIndex="0"/> > > <connection from="11to13" to="13to32" fromLane="0" toLane="0" > tl="n13" > > linkIndex="1"/> > > <connection from="22to13" to="13to12" fromLane="0" toLane="0" > tl="n13" > > linkIndex="2"/> > > <connection from="22to13" to="13to32" fromLane="0" toLane="0" > tl="n13" > > linkIndex="3"/> > > <connection from="32to41" to="41to42" fromLane="0" toLane="0" > tl="n41" > > linkIndex="2"/> > > <connection from="32to41" to="41to22" fromLane="0" toLane="0" > tl="n41" > > linkIndex="3"/> > > <connection from="43to41" to="41to42" fromLane="0" toLane="0" > tl="n41" > > linkIndex="0"/> > > <connection from="43to41" to="41to22" fromLane="0" toLane="0" > tl="n41" > > linkIndex="1"/> > > </tlLogics> > > > > I try to split the edges with the following edges file: > > <edges> > > <edge from="n22" id="22to13" to="n13"> > > <split pos="48.550000"/> > > </edge> > > <edge from="n32" id="32to41" to="n41"> > > <split pos="48.550000"/> > > </edge> > > </edges> > > > > I get the error: > > Unhandled exception at 0x016E1CF1 in netconvertD.exe: 0xC0000005: Access > > violation reading location 0xFEEEFEF2. > > > > Finally, this is the stack trace: > > > > > netconvertD.exe!std::_Iterator_base12::_Adopt(const > > std::_Container_base12 * _Parent) Line 158 C++ > > > > > netconvertD.exe!std::_Vector_const_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > > > > > > > >::_Vector_const_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > > >(NBEdge::TLSDisabledConnection * _Parg, const std::_Container_base12 * > > _Pvector) Line 47 C++ > > > > > netconvertD.exe!std::_Vector_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > > > > > > > >::_Vector_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > > >(NBEdge::TLSDisabledConnection * _Parg, const std::_Container_base12 * > > _Pvector) Line 305 C++ > > > > > netconvertD.exe!std::vector<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > >::end() Line 792 C++ > > netconvertD.exe!NBEdge::setControllingTLInformation(const NBConnection > & > > c, const > std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > & tlID) Line 1910 C++ > > netconvertD.exe!NBLoadedSUMOTLDef::setTLControllingInformation() Line > 127 > > C++ > > > > > netconvertD.exe!NBTrafficLightLogicCont::setTLControllingInformation(const > > NBEdgeCont & ec, const NBNodeCont & nc) Line 287 C++ > > netconvertD.exe!NBNetBuilder::compute(OptionsCont & oc, const > > > std::set<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > > >,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > > > > > >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > > & explicitTurnarounds, bool removeElements) Line 375 C++ > > netconvertD.exe!main(int argc, char * * argv) Line 140 C++ > > > > > > Thanks in advance! > > > > -- > > Andres Felipe Acosta Gil, MSc student - Software developer > > Universidad Nacional de Colombia - Medell?n > > Facultad de Minas > > Tel: +57 (4) 4255295 > > Institutional e-mail: [email protected] > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > > > ------------------------------ > > Message: 4 > Date: Wed, 10 Feb 2016 08:59:11 +0100 > From: Jakob Erdmann <[email protected]> > Subject: Re: [sumo-user] detector options > To: Mahmoud Ramadan Nawar <[email protected]> > Cc: Sumo-user <[email protected]> > Message-ID: > <CAMbUcbxRFk3GX7D6NWSHeo1t= > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hello, > 1) I could not find the documentation where it says to use '1 second > interval'. Please tell me the link so I can fix it. The interval is only > relevant for the xml output and does not matter for TraCI (traci functions > always return the state from the previous step) > > 2) you can use multiple inductionLoops and laneAreaDetectors per Edge (and > also per lane) > > 3) Using step-lengths above 1s is not recommended. You will have to query > the detectors each second and aggregate the data in your script. > > 4) It would be nice to get aggregated outputs from detectors via TraCI. > I've added your suggestion to our list ( > http://sumo.dlr.de/trac.wsgi/ticket/2139 > > ). Note, that there are currently > 27 open enhancement requests for TraCI alone and 232 for all of SUMO > > regards, > Jakob > > 2016-02-05 22:06 GMT+01:00 Mahmoud Ramadan Nawar <[email protected]>: > > > Hello All I work in adaptive traffic signal control and hence need some > > measures at each edge of junctions like( jam length , delay , etc) i have > > been reading the documentation of detectors e1 ,e2 and e3 i have > questions > > about them i hope anybody could help 1- in the documentation of e1 in > traci > > there's statement that if induction loop value to be reterived from > traci, > > it must be 1 second interval however the tutorial tls has e1 with > interval > > 30 s. 2- what is the best practice to gather information about multi lane > > edge we could use multientryexit easily , can we use multiple e2 per > edge > > i'm not sure of the measures as vehicles may change lane 3- could i > change > > timestep to be intended duration of control (such as 20 s) safely to > allow > > aggregated information when calling getlasttimestepXX functions , what > > about models accuracy.4- last question i know i'm very new to simulation > > tools but why most of the measures available in the output files not > > available for traci > > > > > > > > thanks for your time ,consideration and efforts.Mahmoud > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > > > ------------------------------ > > Message: 5 > Date: Wed, 10 Feb 2016 09:11:17 +0100 > From: Jakob Erdmann <[email protected]> > Subject: Re: [sumo-user] modelling bicycles at junctions > To: Wookey <[email protected]> > Cc: sumo-user <[email protected]> > Message-ID: > < > cambucbzhbgspmxjtr7_tgrdymkjoxnmw-pr+rw2rb5cjdxc...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello, > to get a simulation like in the one in that image, sub-lane resolution is > needed, Fortunately, this kind of functionality is being worked on and > should become available this year. If you are interested in the details I > invite you to visit the sumo user conference in May: > http://www.dlr.de/ts/desktopdefault.aspx/tabid-3930/6094_read-44970/ > > > > I would be happy to enter into a collaboration if you want to help with > bicycle stuff in general. Just write directly to my address with some > details of what you are interested in and we figure something out. > > You should have received a wiki account mail just now. > > regards, > Jakob > > > > 2016-02-08 1:54 GMT+01:00 Wookey <[email protected]>: > > > Hi there. > > I'm new to microsimulation, but have found visualisations like the ones > on > > this page: > > > > > http://www.camcycle.org.uk/blog/2015/10/23/milton-road-elizabeth-way-junction-proposals/ > > > > to be really useful. > > > > Those were produced with Aimsun, but that's not FLOSS so that's no > > good. It seems that there is quite a lot of Free microsimulation > > software (Sumo, OPenM++, Liam2, and more), of which SUMO seems to be > > the most complete (?). So my question is, can I do this with SUMO? > > > > Reading the wiki it sounds like the bicycle support may be somewhat > > limited, and could use some work to improve it? > > http://sumo.dlr.de/wiki/Simulation/Bicycles > > > > If that's what it takes (and I can find some tuits) I can help there. > > > > Might I be better off trying to use simtran for rather more realistic > > bicycle behaviour? Or is that 'lane-free' functionality being folded > > back in to the main project? > > > > I was going to offer to package stuff, but then discovered that it was > > all done for Debian already (yay!). > > > > I also noted a few things on the wiki that could do with improvements, > > but I need to mail here to get an account. So yes, give me access > > rights and I'll try and fix thigs I see that need updating, > > especially WRT Debian. > > > > I think I will have questions about the details of lane map > > generation, but lets leave that for now whilst I have a poke about and > > see how far I get. > > > > Wookey > > -- > > Principal hats: Linaro, Debian, Wookware, ARM > > http://wookware.org/ > > > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > ------------------------------ > > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > End of sumo-user Digest, Vol 115, Issue 7 > ***************************************** > -- Andres Felipe Acosta Gil, MSc student - Software developer Universidad Nacional de Colombia - MedellĂn Facultad de Minas Tel: +57 (4) 4255295 Institutional e-mail: [email protected] ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
