Skip to content

Commit

Permalink
release v3.6.7
Browse files Browse the repository at this point in the history
  • Loading branch information
anla-xu committed Nov 15, 2024
1 parent 4c254c6 commit fc0fad3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog for pymycobot

## v3.6.7 (2024-11-15)

- release v3.6.7
- Fixed the issue of incorrect naming of 320 electric gripper

## v3.6.5 (2024-10-25)

- release v3.6.5
Expand Down
2 changes: 1 addition & 1 deletion pymycobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
__all__.append("MyBuddyEmoticon")

__version__ = "3.6.6"
__version__ = "3.6.7"
__author__ = "Elephantrobotics"
__email__ = "[email protected]"
__git_url__ = "https://github.com/elephantrobotics/pymycobot"
Expand Down
4 changes: 2 additions & 2 deletions pymycobot/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ class ProtocolCode(object):
SET_GRIPPER_TORQUE = 0x6F
IS_BTN_CLICKED = 0x6F
SET_COLOR_MYARM = 0x70
SET_ELETRIC_GRIPPER = 0x6B
INIT_ELETRIC_GRIPPER = 0x6C
SET_ELECTRIC_GRIPPER = 0x6B
INIT_ELECTRIC_GRIPPER = 0x6C
SET_GRIPPER_MODE = 0x6D
GET_GRIPPER_MODE = 0x6E

Expand Down
8 changes: 4 additions & 4 deletions pymycobot/mycobot320.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,18 +410,18 @@ def set_joint_min(self, id, angle):
return self._mesg(ProtocolCode.SET_JOINT_MIN, id, angle)

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

def set_eletric_gripper(self, status): # TODO 22-5-19 need test
def set_electric_gripper(self, status): # TODO 22-5-19 need test
"""Set Electric Gripper Mode
Args:
status: 0 - open, 1 - close.
"""
self.calibration_parameters(class_name=self.__class__.__name__, status=status)
return self._mesg(ProtocolCode.SET_ELETRIC_GRIPPER, status)
return self._mesg(ProtocolCode.SET_ELECTRIC_GRIPPER, status)

def set_gripper_mode(self, mode):
"""Set gripper mode
Expand Down

0 comments on commit fc0fad3

Please sign in to comment.