add geo to grpc calls getting node values, updated emane position hook to set lon/lat/alt values
This commit is contained in:
parent
d31cfedde9
commit
c6a06baf29
2 changed files with 5 additions and 0 deletions
|
@ -202,6 +202,7 @@ class EmaneNet(CoreNetworkBase):
|
|||
lat, lon, alt = self.session.location.getgeo(x, y, z)
|
||||
if node.position.alt is not None:
|
||||
alt = node.position.alt
|
||||
node.position.set_geo(lon, lat, alt)
|
||||
# altitude must be an integer or warning is printed
|
||||
alt = int(round(alt))
|
||||
return nemid, lon, lat, alt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue