netanim nodes are at placed at zero

10 views
Skip to first unread message

adon...@gmail.com

unread,
Aug 17, 2016, 10:18:04 AM8/17/16
to ns-3-users
Hi :) 

I am new to using ns3 and have recently installed this product I have read through a number of tutorials and documents online to configure and install ns3. I am now up to the stage of running the "first.cc" script as part of one of the tutorials. I have configured the script to include netanim module and inculded the animation interface before the run section of the script, and i have also set the positions. I have been able to generate an .xml file however when i open it in netanim the two nodes are on top of each other and do not animate. I know this should not be the out put as all of the you tube videos i have seen and followed have two dots away from each other. 

Has anyone experienced this issue before, or have any ideas on what i can do to debug this issue. 

Many thanks 
Ally 
nodes.JPG

Tommaso Pecorella

unread,
Aug 17, 2016, 11:09:33 AM8/17/16
to ns-3-users
SetConstantPosition is a class static function, and must be called before instantiating the AnimationInterface.

T.
Reply all
Reply to author
Forward
0 new messages