Re: [ns] How to find vehicle route information

2012-08-22 Thread Saravanan Kandasamy
Ajmal, NS2 does not know map, it only moves a node from point A to point B in straight line in a given velocity. Assume Node 0 is positioned at (100,100), if it is moving in one direction is, $ns_ at 0.0 "$node_(0) setdest 150.0 150.0 1.0" to move in the opposite direction is, $ns_ at 0.0 "$nod

Re: [ns] Running algorithms in C++ in NS2

2012-08-22 Thread josema1988
SO HAVE YOU FOUND SOME WAY TO DO THAT I AM WORKING WITH TOPOLOGY CONTROL SO I NEED SOME INFO -- View this message in context: http://old.nabble.com/Running-algorithms-in-C%2B%2B-in-NS2-tp27518160p34334593.html Sent from the ns-users mailing list archive at Nabble.com.

Re: [ns] Running algorithms in C++ in NS2

2012-08-22 Thread josema1988
Rip van Winkle wrote: > > Hi all, > > I am new to NS2 Simulator and I've been facing some problems. I > have the Minimum Spanning Tree in NS2 and I want to use it in simulations > of sensor networks(I'm using this algorithm to route data from the source > to the sink). The problem is

Re: [ns] How to find vehicle route information

2012-08-22 Thread ajmal khan
Dear Saravan Thanks a lot for your reply. I understand your point about movement of a node 0 in different direction. but i need to know about neighbors of node 0. if node 0 receives GPS information of neighbor nodes, how to know that they are moving in opposite direction, a neighbor node behi

[ns] Error displayed in running tcl scripts in ns2-32

2012-08-22 Thread Manjula Raja
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