这是我在运行从 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"
我附上了mobility.tcl 和uttara.tcl 文件以及tcl 文件的链接