small cleanup for interface position hooks, updates to support using a provided altitude when sending emane events based on position hooks
This commit is contained in:
parent
102fa410fe
commit
3f17706c28
9 changed files with 76 additions and 61 deletions
|
@ -705,7 +705,6 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
|
|||
x = request.position.x
|
||||
y = request.position.y
|
||||
options.set_position(x, y)
|
||||
lat, lon, alt = None, None, None
|
||||
has_geo = request.HasField("geo")
|
||||
if has_geo:
|
||||
lat = request.geo.lat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue