Hello All: I have tryed to create a trace file by using openstreetmap file and importe it on sumo and finaly create TCL file and use it on ns2, i have done the following steps : *A/ Creation of sumo simulation :*
*1* - netconvert --osm-files map.osm -o map.net.xml *2* - polyconvert --net-file map.net.xml --osm-files map.osm --type typemap.xml -o map.poly.xml *3* - python /usr/share/sumo/tools/trip/randomTrips.py -n map.net.xml -e 50 -l *4* - python /usr/share/sumo/tools/trip/randomTrips.py -n map.net.xml -r map.rou.xml -e 50 -l *5* - Je crée manuellement le fichier map.sumo.cfg *NB: All this steps fonctione correctely * B/Creation TCL file : 1/ I have created manually the map.sumocfg file ( in attached) 2/ 2/sumo -c myConfig.sumocfg --fcd-output sumoTrace.xml 3/traceExporter.py --fcd-input sumoTrace.xml --ns2-mobilityoutput ns2mobility.tcl a/ when i execute " ns ns2config.tcl " no error message received and no files created There is no variable or header and when in ns2mobility.tcl i execute " ns ns2mobility.tcl" i receive one erreur message " *can't read "node_(0)": no such variable* * while executing* *"$node_(0) set X_ 1244.39"* * (file "ns2mobility.tcl" line 1) .* *please what can i do to tresolve this problem .* -- BARKOUK Hamid ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
