y***@gmail.com
2018-12-05 07:04:19 UTC
I am a new user of ns3 and sumo, I want to do a simulation connecting them!
But I have a trouble in it.
According to the ns3's example "ns2-mobility-trace.cc", I write the next
code.
Ns2MobilityHelper ns2 = Ns2MobilityHelper (traceFile);NodeContainer stas;
stas.Create (nodeNum);
ns2.Install (stas.Begin(), stas.End());
and then I use wifiPhy, wifiChannel, wifi80211pMac to install my network.
but the result show that my network is completed but the network doesn't
move with the nodes. Why it could be so strange? Could anybody tell me why?
[image: 49b8cd618e8edb32cb047fb25a50648.png]
But I have a trouble in it.
According to the ns3's example "ns2-mobility-trace.cc", I write the next
code.
Ns2MobilityHelper ns2 = Ns2MobilityHelper (traceFile);NodeContainer stas;
stas.Create (nodeNum);
ns2.Install (stas.Begin(), stas.End());
and then I use wifiPhy, wifiChannel, wifi80211pMac to install my network.
but the result show that my network is completed but the network doesn't
move with the nodes. Why it could be so strange? Could anybody tell me why?
[image: 49b8cd618e8edb32cb047fb25a50648.png]
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.