Ns3 is a network simulation software, it depends on various in built and third party tools for enablement. Here are some of the third party modules that can be enabled while running ns3. This is a handy note for such modules. All these examples were tried on the ~ns-3.24.1/examples/tutorial/third.cc file 1. NetAnim #include "ns3/netanim-module.h" AnimationInterface anim("third.xml"); anim.SetConstantPosition(csmaNodes.Get(0),1.0,1,0); anim.SetConstantPosition(csmaNodes.Get(1),2.0,2,0); anim.SetConstantPosition(csmaNodes.Get(2),3.0,3,0); anim.SetConstantPosition(csmaNodes.Get(3),4.0,4,0); anim.SetConstantPosition(wifiApNode.Get(0),5.0,5,0); anim.SetConstantPosition(wifiStaNodes.Get(0),6.0,1,0); anim.SetConstantPosition(wifiStaNodes.Get(1),7.0,1,0); anim.SetConstantPosition(wifiStaNodes.Get(2),8.0,1,0); Open NetAnim and open the xml file (third.xml in this case). Always prefer to use the inbuilt netanim rather than an installed version of NetAnim. 2....
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc