[ndnSIM] How forwarding strategy can get the nodes position

Oleg Surnin o.surnin at innopolis.ru
Wed Jul 19 06:10:10 PDT 2017


Dear All,

I coded my own strategy and now I want to get the node position (I'm 
using mobility helper).

This is how I tried to get a position of the node, but it didn't work 
for me:

this-> GetObject<Node> ()-> GetObject<MobilityModel> ()->GetPosition ();


Best Regards,
Oleg




More information about the ndnSIM mailing list