Skip to content

Commit c3c7132

Browse files
mrpollopeterbarker
authored andcommitted
cache ekf_ok callbacks
1 parent 8048b83 commit c3c7132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dronekit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ def listener(self, name, m):
11511151
# boolean: EKF's predicted horizontal position (absolute) estimate is good
11521152
self._ekf_predposhorizabs = (m.flags & ardupilotmega.EKF_PRED_POS_HORIZ_ABS) > 0
11531153

1154-
self.notify_attribute_listeners('ekf_ok', self.ekf_ok)
1154+
self.notify_attribute_listeners('ekf_ok', self.ekf_ok, cache=True)
11551155

11561156
self._flightmode = 'AUTO'
11571157
self._armed = False

0 commit comments

Comments
 (0)