Skip to content

Commit

Permalink
Update SerialClient.py
Browse files Browse the repository at this point in the history
flushInput/Output are maybe depreciated, but adding the flushOutput definition seems to be required. Source here: ros-drivers#427
  • Loading branch information
cole-kenny authored Aug 19, 2022
1 parent c169ae2 commit ee1779f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rosserial_python/src/rosserial_python/SerialClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ def startSocketServer(self, port, address):

def flushInput(self):
pass

def flushOutput(self):
pass

def write(self, data):
if not self.isConnected:
Expand Down

0 comments on commit ee1779f

Please sign in to comment.