We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5088495 commit 45af788Copy full SHA for 45af788
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# ChangeLog for pymycobot
2
3
+## v3.3.1 (2023-12-4)
4
+
5
+- release v3.3.1
6
+- fix bug
7
8
## v3.3.0 (2023-11-9)
9
10
- release v3.3.0
pymycobot/__init__.py
@@ -52,7 +52,7 @@
52
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
53
__all__.append("MyBuddyEmoticon")
54
55
-__version__ = "3.3.0b0"
+__version__ = "3.3.1"
56
__author__ = "Elephantrobotics"
57
__email__ = "[email protected]"
58
__git_url__ = "https://github.com/elephantrobotics/pymycobot"
pymycobot/mecharmsocket.py
@@ -110,7 +110,12 @@ def _mesg(self, genre, *args, **kwargs):
110
ProtocolCode.GET_FRESH_MODE,
111
ProtocolCode.GET_GRIPPER_MODE,
112
ProtocolCode.GET_ERROR_INFO,
113
- ProtocolCode.GET_GPIO_IN
+ ProtocolCode.GET_GPIO_IN,
114
+ ProtocolCode.SetHTSGripperTorque,
115
+ ProtocolCode.GetHTSGripperTorque,
116
+ ProtocolCode.GetGripperProtectCurrent,
117
+ ProtocolCode.InitGripper,
118
+ ProtocolCode.SET_FOUR_PIECES_ZERO
119
]:
120
return self._process_single(res)
121
elif genre in [ProtocolCode.GET_ANGLES]:
pymycobot/myarm.py
@@ -109,8 +109,13 @@ def _mesg(self, genre, *args, **kwargs):
109
ProtocolCode.GET_REFERENCE_FRAME,
+ ProtocolCode.GET_ERROR_INFO,
ProtocolCode.SET_SSID_PWD,
- ProtocolCode.GetHTSGripperTorque
pymycobot/myarmsocket.py
@@ -110,7 +110,13 @@ def _mesg(self, genre, *args, **kwargs):
+ ProtocolCode.SET_SSID_PWD,
122
pymycobot/mybuddy.py
@@ -158,9 +158,12 @@ def _mesg(self, genre, *args, **kwargs):
158
ProtocolCode.GET_END_TYPE,
159
ProtocolCode.GET_MOVEMENT_TYPE,
160
161
- ProtocolCode.GET_JOINT_MIN_ANGLE,
162
- ProtocolCode.GET_JOINT_MAX_ANGLE,
163
164
165
166
167
# ProtocolCode.GET_SERVO_CURRENTS
168
169
@@ -192,6 +195,8 @@ def _mesg(self, genre, *args, **kwargs):
192
195
return r
193
196
else:
194
197
return res
198
+ elif genre in [ProtocolCode.GET_JOINT_MAX_ANGLE, ProtocolCode.GET_JOINT_MIN_ANGLE]:
199
+ return self._int2coord(res[0])
200
elif genre in [ProtocolCode.GET_SERVO_VOLTAGES, ProtocolCode.COLLISION]:
201
return [self._int2coord(angle) for angle in res]
202
pymycobot/mybuddysocket.py
@@ -118,7 +118,12 @@ def _mesg(self, genre, *args, **kwargs):
ProtocolCode.GET_JOINT_MIN_ANGLE,
- ProtocolCode.GET_JOINT_MAX_ANGLE
+ ProtocolCode.GET_JOINT_MAX_ANGLE,
123
124
125
126
127
128
129
pymycobot/mycobot.py
@@ -125,7 +125,11 @@ def _res(self, real_command, has_reply, genre):
ProtocolCode.GET_COMMUNICATE_MODE,
ProtocolCode.SET_COMMUNICATE_MODE,
130
131
132
133
134
135
pymycobot/mycobotsocket.py
@@ -113,7 +113,12 @@ def _mesg(self, genre, *args, **kwargs):
ProtocolCode.GET_GPIO_IN,
- ProtocolCode.SET_COMMUNICATE_MODE
+ ProtocolCode.SET_COMMUNICATE_MODE,
pymycobot/mypalletizer.py
@@ -145,7 +145,12 @@ def _mesg(self, genre, *args, **kwargs):
145
ProtocolCode.GET_BASIC_INPUT,
146
ProtocolCode.GET_TOF_DISTANCE,
147
148
149
150
151
152
153
154
155
156
0 commit comments