(Boeing r1767)

update SDT helper to support 3D display of distributed emulations (fix bug #205)
This commit is contained in:
ahrenholz 2013-09-05 17:46:12 +00:00
parent dba5f31b8d
commit f96bbf7a29
7 changed files with 168 additions and 38 deletions

View file

@ -434,7 +434,7 @@ class Ns3Session(Session):
node.position.set(x, y, z)
msg = node.tonodemsg(flags=0)
self.broadcastraw(None, msg)
self.sdt.updatenode(node, flags=0, x=x, y=y, z=z)
self.sdt.updatenode(node.objid, flags=0, x=x, y=y, z=z)
time.sleep(0.001 * refresh_ms)
def setupmobilitytracing(self, net, filename, nodes, verbose=False):