From 10936b7bc05ec6af799e3ed57843f93c574a7a10 Mon Sep 17 00:00:00 2001 From: SeaTechRC <153106523+SeaTechRC@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:03:41 +0200 Subject: [PATCH] Removed leftover code for robot pose update event. Co-authored-by: Pascal Schade <165774906+pascalzauberzeug@users.noreply.github.com> --- field_friend/localization/gnss.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/field_friend/localization/gnss.py b/field_friend/localization/gnss.py index dd358ff7..529d0939 100644 --- a/field_friend/localization/gnss.py +++ b/field_friend/localization/gnss.py @@ -161,8 +161,6 @@ def _update_robot_pose(self) -> None: yaw = np.mean([pose.yaw for pose in self.observed_poses]) pose = rosys.geometry.Pose(x=float(x), y=float(y), yaw=float(yaw), time=rosys.time()) self.ROBOT_POSE_LOCATED.emit(pose) - self._pose_update.set() - self._pose_update.clear() self.last_pose_update = rosys.time() self.observed_poses.clear()