(Boeing r1767)
update SDT helper to support 3D display of distributed emulations (fix bug #205)
This commit is contained in:
parent
dba5f31b8d
commit
f96bbf7a29
7 changed files with 168 additions and 38 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue