From 5fc1cfb63bac7eb0d031e5e4e4d23f2bf4f4d5fe Mon Sep 17 00:00:00 2001 From: Paulo Rezeck Date: Fri, 11 Aug 2023 20:52:27 -0300 Subject: [PATCH] Fix flushOuput not defined for tcp #427 --- rosserial_python/src/rosserial_python/SerialClient.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rosserial_python/src/rosserial_python/SerialClient.py b/rosserial_python/src/rosserial_python/SerialClient.py index 6b1b87574..0cb5f96d3 100644 --- a/rosserial_python/src/rosserial_python/SerialClient.py +++ b/rosserial_python/src/rosserial_python/SerialClient.py @@ -283,6 +283,9 @@ def startSocketServer(self, port, address): def flushInput(self): pass + def flushOutput(self): + pass + def write(self, data): if not self.isConnected: return