diff --git a/dronekit/__init__.py b/dronekit/__init__.py index b0c4ca1c4..9e6f77b1d 100644 --- a/dronekit/__init__.py +++ b/dronekit/__init__.py @@ -1207,6 +1207,7 @@ def listener(self, name, msg): @self.on_message(['HOME_POSITION']) def listener(self, name, msg): self._home_location = LocationGlobal(msg.latitude/1.0e7, msg.longitude/1.0e7, msg.altitude/1000.0); + self.notify_attribute_listeners('home_location', self.home_location, cache=True) @self.on_message(['WAYPOINT', 'MISSION_ITEM']) def listener(self, name, msg):