[ndnSIM] location of a moving node
babaeim at clarkson.edu
Mon Jun 5 10:32:42 PDT 2017
We found that we could get the square of the distance in mobility-helper.h file:
Static double getDistanceSquaredBetween(Ptr <Node> n1, Ptr <Node> n2)
and inside the mobility-helper.cc <http://mobility-helper.cc/> file we found that it does return the distance squared:
However, we have problems using that function in our own scenario. Could you help us get it to work properly.
> On Jun 5, 2017, at 11:50 AM, Marzieh Babaeianjelodar <babaeim at clarkson.edu> wrote:
> Hello all,
> Me and my Research partner have been creating clusters of moving nodes in ndnSIM. However, we want to find a way to choose between the moving nodes based on their location (coordinates) and forward the interest to another cluster from that chosen node. How could we do that?
> Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM