[ns] how to choose domains,clusters for my scenario.
http://old.nabble.com/file/p34339382/TOPO.png TOPO.png I first started with simulating the attached topology.i have read Marc Griess tutorial have written the tcl file.I require data to be transmitted in multi hop way.so,i started to 1 hop.i.e,Wireless Link to Neighboring BS. But my doubt is how to choose the domains,clusters for my required topology.i tried different ways like 1) w(0),BS(0),BS(1),W(1) in 4 different domains. 2) w(0),BS(0) are in same domain,different clusters and BS(1),W(1) are in another domain with different clusters. 3) w(0),BS(0),BS(1),W(1) all in the same domain, different clusters. All the above give me the following error, Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o21: no target for slot 3 _o21 type: Classifier/Addr content dump: classifier _o21 0 offset 11 shift 2047 mask 1 slots slot 0: _o22 (Classifier/Addr) Finished standard no-slot{} default handler -- View this message in context: http://old.nabble.com/how-to-choose-domains%2Cclusters-for-my-scenario.-tp34339382p34339382.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Error displayed in running tcl scripts in ns2-32
I guess you are trying to run your simulation using NAM. Allow your simulation to complete fully before using the time slide bar. Dont stop the simulation midway using NAM then try to forward it to another time. It breaks at some machine. One way to validate if there is anything wrong with your script, disable NAM and try to run it to see if it can get compiled. If yes, there is nothing wrong in your script. Good Luck -- SK On Thu, Aug 23, 2012 at 6:13 AM, Manjula Raja rajamanjulase...@gmail.comwrote: Hello friends! When i try to run any tcl script in ns-2.32, i am facing the flowing error Missing required flag -x in: W -t 150 Missing required flag -y in: W -t 150 Parsing error in event. Can any body help me out in this regard? Will be much obliged Regards -- **R.Manjula Research Scholar Dept of EECE IIT Kharagpur West Bengal ** -- **R.Manjula Sr.Lecturer, Dept of ECE BITM, Bellary Karnataka. Current Status: Research Scholar Dept of EECE IIT Kharagpur West Bengal **
Re: [ns] How to find vehicle route information
Dear Ajmal I'm working on VANET too, and I use SUMO as mobility generator that its output is something similar to VanetMobiSim . Recognizing road map information by NS2 is also my problem that couldn't solve yet. But about vehicle's direction, you can use their velocity vector information that are available in NS2 for mobile nodes. Easily you can find angle or direction ( or actually Cosine(angle) ) between two vectors by applying dot product formula. If it's possible, please inform me whenever you find any information about using road map information in NS2. Be successful Mojtaba From: ajmal khan engaj...@yahoo.com To: ns-users@isi.edu ns-users@ISI.EDU Sent: Wednesday, August 22, 2012 1:28 PM Subject: [ns] How to find vehicle route information Dear all Hi I am working on VANET. I need to know how to find a route of a vehicle. I can generate mobility traces of vehicles in VanetMobisim and it looks like this. $ns_ at 0.0 $node_(0) setdest 714.9497484683059 494.9497484683058 0.75267607 i.e. node 0 will move towards mentioned (x,y) coordinates at speed of 0.752 but it does not give any information which route it will follow on a given map. Please help me how to figure out the routes of vehicles. If there is any other tool that can help. please mention that as well. Also i would like to know how to find that a vehicle is moving in opposite direction. your help will be greatly appreciated. Thanks in advance AJMAL KHAN Ph.D Scholar Telecommunication Networks Lab School of Electrical Engineering and Computer Science Kyungpook National University Cell : +82 (10) 7732-3885