[ndnSIM] How to get the position of non-mobile nodes?

zhenliu0603 at 163.com zhenliu0603 at 163.com
Sun Nov 15 18:15:45 PST 2020


Hi, everyone,
      I want to get the position of nodes. I got the positon of mobile node using node->GetObject<ns3::MobilityModel> ()->GetPosition() . But I found  that it can't be used for the position of the non-mobile nodes. So if I use NodeContainer nodes; nodes.Create(3); instead of topology map, how do I get the position of these nodes?

Thanks,
LiuZhen


zhenliu0603 at 163.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20201116/6cb61e6c/attachment.html>


More information about the ndnSIM mailing list