Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anla-xu committed Aug 1, 2022
1 parent 3b6ed43 commit 5d8c746
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion pymycobot/mybuddy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d8c746

Please sign in to comment.