简体   繁体   English

使用SUMO将openstreet映射转换为tcl文件

[英]converting openstreet map into tcl file using SUMO

here is the error i am facing after running uttara.tcl which created from a sumo file: 这是我运行从sumo文件创建的uttara.tcl后遇到的错误:

~/vanet$ ns uttara.tcl  
num_nodes is set 47

warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

INITIALIZE THE LIST 
xListHead
Starting Simulation...

ns: _o14 setdest 1774.28 2170.28 0.00: 
    (_o14 cmd line 1)
    invoked from within
"_o14 cmd setdest 1774.28 2170.28 0.00"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o14" line 2)
(SplitObject unknown line 2)
    invoked from within
"_o14 setdest 1774.28 2170.28 0.00"

i have attached the mobility.tcl and uttara.tcl file also link of tcl files 我已经附上了activity.tcl和uttara.tcl文件,以及tcl文件的链接

please help me. 请帮我。 i badly need your attention. 我非常需要您的注意。

uttara.tcl : Extend the XY range → uttara.tcl:扩展XY范围→

set opt(x) 3000
set opt(y) 2500

mobility.tcl : Edit negative settings (-0.31, -0.32) in lines 26704, 33758 to a positive number → bility.tcl:将第26704、33758行中的负设置(-0.31,-0.32)编辑为正数→

.
$ns_ at 82.1 "$node_(5) setdest 1648.22 2.00 27.69"
.
.
$ns_ at 98.8 "$node_(6) setdest 1648.22 1.00 27.75"

My test: $ ns235-64-orig uttara-2.tcl : The files uttara.nam 3.8MB, uttara.tr 3.1MB are created. 我的测试: $ ns235-64-orig uttara-2.tcl :创建了文件uttara.nam 3.8MB,uttara.tr 3.1MB。 $ nam uttara.nam : A perfect animation. $ nam uttara.nam :完美的动画。

Link to the edited files https://drive.google.com/file/d/1gsA3XFMHGyz1ca4fDkxJQTzou6l7p6zr/view?usp=sharing 链接到已编辑的文件https://drive.google.com/file/d/1gsA3XFMHGyz1ca4fDkxJQTzou6l7p6zr/view?usp=sharing

Vanet examples : Vanet-ex-11.17.tar.gz https://drive.google.com/file/d/1PhQI_o0rRRHpOv-rqW4uqEVBdWDE9Y90/view?usp=sharing andhttp://neo.lcc.uma.es/staff/jamal/vanet/index.html%3Fq=node%252F11.html Vanet示例:Vanet-ex-11.17.tar.gz https://drive.google.com/file/d/1PhQI_o0rRRHpOv-rqW4uqEVBdWDE9Y90/view?usp=sharing http ://neo.lcc.uma.es/staff /jamal/vanet/index.html%3Fq=node%252F11.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM