Re: [ns] solution please
Hello, The error is because the mobility pattern file was not found. Check the correct path for the location of the Mobility pattern by checking where your installation was done and edit the path accordingly. Best regards! in here couldn't read file ../mobility/scene/cbr-3-test: no such file or directory try to put your path to the directory for example /home/sandy/ns-allinone-2.xx/ns-2.xx/tcl/mobility/secene/cbr-3-test --- On Mon, 5/28/12, Manjula Raja rajamanjulase...@gmail.com wrote: -3-test From: Manjula Raja rajamanjulase...@gmail.com Subject: [ns] solution please To: ns-users@ISI.EDU Date: Monday, May 28, 2012, 10:19 PM Hello any one when i run the file wireless.tcl from ns tutorial for wireless simulations for ns IX.2 from the link http://www.isi.edu/nsnam/ns/tutorial/ i get the following error, can any one give me the solution? and here is the out put of .tcl file ns simple-wireless-1.tcl num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Loading connection pattern... couldn't read file ../mobility/scene/cbr-3-test: no such file or directory while executing source.orig ../mobility/scene/cbr-3-test (uplevel body line 1) invoked from within uplevel source.orig [list $fileName] invoked from within if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ... (procedure source line 8) invoked from within source $val(cp) (file simple-wireless-1.tcl line 128) -- **R.Manjula Sr.Lecturer, Dept of ECE BITM, Bellary Karnataka. Current Status: Research Scholar Dept of EECE IIT Kharagpur Cell:08900479328 ** -- View this message in context: http://old.nabble.com/solution-please-tp33923158p33923540.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] tutorials or codes on dynamic cluster formation
Hello all, I am working on clustering nodes and selecting cluster heads using mobile nodes, I would appreciate if i can be provided with any tutorials or sample codes on formation of clusters. Thank you -- View this message in context: http://old.nabble.com/tutorials-or-codes-on-dynamic-cluster-formation-tp33903550p33903550.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] NS error (Wired cum Wireless 200 mobile nodes)
Hello, Would be easier to identify the errors if code is available... Shahid-3 wrote: Here is the error Can any one guide INITIALIZE THE LIST xListHead Starting Simulation... SORTING LISTS ...DONE! classifier _o20 --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o20: no target for slot 1023 0 offset 22 shift 1023 mask 1 slots slot 0: _o21 (Classifier/Addr) num_nodes is set 204 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 _o20 type: Classifier/Addr content dump: -- Finished standard no-slot{} default handler -- -- View this message in context: http://old.nabble.com/NS-error-%28Wired-cum-Wireless-200-mobile-nodes%29-tp33831856p33894142.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] location of node position using gps
Hello, I am working on a VANET simulations and i need to detect the position and speed of the nodes. I would want to know how the speed and the location of the nodes can be obtained using GPS. Help is urgently needed. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33862588.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] location of node position using gps
Hello Ajmal Thank you for your response! Having imported Mobility traces from SUMO and and now having tcl scripts of simulation i think these codes should be converted to tcl. I am clustering the vehicles based on the position and the speed of the nodes. Thanks Manfe Ajmal Khan wrote: Hi Here is the code to get the x and y coordinates and also a speed of a moving vehicle. MobileNode *mn = (MobileNode*)Node::get_node_by_address(vanetID_); mn-update_position(); // update the position, before using it myx = mn-X(); // current own location myy = mn-Y(); myz = mn-Z(); V = mn-speed(); ///vanetID_ = id of vehicle whose speed and coordinates you would like to receive.// AJMAL KHAN Ph.D Scholar Telecommunication Networks Lab School of Electrical Engineering and Computer Science Kyungpook National University Cell : +82 (10) 7732-3885 From: Manfe wise_...@yahoo.com To: ns-users@ISI.EDU Sent: Thursday, May 17, 2012 4:52 PM Subject: [ns] location of node position using gps Hello, I am working on a VANET simulations and i need to detect the position and speed of the nodes. I would want to know how the speed and the location of the nodes can be obtained using GPS. Help is urgently needed. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33862588.html Sent from the ns-users mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33863559.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] location of node position using gps
Hello Ajma, SUMO is a portable, microscopic road traffic simulation platform. In my project Vehicular mobility is moduled using eWorld and imported to SUMO to generate vehicular traces. With MOVE, the vehicular taces are converted to tcl scripts. I am moulding a clustered network based on the speed and location of vehicular nodes using the generated tcl scripts. Ajmal Khan wrote: Hi Here is the code to get the x and y coordinates and also a speed of a moving vehicle. MobileNode *mn = (MobileNode*)Node::get_node_by_address(vanetID_); mn-update_position(); // update the position, before using it myx = mn-X(); // current own location myy = mn-Y(); myz = mn-Z(); V = mn-speed(); ///vanetID_ = id of vehicle whose speed and coordinates you would like to receive.// AJMAL KHAN Ph.D Scholar Telecommunication Networks Lab School of Electrical Engineering and Computer Science Kyungpook National University Cell : +82 (10) 7732-3885 From: Manfe wise_...@yahoo.com To: ns-users@ISI.EDU Sent: Thursday, May 17, 2012 4:52 PM Subject: [ns] location of node position using gps Hello, I am working on a VANET simulations and i need to detect the position and speed of the nodes. I would want to know how the speed and the location of the nodes can be obtained using GPS. Help is urgently needed. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33862588.html Sent from the ns-users mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33863778.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] location of node position using gps
Hello Aslinda, Thanks for your contributions. You are perfectly right. All the simulators mentioned are basically the same the difference maybe added fucntionalities, capabilities and implementation platforms but at the end the results are the same;( TCL scripts) thats if it is being integrated in ns2. For clarification i would want to know from you, i am clustering the nodes generated from the TCl scripts, using the speed and location of nodes i however want to obtain these values dynamically in using TCL codes. I think i need to convert the c++ codes provided by Ajmal Manfe wrote: Hello Ajma, SUMO is a portable, microscopic road traffic simulation platform. In my project Vehicular mobility is moduled using eWorld and imported to SUMO to generate vehicular traces. With MOVE, the vehicular taces are converted to tcl scripts. I am moulding a clustered network based on the speed and location of vehicular nodes using the generated tcl scripts. Ajmal Khan wrote: Hi Here is the code to get the x and y coordinates and also a speed of a moving vehicle. MobileNode *mn = (MobileNode*)Node::get_node_by_address(vanetID_); mn-update_position(); // update the position, before using it myx = mn-X(); // current own location myy = mn-Y(); myz = mn-Z(); V = mn-speed(); ///vanetID_ = id of vehicle whose speed and coordinates you would like to receive.// AJMAL KHAN Ph.D Scholar Telecommunication Networks Lab School of Electrical Engineering and Computer Science Kyungpook National University Cell : +82 (10) 7732-3885 From: Manfe wise_...@yahoo.com To: ns-users@ISI.EDU Sent: Thursday, May 17, 2012 4:52 PM Subject: [ns] location of node position using gps Hello, I am working on a VANET simulations and i need to detect the position and speed of the nodes. I would want to know how the speed and the location of the nodes can be obtained using GPS. Help is urgently needed. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33862588.html Sent from the ns-users mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/location-of-node-position-using-gps-tp33862588p33864281.html Sent from the ns-users mailing list archive at Nabble.com.