I'm an ns-3 newbie and am trying to work my way through the tutorials.
I thought I would add animation to first.cc as a test of my understanding, so I
#include "ns3/netanim-module.h"
and add 3 lines to the code (after having created the nodes, and before Simulator::Run())
AnimationInterface anim("animation.xml");
anim.SetConstantPosition (nodes.Get(0), 1.0,0.0);
anim.SetConstantPosition (nodes.Get(1), 2.0 ,3.0);
It compiles successfully but when I run it, I get the message
msg="Node:0 not found in Location table", file=../src/netanim/model/animation-interface.cc, line=1499
What magic am I missing, I wa following the instructions in the NetAnim3.104 section of this wiki
Hoping this is not a stupid question?
Peter King