Hi sihem, please stop reposting. If noone answers it may very well be, that noone knows the answer (well at least not me ;-). I am not familiar with ns2 and concerning the velocity 0 I would say it is probably there because it was 0 in the input file (the netstate dump from sumo) as well (if not, please send the input file and we will check what went wrong).
Regards, Michael Am 10.04.2015 um 22:56 schrieb sihem sihem: > Hi, > Thanks for your response Michael > > when i use the command > ./traceExporter.py > --fcd-input sumoTrace.xml --ns2config-output sb.config.tcl > --ns2activity-output sbg.activity.tcl --ns2mobility-output > sbg.mobility.tcl --penetration 1 --begin 0 --end 100 > > There will be three output files: mobility file, activity file and config > file. > config file : > # set number of nodes > set opt(nn) 90 > > # set activity file > set opt(af) $opt(config-path) > append opt(af) /sbg.activity.tcl > > # set mobility file > set opt(mf) $opt(config-path) > append opt(mf) /sbg.mobility.tcl > > # set start/stop time > set opt(start) 0.0 > set opt(stop) 1000.0 > > # set floor size > set opt(x) 4822.44 > set opt(y) 2545.67 > set opt(min-x) 19.67 > set opt(min-y) 3.9 > > mobility file: mouvment of the node > $node_(2) set X_ 4822.44 > $node_(2) set Y_ 2532.94 > $node_(2) set Z_ 0 > $ns_ at 0.0 "$node_(2) setdest 4822.44 2532.94 0" > $ns_ at 0.1 "$node_(0) setdest 19.69 3.92 0" > $ns_ at 0.1 "$node_(1) setdest 4776.43 2545.64 0" > $ns_ at 0.1 "$node_(2) setdest 4822.43 2532.92 0" > ....... > ......... > activity file > $ns_ at 33.6 "$g(26) start"; # SUMO-ID: flow1.8 > $ns_ at 67.4 "$g(26) stop"; # SUMO-ID: flow1.8 > $ns_ at 37.9 "$g(26) start"; # SUMO-ID: flow1.9 > $ns_ at 71.8 "$g(26) stop"; # SUMO-ID: flow1.9 > $ns_ at 0.0 "$g(1) start"; # SUMO-ID: flow1.0 > .................. > ............... > > but the activity file i don't know how to use it in script file (.tcl) to > execute and generate trace file (.tr and .nam) in ns2 > > also why velocity 0??? in mobility file > > best regards > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
