From b21606d8949123b74311603bcccb0be7f3d415ca Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Tue, 12 Mar 2024 20:48:41 +0100 Subject: [PATCH] Added sleep after unregister --- hmi/scripts/qr_code_decoder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmi/scripts/qr_code_decoder b/hmi/scripts/qr_code_decoder index d78b406..f88ec4c 100755 --- a/hmi/scripts/qr_code_decoder +++ b/hmi/scripts/qr_code_decoder @@ -76,7 +76,7 @@ class QRCodeDecode(AbstractHMIServer): result = HMIResult(self._qr_code_data, semantics) self._image_sub.unregister() - rospy.loginfo("QRCodeDecode: unsubscribed from %s", self._image_sub.name) + rospy.sleep(1) self.reset_server() return result