Closed zhuangshangyuan closed 3 years ago
Hello, I try to use the NetAnim tool to realize satellite network visualization.
So in the program I added the following:
AnimationInterface anim("sat.xml");
And modify the wscript file: obj = bld.create_ns3_program('sat', ['satellite','netanim']) obj.source ='sat.cc'
But there still be an error when generating the xml file, and I want to know how I should use the NetAnim tool in sns3.
Looking forward to your reply!
Greetings
Oh! I solved it! It only needs to add the absolute path when using the netanim-module.h header file.
Hello, I try to use the NetAnim tool to realize satellite network visualization.
So in the program I added the following:
include "ns3/netanim-module.h"
AnimationInterface anim("sat.xml");
And modify the wscript file: obj = bld.create_ns3_program('sat', ['satellite','netanim']) obj.source ='sat.cc'
But there still be an error when generating the xml file, and I want to know how I should use the NetAnim tool in sns3.
Looking forward to your reply!
Greetings