kuavo-humanoid-sdk 1.1.3a1252__py3-none-any.whl → 1.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kuavo-humanoid-sdk might be problematic. Click here for more details.
- kuavo_humanoid_sdk/__init__.py +2 -0
- kuavo_humanoid_sdk/interfaces/data_types.py +44 -0
- kuavo_humanoid_sdk/kuavo/core/core.py +226 -20
- kuavo_humanoid_sdk/kuavo/core/ros/control.py +447 -13
- kuavo_humanoid_sdk/kuavo/core/ros/state.py +228 -5
- kuavo_humanoid_sdk/kuavo/core/ros/vision.py +13 -252
- kuavo_humanoid_sdk/kuavo/robot.py +108 -6
- kuavo_humanoid_sdk/kuavo/robot_arm.py +53 -7
- kuavo_humanoid_sdk/kuavo/robot_head.py +10 -0
- kuavo_humanoid_sdk/kuavo/robot_state.py +35 -2
- kuavo_humanoid_sdk/kuavo_strategy/__init__.py +2 -0
- kuavo_humanoid_sdk/kuavo_strategy/grasp_box/grasp_box_strategy.py +418 -0
- kuavo_humanoid_sdk/kuavo_strategy/kuavo_strategy.py +63 -0
- kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_twoArmHandPoseCmd.py +20 -16
- kuavo_humanoid_sdk/msg/kuavo_msgs/srv/__init__.py +1 -0
- kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_setMmCtrlFrame.py +273 -0
- kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_twoArmHandPoseCmdSrv.py +15 -14
- {kuavo_humanoid_sdk-1.1.3a1252.dist-info → kuavo_humanoid_sdk-1.1.5.dist-info}/METADATA +1 -1
- {kuavo_humanoid_sdk-1.1.3a1252.dist-info → kuavo_humanoid_sdk-1.1.5.dist-info}/RECORD +21 -17
- {kuavo_humanoid_sdk-1.1.3a1252.dist-info → kuavo_humanoid_sdk-1.1.5.dist-info}/WHEEL +0 -0
- {kuavo_humanoid_sdk-1.1.3a1252.dist-info → kuavo_humanoid_sdk-1.1.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
# This Python file uses the following encoding: utf-8
|
|
2
|
+
"""autogenerated by genpy from kuavo_msgs/setMmCtrlFrameRequest.msg. Do not edit."""
|
|
3
|
+
import codecs
|
|
4
|
+
import sys
|
|
5
|
+
python3 = True if sys.hexversion > 0x03000000 else False
|
|
6
|
+
import genpy
|
|
7
|
+
import struct
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class setMmCtrlFrameRequest(genpy.Message):
|
|
11
|
+
_md5sum = "e66db7b96bf089933dd98e52e1db8b7b"
|
|
12
|
+
_type = "kuavo_msgs/setMmCtrlFrameRequest"
|
|
13
|
+
_has_header = False # flag to mark the presence of a Header object
|
|
14
|
+
_full_text = """int32 frame
|
|
15
|
+
"""
|
|
16
|
+
__slots__ = ['frame']
|
|
17
|
+
_slot_types = ['int32']
|
|
18
|
+
|
|
19
|
+
def __init__(self, *args, **kwds):
|
|
20
|
+
"""
|
|
21
|
+
Constructor. Any message fields that are implicitly/explicitly
|
|
22
|
+
set to None will be assigned a default value. The recommend
|
|
23
|
+
use is keyword arguments as this is more robust to future message
|
|
24
|
+
changes. You cannot mix in-order arguments and keyword arguments.
|
|
25
|
+
|
|
26
|
+
The available fields are:
|
|
27
|
+
frame
|
|
28
|
+
|
|
29
|
+
:param args: complete set of field values, in .msg order
|
|
30
|
+
:param kwds: use keyword arguments corresponding to message field names
|
|
31
|
+
to set specific fields.
|
|
32
|
+
"""
|
|
33
|
+
if args or kwds:
|
|
34
|
+
super(setMmCtrlFrameRequest, self).__init__(*args, **kwds)
|
|
35
|
+
# message fields cannot be None, assign default values for those that are
|
|
36
|
+
if self.frame is None:
|
|
37
|
+
self.frame = 0
|
|
38
|
+
else:
|
|
39
|
+
self.frame = 0
|
|
40
|
+
|
|
41
|
+
def _get_types(self):
|
|
42
|
+
"""
|
|
43
|
+
internal API method
|
|
44
|
+
"""
|
|
45
|
+
return self._slot_types
|
|
46
|
+
|
|
47
|
+
def serialize(self, buff):
|
|
48
|
+
"""
|
|
49
|
+
serialize message into buffer
|
|
50
|
+
:param buff: buffer, ``StringIO``
|
|
51
|
+
"""
|
|
52
|
+
try:
|
|
53
|
+
_x = self.frame
|
|
54
|
+
buff.write(_get_struct_i().pack(_x))
|
|
55
|
+
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
|
|
56
|
+
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
|
|
57
|
+
|
|
58
|
+
def deserialize(self, str):
|
|
59
|
+
"""
|
|
60
|
+
unpack serialized message in str into this message instance
|
|
61
|
+
:param str: byte array of serialized message, ``str``
|
|
62
|
+
"""
|
|
63
|
+
if python3:
|
|
64
|
+
codecs.lookup_error("rosmsg").msg_type = self._type
|
|
65
|
+
try:
|
|
66
|
+
end = 0
|
|
67
|
+
start = end
|
|
68
|
+
end += 4
|
|
69
|
+
(self.frame,) = _get_struct_i().unpack(str[start:end])
|
|
70
|
+
return self
|
|
71
|
+
except struct.error as e:
|
|
72
|
+
raise genpy.DeserializationError(e) # most likely buffer underfill
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def serialize_numpy(self, buff, numpy):
|
|
76
|
+
"""
|
|
77
|
+
serialize message with numpy array types into buffer
|
|
78
|
+
:param buff: buffer, ``StringIO``
|
|
79
|
+
:param numpy: numpy python module
|
|
80
|
+
"""
|
|
81
|
+
try:
|
|
82
|
+
_x = self.frame
|
|
83
|
+
buff.write(_get_struct_i().pack(_x))
|
|
84
|
+
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
|
|
85
|
+
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
|
|
86
|
+
|
|
87
|
+
def deserialize_numpy(self, str, numpy):
|
|
88
|
+
"""
|
|
89
|
+
unpack serialized message in str into this message instance using numpy for array types
|
|
90
|
+
:param str: byte array of serialized message, ``str``
|
|
91
|
+
:param numpy: numpy python module
|
|
92
|
+
"""
|
|
93
|
+
if python3:
|
|
94
|
+
codecs.lookup_error("rosmsg").msg_type = self._type
|
|
95
|
+
try:
|
|
96
|
+
end = 0
|
|
97
|
+
start = end
|
|
98
|
+
end += 4
|
|
99
|
+
(self.frame,) = _get_struct_i().unpack(str[start:end])
|
|
100
|
+
return self
|
|
101
|
+
except struct.error as e:
|
|
102
|
+
raise genpy.DeserializationError(e) # most likely buffer underfill
|
|
103
|
+
|
|
104
|
+
_struct_I = genpy.struct_I
|
|
105
|
+
def _get_struct_I():
|
|
106
|
+
global _struct_I
|
|
107
|
+
return _struct_I
|
|
108
|
+
_struct_i = None
|
|
109
|
+
def _get_struct_i():
|
|
110
|
+
global _struct_i
|
|
111
|
+
if _struct_i is None:
|
|
112
|
+
_struct_i = struct.Struct("<i")
|
|
113
|
+
return _struct_i
|
|
114
|
+
# This Python file uses the following encoding: utf-8
|
|
115
|
+
"""autogenerated by genpy from kuavo_msgs/setMmCtrlFrameResponse.msg. Do not edit."""
|
|
116
|
+
import codecs
|
|
117
|
+
import sys
|
|
118
|
+
python3 = True if sys.hexversion > 0x03000000 else False
|
|
119
|
+
import genpy
|
|
120
|
+
import struct
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class setMmCtrlFrameResponse(genpy.Message):
|
|
124
|
+
_md5sum = "6f785115f88cf0e6d306b65915460524"
|
|
125
|
+
_type = "kuavo_msgs/setMmCtrlFrameResponse"
|
|
126
|
+
_has_header = False # flag to mark the presence of a Header object
|
|
127
|
+
_full_text = """bool result
|
|
128
|
+
int32 currentFrame
|
|
129
|
+
string message
|
|
130
|
+
"""
|
|
131
|
+
__slots__ = ['result','currentFrame','message']
|
|
132
|
+
_slot_types = ['bool','int32','string']
|
|
133
|
+
|
|
134
|
+
def __init__(self, *args, **kwds):
|
|
135
|
+
"""
|
|
136
|
+
Constructor. Any message fields that are implicitly/explicitly
|
|
137
|
+
set to None will be assigned a default value. The recommend
|
|
138
|
+
use is keyword arguments as this is more robust to future message
|
|
139
|
+
changes. You cannot mix in-order arguments and keyword arguments.
|
|
140
|
+
|
|
141
|
+
The available fields are:
|
|
142
|
+
result,currentFrame,message
|
|
143
|
+
|
|
144
|
+
:param args: complete set of field values, in .msg order
|
|
145
|
+
:param kwds: use keyword arguments corresponding to message field names
|
|
146
|
+
to set specific fields.
|
|
147
|
+
"""
|
|
148
|
+
if args or kwds:
|
|
149
|
+
super(setMmCtrlFrameResponse, self).__init__(*args, **kwds)
|
|
150
|
+
# message fields cannot be None, assign default values for those that are
|
|
151
|
+
if self.result is None:
|
|
152
|
+
self.result = False
|
|
153
|
+
if self.currentFrame is None:
|
|
154
|
+
self.currentFrame = 0
|
|
155
|
+
if self.message is None:
|
|
156
|
+
self.message = ''
|
|
157
|
+
else:
|
|
158
|
+
self.result = False
|
|
159
|
+
self.currentFrame = 0
|
|
160
|
+
self.message = ''
|
|
161
|
+
|
|
162
|
+
def _get_types(self):
|
|
163
|
+
"""
|
|
164
|
+
internal API method
|
|
165
|
+
"""
|
|
166
|
+
return self._slot_types
|
|
167
|
+
|
|
168
|
+
def serialize(self, buff):
|
|
169
|
+
"""
|
|
170
|
+
serialize message into buffer
|
|
171
|
+
:param buff: buffer, ``StringIO``
|
|
172
|
+
"""
|
|
173
|
+
try:
|
|
174
|
+
_x = self
|
|
175
|
+
buff.write(_get_struct_Bi().pack(_x.result, _x.currentFrame))
|
|
176
|
+
_x = self.message
|
|
177
|
+
length = len(_x)
|
|
178
|
+
if python3 or type(_x) == unicode:
|
|
179
|
+
_x = _x.encode('utf-8')
|
|
180
|
+
length = len(_x)
|
|
181
|
+
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
|
|
182
|
+
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
|
|
183
|
+
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
|
|
184
|
+
|
|
185
|
+
def deserialize(self, str):
|
|
186
|
+
"""
|
|
187
|
+
unpack serialized message in str into this message instance
|
|
188
|
+
:param str: byte array of serialized message, ``str``
|
|
189
|
+
"""
|
|
190
|
+
if python3:
|
|
191
|
+
codecs.lookup_error("rosmsg").msg_type = self._type
|
|
192
|
+
try:
|
|
193
|
+
end = 0
|
|
194
|
+
_x = self
|
|
195
|
+
start = end
|
|
196
|
+
end += 5
|
|
197
|
+
(_x.result, _x.currentFrame,) = _get_struct_Bi().unpack(str[start:end])
|
|
198
|
+
self.result = bool(self.result)
|
|
199
|
+
start = end
|
|
200
|
+
end += 4
|
|
201
|
+
(length,) = _struct_I.unpack(str[start:end])
|
|
202
|
+
start = end
|
|
203
|
+
end += length
|
|
204
|
+
if python3:
|
|
205
|
+
self.message = str[start:end].decode('utf-8', 'rosmsg')
|
|
206
|
+
else:
|
|
207
|
+
self.message = str[start:end]
|
|
208
|
+
return self
|
|
209
|
+
except struct.error as e:
|
|
210
|
+
raise genpy.DeserializationError(e) # most likely buffer underfill
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
def serialize_numpy(self, buff, numpy):
|
|
214
|
+
"""
|
|
215
|
+
serialize message with numpy array types into buffer
|
|
216
|
+
:param buff: buffer, ``StringIO``
|
|
217
|
+
:param numpy: numpy python module
|
|
218
|
+
"""
|
|
219
|
+
try:
|
|
220
|
+
_x = self
|
|
221
|
+
buff.write(_get_struct_Bi().pack(_x.result, _x.currentFrame))
|
|
222
|
+
_x = self.message
|
|
223
|
+
length = len(_x)
|
|
224
|
+
if python3 or type(_x) == unicode:
|
|
225
|
+
_x = _x.encode('utf-8')
|
|
226
|
+
length = len(_x)
|
|
227
|
+
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
|
|
228
|
+
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
|
|
229
|
+
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
|
|
230
|
+
|
|
231
|
+
def deserialize_numpy(self, str, numpy):
|
|
232
|
+
"""
|
|
233
|
+
unpack serialized message in str into this message instance using numpy for array types
|
|
234
|
+
:param str: byte array of serialized message, ``str``
|
|
235
|
+
:param numpy: numpy python module
|
|
236
|
+
"""
|
|
237
|
+
if python3:
|
|
238
|
+
codecs.lookup_error("rosmsg").msg_type = self._type
|
|
239
|
+
try:
|
|
240
|
+
end = 0
|
|
241
|
+
_x = self
|
|
242
|
+
start = end
|
|
243
|
+
end += 5
|
|
244
|
+
(_x.result, _x.currentFrame,) = _get_struct_Bi().unpack(str[start:end])
|
|
245
|
+
self.result = bool(self.result)
|
|
246
|
+
start = end
|
|
247
|
+
end += 4
|
|
248
|
+
(length,) = _struct_I.unpack(str[start:end])
|
|
249
|
+
start = end
|
|
250
|
+
end += length
|
|
251
|
+
if python3:
|
|
252
|
+
self.message = str[start:end].decode('utf-8', 'rosmsg')
|
|
253
|
+
else:
|
|
254
|
+
self.message = str[start:end]
|
|
255
|
+
return self
|
|
256
|
+
except struct.error as e:
|
|
257
|
+
raise genpy.DeserializationError(e) # most likely buffer underfill
|
|
258
|
+
|
|
259
|
+
_struct_I = genpy.struct_I
|
|
260
|
+
def _get_struct_I():
|
|
261
|
+
global _struct_I
|
|
262
|
+
return _struct_I
|
|
263
|
+
_struct_Bi = None
|
|
264
|
+
def _get_struct_Bi():
|
|
265
|
+
global _struct_Bi
|
|
266
|
+
if _struct_Bi is None:
|
|
267
|
+
_struct_Bi = struct.Struct("<Bi")
|
|
268
|
+
return _struct_Bi
|
|
269
|
+
class setMmCtrlFrame(object):
|
|
270
|
+
_type = 'kuavo_msgs/setMmCtrlFrame'
|
|
271
|
+
_md5sum = '696a444d2580aa682923215a4a34937c'
|
|
272
|
+
_request_class = setMmCtrlFrameRequest
|
|
273
|
+
_response_class = setMmCtrlFrameResponse
|
|
@@ -10,7 +10,7 @@ import kuavo_msgs.msg
|
|
|
10
10
|
import std_msgs.msg
|
|
11
11
|
|
|
12
12
|
class twoArmHandPoseCmdSrvRequest(genpy.Message):
|
|
13
|
-
_md5sum = "
|
|
13
|
+
_md5sum = "cc73837d27c2081b9de63a7f5c230e6e"
|
|
14
14
|
_type = "kuavo_msgs/twoArmHandPoseCmdSrvRequest"
|
|
15
15
|
_has_header = False # flag to mark the presence of a Header object
|
|
16
16
|
_full_text = """twoArmHandPoseCmd twoArmHandPoseCmdRequest
|
|
@@ -22,6 +22,7 @@ twoArmHandPose hand_poses
|
|
|
22
22
|
bool use_custom_ik_param
|
|
23
23
|
bool joint_angles_as_q0
|
|
24
24
|
ikSolveParam ik_param
|
|
25
|
+
int32 frame # 0 keep current frame 1 world frame (based on odom) 2 local frame 3 manipulation world frame
|
|
25
26
|
================================================================================
|
|
26
27
|
MSG: kuavo_msgs/twoArmHandPose
|
|
27
28
|
Header header
|
|
@@ -116,7 +117,7 @@ float64 pos_cost_weight"""
|
|
|
116
117
|
buff.write(_get_struct_3d().pack(*self.twoArmHandPoseCmdRequest.hand_poses.right_pose.elbow_pos_xyz))
|
|
117
118
|
buff.write(_get_struct_7d().pack(*self.twoArmHandPoseCmdRequest.hand_poses.right_pose.joint_angles))
|
|
118
119
|
_x = self
|
|
119
|
-
buff.write(
|
|
120
|
+
buff.write(_get_struct_2B7di().pack(_x.twoArmHandPoseCmdRequest.use_custom_ik_param, _x.twoArmHandPoseCmdRequest.joint_angles_as_q0, _x.twoArmHandPoseCmdRequest.ik_param.major_optimality_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.minor_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_iterations_limit, _x.twoArmHandPoseCmdRequest.ik_param.oritation_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_cost_weight, _x.twoArmHandPoseCmdRequest.frame))
|
|
120
121
|
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
|
|
121
122
|
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
|
|
122
123
|
|
|
@@ -170,8 +171,8 @@ float64 pos_cost_weight"""
|
|
|
170
171
|
self.twoArmHandPoseCmdRequest.hand_poses.right_pose.joint_angles = _get_struct_7d().unpack(str[start:end])
|
|
171
172
|
_x = self
|
|
172
173
|
start = end
|
|
173
|
-
end +=
|
|
174
|
-
(_x.twoArmHandPoseCmdRequest.use_custom_ik_param, _x.twoArmHandPoseCmdRequest.joint_angles_as_q0, _x.twoArmHandPoseCmdRequest.ik_param.major_optimality_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.minor_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_iterations_limit, _x.twoArmHandPoseCmdRequest.ik_param.oritation_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_cost_weight,) =
|
|
174
|
+
end += 62
|
|
175
|
+
(_x.twoArmHandPoseCmdRequest.use_custom_ik_param, _x.twoArmHandPoseCmdRequest.joint_angles_as_q0, _x.twoArmHandPoseCmdRequest.ik_param.major_optimality_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.minor_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_iterations_limit, _x.twoArmHandPoseCmdRequest.ik_param.oritation_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_cost_weight, _x.twoArmHandPoseCmdRequest.frame,) = _get_struct_2B7di().unpack(str[start:end])
|
|
175
176
|
self.twoArmHandPoseCmdRequest.use_custom_ik_param = bool(self.twoArmHandPoseCmdRequest.use_custom_ik_param)
|
|
176
177
|
self.twoArmHandPoseCmdRequest.joint_angles_as_q0 = bool(self.twoArmHandPoseCmdRequest.joint_angles_as_q0)
|
|
177
178
|
return self
|
|
@@ -203,7 +204,7 @@ float64 pos_cost_weight"""
|
|
|
203
204
|
buff.write(self.twoArmHandPoseCmdRequest.hand_poses.right_pose.elbow_pos_xyz.tostring())
|
|
204
205
|
buff.write(self.twoArmHandPoseCmdRequest.hand_poses.right_pose.joint_angles.tostring())
|
|
205
206
|
_x = self
|
|
206
|
-
buff.write(
|
|
207
|
+
buff.write(_get_struct_2B7di().pack(_x.twoArmHandPoseCmdRequest.use_custom_ik_param, _x.twoArmHandPoseCmdRequest.joint_angles_as_q0, _x.twoArmHandPoseCmdRequest.ik_param.major_optimality_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.minor_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_iterations_limit, _x.twoArmHandPoseCmdRequest.ik_param.oritation_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_cost_weight, _x.twoArmHandPoseCmdRequest.frame))
|
|
207
208
|
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
|
|
208
209
|
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
|
|
209
210
|
|
|
@@ -258,8 +259,8 @@ float64 pos_cost_weight"""
|
|
|
258
259
|
self.twoArmHandPoseCmdRequest.hand_poses.right_pose.joint_angles = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=7)
|
|
259
260
|
_x = self
|
|
260
261
|
start = end
|
|
261
|
-
end +=
|
|
262
|
-
(_x.twoArmHandPoseCmdRequest.use_custom_ik_param, _x.twoArmHandPoseCmdRequest.joint_angles_as_q0, _x.twoArmHandPoseCmdRequest.ik_param.major_optimality_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.minor_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_iterations_limit, _x.twoArmHandPoseCmdRequest.ik_param.oritation_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_cost_weight,) =
|
|
262
|
+
end += 62
|
|
263
|
+
(_x.twoArmHandPoseCmdRequest.use_custom_ik_param, _x.twoArmHandPoseCmdRequest.joint_angles_as_q0, _x.twoArmHandPoseCmdRequest.ik_param.major_optimality_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.minor_feasibility_tol, _x.twoArmHandPoseCmdRequest.ik_param.major_iterations_limit, _x.twoArmHandPoseCmdRequest.ik_param.oritation_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_constraint_tol, _x.twoArmHandPoseCmdRequest.ik_param.pos_cost_weight, _x.twoArmHandPoseCmdRequest.frame,) = _get_struct_2B7di().unpack(str[start:end])
|
|
263
264
|
self.twoArmHandPoseCmdRequest.use_custom_ik_param = bool(self.twoArmHandPoseCmdRequest.use_custom_ik_param)
|
|
264
265
|
self.twoArmHandPoseCmdRequest.joint_angles_as_q0 = bool(self.twoArmHandPoseCmdRequest.joint_angles_as_q0)
|
|
265
266
|
return self
|
|
@@ -270,12 +271,12 @@ _struct_I = genpy.struct_I
|
|
|
270
271
|
def _get_struct_I():
|
|
271
272
|
global _struct_I
|
|
272
273
|
return _struct_I
|
|
273
|
-
|
|
274
|
-
def
|
|
275
|
-
global
|
|
276
|
-
if
|
|
277
|
-
|
|
278
|
-
return
|
|
274
|
+
_struct_2B7di = None
|
|
275
|
+
def _get_struct_2B7di():
|
|
276
|
+
global _struct_2B7di
|
|
277
|
+
if _struct_2B7di is None:
|
|
278
|
+
_struct_2B7di = struct.Struct("<2B7di")
|
|
279
|
+
return _struct_2B7di
|
|
279
280
|
_struct_3I = None
|
|
280
281
|
def _get_struct_3I():
|
|
281
282
|
global _struct_3I
|
|
@@ -656,6 +657,6 @@ def _get_struct_d3I():
|
|
|
656
657
|
return _struct_d3I
|
|
657
658
|
class twoArmHandPoseCmdSrv(object):
|
|
658
659
|
_type = 'kuavo_msgs/twoArmHandPoseCmdSrv'
|
|
659
|
-
_md5sum = '
|
|
660
|
+
_md5sum = '5c40c421651b828448c8e8f1a4ba5e3d'
|
|
660
661
|
_request_class = twoArmHandPoseCmdSrvRequest
|
|
661
662
|
_response_class = twoArmHandPoseCmdSrvResponse
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
-
kuavo_humanoid_sdk/__init__.py,sha256=
|
|
1
|
+
kuavo_humanoid_sdk/__init__.py,sha256=DtPCVJH91dONgYSjFe8oFSpUSYbJOzYgpyyHvD7F8oo,214
|
|
2
2
|
kuavo_humanoid_sdk/common/global_config.py,sha256=2iDGXEwjmfc9MQ4jYOYxFyTB_BnLIxf6HYent5dS4gA,315
|
|
3
3
|
kuavo_humanoid_sdk/common/logger.py,sha256=nSIbsJaW4nDcaQdhZebZkjtji6kmWVR8tYO-sUTz3Gg,1246
|
|
4
4
|
kuavo_humanoid_sdk/common/websocket_kuavo_sdk.py,sha256=lfilfXYdZFTasjRudHb_Xc89ah44jWljpQTozVSABGU,675
|
|
5
5
|
kuavo_humanoid_sdk/interfaces/__init__.py,sha256=_zXDinj2T3X7UH19-Xrotc7uYZWHmZqHaMCWU1FYR5I,100
|
|
6
|
-
kuavo_humanoid_sdk/interfaces/data_types.py,sha256=
|
|
6
|
+
kuavo_humanoid_sdk/interfaces/data_types.py,sha256=3yBYRD6fhp-czJabZPkqAjDHEV_KBKRiqx035vmT3WY,8266
|
|
7
7
|
kuavo_humanoid_sdk/interfaces/end_effector.py,sha256=rlvBrYd_-b5-Px_m2UiHn47wuZJwlqVBrGPdV1lu0Qg,1876
|
|
8
8
|
kuavo_humanoid_sdk/interfaces/robot.py,sha256=qqnq7gRc_mK8xEWnF5pJ7AJUPtry1bpN9eDl8nmE3EM,393
|
|
9
9
|
kuavo_humanoid_sdk/interfaces/robot_info.py,sha256=-rh7VXjMJFYTsx7Ktok5VuI6JF_W2BpJBUbqtYJRkkA,1176
|
|
10
10
|
kuavo_humanoid_sdk/kuavo/__init__.py,sha256=WAIykcMUtMhFTPZ_6oE_VARfNo3fJXD8DxNhwEyoZxk,415
|
|
11
11
|
kuavo_humanoid_sdk/kuavo/dexterous_hand.py,sha256=q2_vTdjxIuUW-J9QzZdbDUgxQJocZ70jfxzLDle2S9M,8709
|
|
12
12
|
kuavo_humanoid_sdk/kuavo/leju_claw.py,sha256=5BKBCOqIt2AEai8e9xymm5_jPPfJw3O7ZeDeXSBpDTw,10465
|
|
13
|
-
kuavo_humanoid_sdk/kuavo/robot.py,sha256=
|
|
14
|
-
kuavo_humanoid_sdk/kuavo/robot_arm.py,sha256=
|
|
13
|
+
kuavo_humanoid_sdk/kuavo/robot.py,sha256=Z_zgqR--s8hvP_KlaUxNuriOvTaH6hWoRcMgrAq3Qz0,20487
|
|
14
|
+
kuavo_humanoid_sdk/kuavo/robot_arm.py,sha256=HTY3J1dZDOBzCWesZaFlg6XhkqARtRxXqiZg2OAW-J8,9419
|
|
15
15
|
kuavo_humanoid_sdk/kuavo/robot_audio.py,sha256=Z0ZN0DldOEWL1iLo9wPgGE9m8J_jQuNKq-QkY6H_PhE,1310
|
|
16
|
-
kuavo_humanoid_sdk/kuavo/robot_head.py,sha256=
|
|
16
|
+
kuavo_humanoid_sdk/kuavo/robot_head.py,sha256=EagxK9vU1nczdm8qVKc_sJzwhiLKF7xhzHRuGUnUhB4,1851
|
|
17
17
|
kuavo_humanoid_sdk/kuavo/robot_info.py,sha256=etyqcUg22IAA2O59cjBhLTpacQ3DLhT8qZNj7vX8yL8,4116
|
|
18
|
-
kuavo_humanoid_sdk/kuavo/robot_state.py,sha256=
|
|
18
|
+
kuavo_humanoid_sdk/kuavo/robot_state.py,sha256=TLp7Rr0OJPRUO3tCJSIGAn20Ug47iiqUVCiog2c81mI,12355
|
|
19
19
|
kuavo_humanoid_sdk/kuavo/robot_tool.py,sha256=moCaX46JWO6k9QXIhXPXjL_ywccz4iovkrjS2yH9Dgg,2747
|
|
20
20
|
kuavo_humanoid_sdk/kuavo/robot_vision.py,sha256=AxlD3Ckl2GafsNpPNWYUM89653AN1BvWtMi9stdDALE,3156
|
|
21
21
|
kuavo_humanoid_sdk/kuavo/core/audio.py,sha256=lyoYTKkt3ZEnehh1cJenksrkYUrlHBC559r1JmzysR4,1024
|
|
22
|
-
kuavo_humanoid_sdk/kuavo/core/core.py,sha256=
|
|
22
|
+
kuavo_humanoid_sdk/kuavo/core/core.py,sha256=SgvLQMxE9NHA1glrKgh8rrjp1hgXIYMW8MeabeT-J_s,29692
|
|
23
23
|
kuavo_humanoid_sdk/kuavo/core/dex_hand_control.py,sha256=51iLPIKMFKeOhc5TpRCMWTm7Aw8pt6XG9XUB-_swr4Y,5158
|
|
24
24
|
kuavo_humanoid_sdk/kuavo/core/leju_claw_control.py,sha256=RCrnWTMW-L0fOMa1op7t43aGWSyMVqrOjR0lVtIFzqY,3432
|
|
25
25
|
kuavo_humanoid_sdk/kuavo/core/ros_env.py,sha256=lVhEVUZvdQI43mPkFqRYBld3N-L4nPigRkcSZ-ejL9I,18848
|
|
26
26
|
kuavo_humanoid_sdk/kuavo/core/ros/audio.py,sha256=aJQ9i7df8mK55XCtNM4MDLcwz8CnEk-K3P93QrtWwXQ,6850
|
|
27
|
-
kuavo_humanoid_sdk/kuavo/core/ros/control.py,sha256=
|
|
27
|
+
kuavo_humanoid_sdk/kuavo/core/ros/control.py,sha256=s-yf4jRYn58awqEIMZl0wTUMDiQXlqbnTf13lITyt94,81827
|
|
28
28
|
kuavo_humanoid_sdk/kuavo/core/ros/param.py,sha256=r8Xve8zsfFBBZQnEbLOCNC1YQhv_h-Xv1hHx6gHkQag,11745
|
|
29
29
|
kuavo_humanoid_sdk/kuavo/core/ros/sat_utils.py,sha256=AhBNM-s9nVwRiLZ8gtqC2RvPImkT9uulONSLXk3KooI,3317
|
|
30
|
-
kuavo_humanoid_sdk/kuavo/core/ros/state.py,sha256=
|
|
30
|
+
kuavo_humanoid_sdk/kuavo/core/ros/state.py,sha256=YZZePu6M_aL02D_Thh97CP04sJdgtGs75LZqLoVQEDw,46302
|
|
31
31
|
kuavo_humanoid_sdk/kuavo/core/ros/tools.py,sha256=RF9PVvHEfYBuNYyKRbgtLrFrR15kfPTjtcXmZG17Gk4,6142
|
|
32
|
-
kuavo_humanoid_sdk/kuavo/core/ros/vision.py,sha256=
|
|
32
|
+
kuavo_humanoid_sdk/kuavo/core/ros/vision.py,sha256=gGCzJb5hZgH-TBLm9P7tlbCt73MMAm9AfmokZfdm_Oo,11121
|
|
33
|
+
kuavo_humanoid_sdk/kuavo_strategy/__init__.py,sha256=JqwMTRKG-1LpDqnvFFGm6oQW31oQ7YmTLB4KZ7U7o3Y,73
|
|
34
|
+
kuavo_humanoid_sdk/kuavo_strategy/kuavo_strategy.py,sha256=qjmeNYatDP-TvgDvsa7T5LFNRmzqafC4qWVMAnW3F-A,2043
|
|
35
|
+
kuavo_humanoid_sdk/kuavo_strategy/grasp_box/grasp_box_strategy.py,sha256=X5Z5bVy7Zp6_Ht9Iia8Mq4Qg0_eOTtQFV-yLmiec2Ok,17762
|
|
33
36
|
kuavo_humanoid_sdk/msg/__init__.py,sha256=8TElMWrXsBCGxhJBe3mfgtiAlX4LzgQep66TSwMcaDQ,19
|
|
34
37
|
kuavo_humanoid_sdk/msg/kuavo_msgs/__init__.py,sha256=wk-pfWFvAOl475vxWFVTwbJGejP6UKgivUApv8RvK_8,216
|
|
35
38
|
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_AprilTagDetection.py,sha256=2Iz0kN1w5IqvXFmK-DN14i-9hrtZNSRSWvxr6tSPIlA,11655
|
|
@@ -65,11 +68,11 @@ kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_sensorsData.py,sha256=hHAvPSEAdsQ7lvsR9SX
|
|
|
65
68
|
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_switchGaitByName.py,sha256=saXfUf1k8nT0Y5OW7rBxMi9xBdyHYvsZP8EloYgaLZs,6891
|
|
66
69
|
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_touchSensorStatus.py,sha256=XsZbTNfmD748TPMBlK88XwsX4Lhg7LtGd_hEQ5e_0sA,7227
|
|
67
70
|
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_twoArmHandPose.py,sha256=9rMuid2MzIOdU06lqYzIQp5N8dbgynhbjqHKk9bkZ9c,10174
|
|
68
|
-
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_twoArmHandPoseCmd.py,sha256=
|
|
71
|
+
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_twoArmHandPoseCmd.py,sha256=MCpOFt5O8Lf3Lpkzt1bt3m3u6--mkCtso5CMXl8JVJ0,13560
|
|
69
72
|
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_yoloDetection.py,sha256=Sb7W4mZ2WBLHpUBxPUO0MsLnV7NeSByOXBwMfV87Fhw,8701
|
|
70
73
|
kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_yoloOutputData.py,sha256=kXYLnrYTjKU9yopZJ8NgCEtswLy66WWdh6rj05TL2DY,5696
|
|
71
74
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_SpeechSynthesis.py,sha256=ERh-Y-JoghTDkUWp_yn8bFm7eQIHyLu4bTGR_ORVcQQ,8858
|
|
72
|
-
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/__init__.py,sha256=
|
|
75
|
+
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/__init__.py,sha256=dc5_M23g4KtiOap6vSwA-2u7C_T13XfN96poQKsFSTY,698
|
|
73
76
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_changeArmCtrlMode.py,sha256=OI312Z4IOywRn_9ckHmc89eFbBGRpIO9crRz_zlYKIk,9159
|
|
74
77
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_changeArmCtrlModeKuavo.py,sha256=l1t3VqPbn2nVFuPnOHuiLjAUcz08zH1y7R0PO10Lo9E,8040
|
|
75
78
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_changeTorsoCtrlMode.py,sha256=2_CTVtEgaFUaODV8VyTZA0Z6El3hiDcYrBPP9hstnLs,9206
|
|
@@ -85,10 +88,11 @@ kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_handForceLevel.py,sha256=YVhwt3RCVdYna6UE
|
|
|
85
88
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_jointMoveTo.py,sha256=CHM0sooP3GoIvphVn3lut0fWtjuIwgz9DYd6oJ3XCz4,9984
|
|
86
89
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_playmusic.py,sha256=QKWQDAW_NFgy5Vo6TMc_C7PyBeJwVPU32_wa-9672a8,9111
|
|
87
90
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_setHwIntialState.py,sha256=0_GWZCBfmthlwVuYOZLzFMUgjIymL8BxtW6_3ZzSqAE,10204
|
|
91
|
+
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_setMmCtrlFrame.py,sha256=9WdGrggQ5kHa2Ekay7F6cUTsLYdbK1sOhU2zbAmOELY,9075
|
|
88
92
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_setMotorEncoderRoundService.py,sha256=E6A81oVoNeBTc5jDbsCMTM0TLnGvsvoo0JVtwk8cmNA,9815
|
|
89
93
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_setTagId.py,sha256=edQqsBm-LvmT0s55UQ-qVEvqaiGFOBmwF8ox95xcyPY,8970
|
|
90
94
|
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_singleStepControl.py,sha256=yfCfwqP7H9KJ5GnzTiwpiB0NrczFXkON76i7SRk9eV8,13279
|
|
91
|
-
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_twoArmHandPoseCmdSrv.py,sha256=
|
|
95
|
+
kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_twoArmHandPoseCmdSrv.py,sha256=rmMc_8OtHwEBDnNhT7hckliLwFrsyVACLiQepgiW8Uc,29178
|
|
92
96
|
kuavo_humanoid_sdk/msg/motion_capture_ik/__init__.py,sha256=wk-pfWFvAOl475vxWFVTwbJGejP6UKgivUApv8RvK_8,216
|
|
93
97
|
kuavo_humanoid_sdk/msg/ocs2_msgs/__init__.py,sha256=wk-pfWFvAOl475vxWFVTwbJGejP6UKgivUApv8RvK_8,216
|
|
94
98
|
kuavo_humanoid_sdk/msg/ocs2_msgs/msg/__init__.py,sha256=dJBWOS_viXh9umNB2pGUPdSFm9h8ySMOqtIop--PGss,388
|
|
@@ -106,7 +110,7 @@ kuavo_humanoid_sdk/msg/ocs2_msgs/msg/_mpc_target_trajectories.py,sha256=c8l2__Lu
|
|
|
106
110
|
kuavo_humanoid_sdk/msg/ocs2_msgs/msg/_multiplier.py,sha256=UY0klrLwiuQeEOxBXGrLdivCOhI3HsHUbi5uX7nsT8g,4895
|
|
107
111
|
kuavo_humanoid_sdk/msg/ocs2_msgs/srv/__init__.py,sha256=LaBHLkXuxdf1Z6BCqgWQC2F9yUNSDYC_iQp6NMYAnjQ,22
|
|
108
112
|
kuavo_humanoid_sdk/msg/ocs2_msgs/srv/_reset.py,sha256=KtnylmS0VOjVfa3lldprbhZl04wU3ng5v94jghu3dYU,13379
|
|
109
|
-
kuavo_humanoid_sdk-1.1.
|
|
110
|
-
kuavo_humanoid_sdk-1.1.
|
|
111
|
-
kuavo_humanoid_sdk-1.1.
|
|
112
|
-
kuavo_humanoid_sdk-1.1.
|
|
113
|
+
kuavo_humanoid_sdk-1.1.5.dist-info/METADATA,sha256=37EY8oyL-xI8iDsrq-sirHLuQOfGsJ4LLkOgdiLuVrs,10826
|
|
114
|
+
kuavo_humanoid_sdk-1.1.5.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
115
|
+
kuavo_humanoid_sdk-1.1.5.dist-info/top_level.txt,sha256=9uSyZoiOEykRMOf0Gm-N9mkyQQg9yOSimfsb632G99c,19
|
|
116
|
+
kuavo_humanoid_sdk-1.1.5.dist-info/RECORD,,
|
|
File without changes
|
{kuavo_humanoid_sdk-1.1.3a1252.dist-info → kuavo_humanoid_sdk-1.1.5.dist-info}/top_level.txt
RENAMED
|
File without changes
|