You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
thank you for this great project!
neatoserial.py and netoserialbasic.py will crash when receiving error messages from Neato robot containing umlauts.
To correct that just change those lines:
self.ser.write(inp.encode('utf-8'))
time.sleep(1)
while self.ser.inWaiting() > 0:
out += self.read_all(self.ser).decode('utf-8')
to
self.ser.write(inp.encode('latin1'))
time.sleep(1)
while self.ser.inWaiting() > 0:
out += self.read_all(self.ser).decode('latin1')
regards
Thomas
The text was updated successfully, but these errors were encountered:
Hi,
I don't understand what to do creating a pull request. Sorry.
Maybe you can add 'encode' and 'decode' to config.yaml. So user can choose which one to use.
Thanks
Hi,
thank you for this great project!
neatoserial.py and netoserialbasic.py will crash when receiving error messages from Neato robot containing umlauts.
To correct that just change those lines:
to
regards
Thomas
The text was updated successfully, but these errors were encountered: