<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>You already know how to do it. just an example</div><div><br></div><div><div style="line-height:19px"><div style="color:rgb(0,0,0);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;white-space:pre">  Ns2MobilityHelper mobility1 = Ns2MobilityHelper (<span style="color:rgb(163,21,21)">"/home/han/ndnSIM/ns-3/src/mobility/examples/highway_70_5km.txt"</span>);<span style="color:rgb(0,128,0)">   //highway_70_5km.txt</span></div><br><div style="color:rgb(0,0,0);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;white-space:pre">  mobility1.Install();</div><div style="color:rgb(0,0,0);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;white-space:pre"><br></div>put the code as above after you create mobile nodes.</div><div><br></div>Hope it works.<br><br><br></div></div><br><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/ab73d5df7165bd54f9b9d0887871736c1b2c85d9.png?u=5632877"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 3, 2021 at 2:36 AM Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma">zakaria.sabir@uit.ac.ma</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear members,<div><br></div><div>I hope you are doing well. I want to create a simple code of mobile nodes (vehicles) communicating via NDN. So I used SUMO to generate a mobility file and I converted this file to ns2 mobility trace. Now I want to integrate it in ndnSim. I know that I have to use the following instruction "Ns2MobilityHelper ns2 = Ns2MobilityHelper (traceFileName)" but I don't know exactly how to do it. I need an example. Could anyone send me a simple example, or just guide me to write the code? Any help would be appreciated.<br></div><div><br></div><div>My best regards.</div><div>Zakaria</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width: 0px; max-height: 0px; overflow: hidden;" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=225ca97e-4e76-44e8-8d8a-1529551b41c3"><font color="#ffffff" size="1">ᐧ</font></div><img src="https://my-email-signature.link/signature.gif?u=128007&e=156680357&v=93b4c1e55d7bb065869be20c41477988d2443d69b8b8d670656298e6365ac276" alt="" style="width: 2px; max-height: 0px; overflow: hidden;">
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>