Hi,

I have encountered some problems utilizing NS 2.34 and SUMO 0.16.0 .
I generate a network with sumo and with a tool called traceExporter I
exported 3 files:
  - activity.tcl
  - configuration.tcl
  - mobility.tcl

I imported the 3 files into another tcl file with the command "source".
When the simulation is executed this is shown in the terminal:
  ns: _o751 stop:
      (_o751 cmd line 1)
      invoked from within
  "_o751 cmd stop"
      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 "_o751" line 2)
      (SplitObject unknown line 2)
      invoked from within
  "_o751 stop"

The problem occurs when the ns tries to run the second line inside the
following statement:

if { $opt(penetration) > 0.014841351074718526 } {
  $ns_ at 2.0 "$node_(29) start" ;# SUMO-ID: 2
  *$ns_ at 139.0 "$node_(29) stop" ;# SUMO-ID: 2*
}

After looking for the "stop" command, it is not implemented in ns 2.34.
The stop command should remove the node from the simulation.

What can I do to resolve this problem?



Thanks.

--
Flávio Arieta Netto.

Reply via email to