[ndnSIM] Using SUMO with ndnSim
Zakaria SABIR
zakaria.sabir at uit.ac.ma
Thu Jun 3 10:17:18 PDT 2021
Thanks a lot Sonia.
ᐧ
On Thu, Jun 3, 2021 at 3:16 AM Sonia <zohanoor67 at gmail.com> wrote:
> Hi,
>
> You already know how to do it. just an example
>
> Ns2MobilityHelper mobility1 = Ns2MobilityHelper (
> "/home/han/ndnSIM/ns-3/src/mobility/examples/highway_70_5km.txt");
> //highway_70_5km.txt
>
> mobility1.Install();
>
> put the code as above after you create mobile nodes.
>
> Hope it works.
>
>
>
> On Thu, Jun 3, 2021 at 2:36 AM Zakaria SABIR <zakaria.sabir at uit.ac.ma>
> wrote:
>
>> Dear members,
>>
>> 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.
>>
>> My best regards.
>> Zakaria
>> ᐧ
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>
--
==============================================================
Zakaria SABIR, Ph.D. Student, Computer Sciences, Connected Vehicles,
ILM Department, National School of Applied Sciences <http://ensa.uit.ac.ma/>,
Ibn Tofail University <http://www.uit.ac.ma/>, Kenitra, Morocco
zaksabir at gmail.com ; zakaria.sabir at uit.ac.ma
==============================================================
P
*Consider the environment. Please don't print this e-mail unless you have
to.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210603/024448d8/attachment.html>
More information about the ndnSIM
mailing list