Simulation in aqua-sim
Dear all,
I'm developing a routing protocol for underwater sensor networks in Aqua-sim. I am trying to run the the tcl file but I'm getting this error: INITIALIZE THE LIST xListHead (_o17 cmd line 1) invoked from within "_o17 cmd port-dmux _o26" 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 "_o17" line 2) (SplitObject unknown line 2) invoked from within "$agent port-dmux $dmux_" (procedure "_o14" line 11) (Node/MobileNode add-target-rtagent line 11) invoked from within "$self add-target-rtagent $agent $port" (procedure "_o14" line 23) (Node/MobileNode add-target line 23) invoked from within "$self add-target $agent $port" (procedure "_o14" line 15) (Node attach line 15) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 105) (Simulator create-wireless-node line 105) invoked from within "_o3 create-wireless-node 0" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns_ node 0" invoked from within "set node_(0) [$ns_ node 0]" can anyone help me, please? |
Welcome to LQ.
Please attach your tcl file as file-name.tcl.txt . Attachments : The paper clip tool in the 'Advanced Editor'. - |
memory corruption when running a routing protocol in ns2
1 Attachment(s)
Thank you. I have solved the problem, but now I got a memory corruption problem.
I set some varaibles to some values but when i tried to use them, their values are changed to some strange values. Hopefully, you can assist me to solve this problem. |
# 3 .
'mggr.tcl' line 35 : set opt(rp) MGGR ;# Routing protocol ? Is MGGR a new routing protocol, that you have created ? - |
Yes, that is my routing protocl.
|
# 5 .
Please describe the "routing protocol MGGR". And attach the code / upload the code to 'Google Docs, if you want your mggr.tcl file tested. - |
I'm sorry, I can not disclose the code because it will be my thesis.
I appreciate your intention to help me. Thank you.. |
The origin of the coordinates in aqua-sim
One more question, please:
Where does aqua-sim assumes the origin of xyz-coordinates, is it at the sea surface or at the bottom? Thank you in advance |
# 8 .
Probably like shown in the other application from `obinet´ : Aqua-3D → http://obinet.engr.uconn.edu/wiki/index.php/Aqua-3D → http://ubinet.engr.uconn.edu/aqua_pa...-1.0.0-src.tgz → Aqua3d-1.0.0-src.tgz - |
i seems from aqua 3D that the origin is at the middle of the monitored volume (middle of the sea).
However, in vbf_example_6.tcl written by the develpers of aqua-sim, nodes are given positive values and within the range of the length, width and hight of the monitored volume. |
All times are GMT -5. The time now is 02:16 AM. |