Hello all, I am using ns-2.33. I have added an agent Vanetcr and then did the necessary changes in Makefile, ns-packet.tcl, ns-default.tcl and packet.tcl. But I am getting the following error
*ns: [code omitted because of length] : invalid command name "Agent/VanetCR" while executing "Agent/VanetCR set packetSize_ $vanetpacketsize " [r...@localhost vanetcr_code.zip_FILES]# * ** I think it is related to the change in ns-default.tcl. The changes I made are as under *set vanetpacketsize 1024* *Agent/VanetCR set packetsize_ $vanetpacketsize* ** The realted packetsize code in the TCL file is as under *for {set i 0} {$i < $opt(nn)} {incr i} { $p($i) set packetSize_ 10240* Can anybody please help me. Thanks Usman