Hi,
I have project on mobile tracking in sensor network in which i have to
simulate in ns2, but i stuck at some place in ns2 please look on
it......
I made three nodes in the scenario and one node is moving towards the
other two node,so in normal situation when moving node
comeĀ  in the range of any one of the other two node then there should
be the data transfer between them.

My problem is that when i change the position of sensor node then it does
not work. That is it does not communicate with mobile node when it comes
in range (after changing sensor location). The same thing happen if i
change initial location of mobile node (from where it starts). i am
attaching my code with this mail, it is very short code.
Please see it, please i am stuck up badly.


Or you can give me if you have some sample code of target tracking in WSN
in NS2 in which i can specify range of sensor node.


Thanks!!!

with regards
Ankit Kesharwani
M.Tech
IIT Kanpur ,India

Reply via email to