diff --git a/CHANGELOG.md b/CHANGELOG.md index 16ff7e9..895b70c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,13 @@ # ChangeLog for pymycobot -## v2.9.0 +## v2.9.1 (2022-8-1) -- release v2.8.1 +- release v2.9.1 +- fix MyBuddy read data bug. + +## v2.9.0 (2022-8-1) + +- release v2.9.0 ## v2.8.1 (2022-7-1) diff --git a/pymycobot/mybuddy.py b/pymycobot/mybuddy.py index b17a0cf..8da248f 100644 --- a/pymycobot/mybuddy.py +++ b/pymycobot/mybuddy.py @@ -129,7 +129,7 @@ def _mesg(self, genre, *args, **kwargs): self._write(self._flatten(real_command)) if has_reply: - data = b'\xfe\xfe\x03\x04-\xf32R' #self._read() + data = self._read() res = self._process_received(data, genre, arm=12) if genre in [ ProtocolCode.ROBOT_VERSION,