NetAnim can't Update node positions

52 views
Skip to first unread message

vahid Saber

unread,
Feb 10, 2014, 1:49:17 AM2/10/14
to ns-3-...@googlegroups.com
Hi,
I have a situation where I read from a custom trace file where in nodes are to be generated as the time proceeds. 
This means I can have nodes created in time 10.0 while some other nodes had already been created and their positions started being updated even before time 10.0 .
(btw, I use constant position mobility model and set the position from the trace file).

I can guess NetAnim by  default initializes itself based on the already-created nodes. right?
if yes, how may I introduce the new nodes to NetAnim?
if no, what do you think the problem is?

thanks

John Abraham

unread,
Feb 10, 2014, 7:47:02 AM2/10/14
to ns-3-...@googlegroups.com
Hi,
NetAnim, does not support newly created nodes. A lot of the internal logic is based on the node count.
The only way is to create all the nodes and assign the color white (255,255,255) for the nodes which are not yet ready to be displayed, so that there is a distinction,

john


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages