Skip to content

Commit fc0fad3

Browse files
committed
release v3.6.7
1 parent 4c254c6 commit fc0fad3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ChangeLog for pymycobot
22

3+
## v3.6.7 (2024-11-15)
4+
5+
- release v3.6.7
6+
- Fixed the issue of incorrect naming of 320 electric gripper
7+
38
## v3.6.5 (2024-10-25)
49

510
- release v3.6.5

pymycobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
8686
__all__.append("MyBuddyEmoticon")
8787

88-
__version__ = "3.6.6"
88+
__version__ = "3.6.7"
8989
__author__ = "Elephantrobotics"
9090
__email__ = "weiquan.xu@elephantrobotics.com"
9191
__git_url__ = "https://github.com/elephantrobotics/pymycobot"

pymycobot/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ class ProtocolCode(object):
180180
SET_GRIPPER_TORQUE = 0x6F
181181
IS_BTN_CLICKED = 0x6F
182182
SET_COLOR_MYARM = 0x70
183-
SET_ELETRIC_GRIPPER = 0x6B
184-
INIT_ELETRIC_GRIPPER = 0x6C
183+
SET_ELECTRIC_GRIPPER = 0x6B
184+
INIT_ELECTRIC_GRIPPER = 0x6C
185185
SET_GRIPPER_MODE = 0x6D
186186
GET_GRIPPER_MODE = 0x6E
187187

pymycobot/mycobot320.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,18 +410,18 @@ def set_joint_min(self, id, angle):
410410
return self._mesg(ProtocolCode.SET_JOINT_MIN, id, angle)
411411

412412
# Atom Gripper IO
413-
def init_eletric_gripper(self): # TODO 22-5-19 need test
413+
def init_electric_gripper(self): # TODO 22-5-19 need test
414414
"""Electric gripper initialization (it needs to be initialized once after inserting and removing the gripper"""
415-
return self._mesg(ProtocolCode.INIT_ELETRIC_GRIPPER)
415+
return self._mesg(ProtocolCode.INIT_ELECTRIC_GRIPPER)
416416

417-
def set_eletric_gripper(self, status): # TODO 22-5-19 need test
417+
def set_electric_gripper(self, status): # TODO 22-5-19 need test
418418
"""Set Electric Gripper Mode
419419
420420
Args:
421421
status: 0 - open, 1 - close.
422422
"""
423423
self.calibration_parameters(class_name=self.__class__.__name__, status=status)
424-
return self._mesg(ProtocolCode.SET_ELETRIC_GRIPPER, status)
424+
return self._mesg(ProtocolCode.SET_ELECTRIC_GRIPPER, status)
425425

426426
def set_gripper_mode(self, mode):
427427
"""Set gripper mode

0 commit comments

Comments
 (0)