cleaned up broadcast_node to use nodes directly
This commit is contained in:
parent
fd7db64f6d
commit
33bcc24d88
8 changed files with 39 additions and 84 deletions
|
@ -806,8 +806,7 @@ class EmaneManager(ModelManager):
|
|||
# don"t use node.setposition(x,y,z) which generates an event
|
||||
node.position.set(x, y, z)
|
||||
node.position.set_geo(lon, lat, alt)
|
||||
node_data = node.data(lat=lat, lon=lon, alt=alt)
|
||||
self.session.broadcast_node(node_data)
|
||||
self.session.broadcast_node(node)
|
||||
return True
|
||||
|
||||
def emanerunning(self, node: CoreNode) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue