I intended to generate animation file for an example given in NS3 routing module (rip-simple-network.cc). I have added following snippet to the code just before the Simulator::Run() statement:
AnimationInterface anim(animationFile);
anim.SetConstantPosition(src, 0 , 0);
anim.SetConstantPosition(a, 1 , 1);
anim.SetConstantPosition(b, 1 , 3);
anim.SetConstantPosition(c, 2 , 2);
anim.SetConstantPosition(d, 3 , 3);
anim.SetConstantPosition(dst, 3 , 4);
**included the netanim-module.h
Now while running this simulation following warnings are generated:
AnimationInterface WARNING:Node:0 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:1 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:2 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:3 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:4 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:5 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:0 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:1 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:2 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:3 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:4 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:5 Does not have a mobility model. Use SetConstantPosition if it is stationary
loading animation file on netanim shows crazy things, only two nodes and no links etc.
can somebody please help on this topic?
PS: I am new to NS3