Skip to content

Commit

Permalink
Added sleep after unregister
Browse files Browse the repository at this point in the history
  • Loading branch information
P-ict0 committed Mar 12, 2024
1 parent 9534762 commit b21606d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hmi/scripts/qr_code_decoder
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b21606d

Please sign in to comment.