def addObserverAndInit(name, cb):
    vehicle.add_attribute_listener(name, cb)
We go ahead and call our observer once at startup to get an initial value
dataset/ETHPy150Open dronekit/dronekit-python/examples/gcs/microgcs.py/addObserverAndInit