kuavo-humanoid-sdk 1.1.2a924__py3-none-any.whl → 1.1.3a1239__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.

Files changed (45) hide show
  1. kuavo_humanoid_sdk/common/global_config.py +15 -0
  2. kuavo_humanoid_sdk/common/websocket_kuavo_sdk.py +23 -0
  3. kuavo_humanoid_sdk/interfaces/data_types.py +46 -0
  4. kuavo_humanoid_sdk/kuavo/__init__.py +3 -0
  5. kuavo_humanoid_sdk/kuavo/core/audio.py +32 -0
  6. kuavo_humanoid_sdk/kuavo/core/core.py +17 -6
  7. kuavo_humanoid_sdk/kuavo/core/ros/audio.py +93 -0
  8. kuavo_humanoid_sdk/kuavo/core/ros/control.py +645 -19
  9. kuavo_humanoid_sdk/kuavo/core/ros/param.py +142 -4
  10. kuavo_humanoid_sdk/kuavo/core/ros/state.py +329 -15
  11. kuavo_humanoid_sdk/kuavo/core/ros/tools.py +158 -0
  12. kuavo_humanoid_sdk/kuavo/core/ros/vision.py +276 -0
  13. kuavo_humanoid_sdk/kuavo/core/ros_env.py +229 -1
  14. kuavo_humanoid_sdk/kuavo/dexterous_hand.py +6 -2
  15. kuavo_humanoid_sdk/kuavo/leju_claw.py +6 -2
  16. kuavo_humanoid_sdk/kuavo/robot.py +43 -22
  17. kuavo_humanoid_sdk/kuavo/robot_audio.py +39 -0
  18. kuavo_humanoid_sdk/kuavo/robot_info.py +7 -2
  19. kuavo_humanoid_sdk/kuavo/robot_state.py +6 -2
  20. kuavo_humanoid_sdk/kuavo/robot_tool.py +62 -0
  21. kuavo_humanoid_sdk/kuavo/robot_vision.py +90 -0
  22. kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_AprilTagDetection.py +306 -0
  23. kuavo_humanoid_sdk/msg/kuavo_msgs/msg/_AprilTagDetectionArray.py +437 -0
  24. kuavo_humanoid_sdk/msg/kuavo_msgs/msg/__init__.py +9 -0
  25. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_armHandPose.py +2 -2
  26. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_handPose.py +2 -2
  27. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_ikSolveError.py +13 -13
  28. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_ikSolveParam.py +2 -2
  29. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_robotArmQVVD.py +2 -2
  30. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_twoArmHandPose.py +13 -13
  31. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/msg/_twoArmHandPoseCmd.py +15 -15
  32. kuavo_humanoid_sdk/msg/kuavo_msgs/srv/_SpeechSynthesis.py +270 -0
  33. kuavo_humanoid_sdk/msg/kuavo_msgs/srv/__init__.py +5 -0
  34. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/srv/_changeArmCtrlModeKuavo.py +5 -5
  35. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/srv/_fkSrv.py +13 -13
  36. kuavo_humanoid_sdk/msg/{motion_capture_ik/srv/_changeArmCtrlMode.py → kuavo_msgs/srv/_playmusic.py} +97 -98
  37. kuavo_humanoid_sdk/msg/{motion_capture_ik → kuavo_msgs}/srv/_twoArmHandPoseCmdSrv.py +23 -23
  38. {kuavo_humanoid_sdk-1.1.2a924.dist-info → kuavo_humanoid_sdk-1.1.3a1239.dist-info}/METADATA +2 -1
  39. {kuavo_humanoid_sdk-1.1.2a924.dist-info → kuavo_humanoid_sdk-1.1.3a1239.dist-info}/RECORD +41 -33
  40. kuavo_humanoid_sdk/msg/motion_capture_ik/msg/__init__.py +0 -9
  41. kuavo_humanoid_sdk/msg/motion_capture_ik/msg/_headBodyPose.py +0 -145
  42. kuavo_humanoid_sdk/msg/motion_capture_ik/msg/_robotHandPosition.py +0 -225
  43. kuavo_humanoid_sdk/msg/motion_capture_ik/srv/__init__.py +0 -4
  44. {kuavo_humanoid_sdk-1.1.2a924.dist-info → kuavo_humanoid_sdk-1.1.3a1239.dist-info}/WHEEL +0 -0
  45. {kuavo_humanoid_sdk-1.1.2a924.dist-info → kuavo_humanoid_sdk-1.1.3a1239.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,17 @@
1
1
  # This Python file uses the following encoding: utf-8
2
- """autogenerated by genpy from motion_capture_ik/twoArmHandPoseCmd.msg. Do not edit."""
2
+ """autogenerated by genpy from kuavo_msgs/twoArmHandPoseCmd.msg. Do not edit."""
3
3
  import codecs
4
4
  import sys
5
5
  python3 = True if sys.hexversion > 0x03000000 else False
6
6
  import genpy
7
7
  import struct
8
8
 
9
- import motion_capture_ik.msg
9
+ import kuavo_msgs.msg
10
10
  import std_msgs.msg
11
11
 
12
12
  class twoArmHandPoseCmd(genpy.Message):
13
13
  _md5sum = "d4b6792a6f960bea428fd7158220110b"
14
- _type = "motion_capture_ik/twoArmHandPoseCmd"
14
+ _type = "kuavo_msgs/twoArmHandPoseCmd"
15
15
  _has_header = False # flag to mark the presence of a Header object
16
16
  _full_text = """twoArmHandPose hand_poses
17
17
  # params for the IK solver
@@ -19,7 +19,7 @@ bool use_custom_ik_param
19
19
  bool joint_angles_as_q0
20
20
  ikSolveParam ik_param
21
21
  ================================================================================
22
- MSG: motion_capture_ik/twoArmHandPose
22
+ MSG: kuavo_msgs/twoArmHandPose
23
23
  Header header
24
24
  armHandPose left_pose
25
25
  armHandPose right_pose
@@ -40,7 +40,7 @@ time stamp
40
40
  string frame_id
41
41
 
42
42
  ================================================================================
43
- MSG: motion_capture_ik/armHandPose
43
+ MSG: kuavo_msgs/armHandPose
44
44
  float64[3] pos_xyz
45
45
  float64[4] quat_xyzw
46
46
 
@@ -48,7 +48,7 @@ float64[3] elbow_pos_xyz
48
48
 
49
49
  float64[7] joint_angles
50
50
  ================================================================================
51
- MSG: motion_capture_ik/ikSolveParam
51
+ MSG: kuavo_msgs/ikSolveParam
52
52
  # snopt params
53
53
  float64 major_optimality_tol
54
54
  float64 major_feasibility_tol
@@ -59,7 +59,7 @@ float64 oritation_constraint_tol
59
59
  float64 pos_constraint_tol # work when pos_cost_weight > 0.0
60
60
  float64 pos_cost_weight"""
61
61
  __slots__ = ['hand_poses','use_custom_ik_param','joint_angles_as_q0','ik_param']
62
- _slot_types = ['motion_capture_ik/twoArmHandPose','bool','bool','motion_capture_ik/ikSolveParam']
62
+ _slot_types = ['kuavo_msgs/twoArmHandPose','bool','bool','kuavo_msgs/ikSolveParam']
63
63
 
64
64
  def __init__(self, *args, **kwds):
65
65
  """
@@ -79,18 +79,18 @@ float64 pos_cost_weight"""
79
79
  super(twoArmHandPoseCmd, self).__init__(*args, **kwds)
80
80
  # message fields cannot be None, assign default values for those that are
81
81
  if self.hand_poses is None:
82
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
82
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
83
83
  if self.use_custom_ik_param is None:
84
84
  self.use_custom_ik_param = False
85
85
  if self.joint_angles_as_q0 is None:
86
86
  self.joint_angles_as_q0 = False
87
87
  if self.ik_param is None:
88
- self.ik_param = motion_capture_ik.msg.ikSolveParam()
88
+ self.ik_param = kuavo_msgs.msg.ikSolveParam()
89
89
  else:
90
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
90
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
91
91
  self.use_custom_ik_param = False
92
92
  self.joint_angles_as_q0 = False
93
- self.ik_param = motion_capture_ik.msg.ikSolveParam()
93
+ self.ik_param = kuavo_msgs.msg.ikSolveParam()
94
94
 
95
95
  def _get_types(self):
96
96
  """
@@ -134,9 +134,9 @@ float64 pos_cost_weight"""
134
134
  codecs.lookup_error("rosmsg").msg_type = self._type
135
135
  try:
136
136
  if self.hand_poses is None:
137
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
137
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
138
138
  if self.ik_param is None:
139
- self.ik_param = motion_capture_ik.msg.ikSolveParam()
139
+ self.ik_param = kuavo_msgs.msg.ikSolveParam()
140
140
  end = 0
141
141
  _x = self
142
142
  start = end
@@ -224,9 +224,9 @@ float64 pos_cost_weight"""
224
224
  codecs.lookup_error("rosmsg").msg_type = self._type
225
225
  try:
226
226
  if self.hand_poses is None:
227
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
227
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
228
228
  if self.ik_param is None:
229
- self.ik_param = motion_capture_ik.msg.ikSolveParam()
229
+ self.ik_param = kuavo_msgs.msg.ikSolveParam()
230
230
  end = 0
231
231
  _x = self
232
232
  start = end
@@ -0,0 +1,270 @@
1
+ # This Python file uses the following encoding: utf-8
2
+ """autogenerated by genpy from kuavo_msgs/SpeechSynthesisRequest.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 SpeechSynthesisRequest(genpy.Message):
11
+ _md5sum = "32375f7a1df36dcb2da804a90b1edd81"
12
+ _type = "kuavo_msgs/SpeechSynthesisRequest"
13
+ _has_header = False # flag to mark the presence of a Header object
14
+ _full_text = """# 请求部分
15
+ string data
16
+ float32 volume
17
+ """
18
+ __slots__ = ['data','volume']
19
+ _slot_types = ['string','float32']
20
+
21
+ def __init__(self, *args, **kwds):
22
+ """
23
+ Constructor. Any message fields that are implicitly/explicitly
24
+ set to None will be assigned a default value. The recommend
25
+ use is keyword arguments as this is more robust to future message
26
+ changes. You cannot mix in-order arguments and keyword arguments.
27
+
28
+ The available fields are:
29
+ data,volume
30
+
31
+ :param args: complete set of field values, in .msg order
32
+ :param kwds: use keyword arguments corresponding to message field names
33
+ to set specific fields.
34
+ """
35
+ if args or kwds:
36
+ super(SpeechSynthesisRequest, self).__init__(*args, **kwds)
37
+ # message fields cannot be None, assign default values for those that are
38
+ if self.data is None:
39
+ self.data = ''
40
+ if self.volume is None:
41
+ self.volume = 0.
42
+ else:
43
+ self.data = ''
44
+ self.volume = 0.
45
+
46
+ def _get_types(self):
47
+ """
48
+ internal API method
49
+ """
50
+ return self._slot_types
51
+
52
+ def serialize(self, buff):
53
+ """
54
+ serialize message into buffer
55
+ :param buff: buffer, ``StringIO``
56
+ """
57
+ try:
58
+ _x = self.data
59
+ length = len(_x)
60
+ if python3 or type(_x) == unicode:
61
+ _x = _x.encode('utf-8')
62
+ length = len(_x)
63
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
64
+ _x = self.volume
65
+ buff.write(_get_struct_f().pack(_x))
66
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
67
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
68
+
69
+ def deserialize(self, str):
70
+ """
71
+ unpack serialized message in str into this message instance
72
+ :param str: byte array of serialized message, ``str``
73
+ """
74
+ if python3:
75
+ codecs.lookup_error("rosmsg").msg_type = self._type
76
+ try:
77
+ end = 0
78
+ start = end
79
+ end += 4
80
+ (length,) = _struct_I.unpack(str[start:end])
81
+ start = end
82
+ end += length
83
+ if python3:
84
+ self.data = str[start:end].decode('utf-8', 'rosmsg')
85
+ else:
86
+ self.data = str[start:end]
87
+ start = end
88
+ end += 4
89
+ (self.volume,) = _get_struct_f().unpack(str[start:end])
90
+ return self
91
+ except struct.error as e:
92
+ raise genpy.DeserializationError(e) # most likely buffer underfill
93
+
94
+
95
+ def serialize_numpy(self, buff, numpy):
96
+ """
97
+ serialize message with numpy array types into buffer
98
+ :param buff: buffer, ``StringIO``
99
+ :param numpy: numpy python module
100
+ """
101
+ try:
102
+ _x = self.data
103
+ length = len(_x)
104
+ if python3 or type(_x) == unicode:
105
+ _x = _x.encode('utf-8')
106
+ length = len(_x)
107
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
108
+ _x = self.volume
109
+ buff.write(_get_struct_f().pack(_x))
110
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
111
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
112
+
113
+ def deserialize_numpy(self, str, numpy):
114
+ """
115
+ unpack serialized message in str into this message instance using numpy for array types
116
+ :param str: byte array of serialized message, ``str``
117
+ :param numpy: numpy python module
118
+ """
119
+ if python3:
120
+ codecs.lookup_error("rosmsg").msg_type = self._type
121
+ try:
122
+ end = 0
123
+ start = end
124
+ end += 4
125
+ (length,) = _struct_I.unpack(str[start:end])
126
+ start = end
127
+ end += length
128
+ if python3:
129
+ self.data = str[start:end].decode('utf-8', 'rosmsg')
130
+ else:
131
+ self.data = str[start:end]
132
+ start = end
133
+ end += 4
134
+ (self.volume,) = _get_struct_f().unpack(str[start:end])
135
+ return self
136
+ except struct.error as e:
137
+ raise genpy.DeserializationError(e) # most likely buffer underfill
138
+
139
+ _struct_I = genpy.struct_I
140
+ def _get_struct_I():
141
+ global _struct_I
142
+ return _struct_I
143
+ _struct_f = None
144
+ def _get_struct_f():
145
+ global _struct_f
146
+ if _struct_f is None:
147
+ _struct_f = struct.Struct("<f")
148
+ return _struct_f
149
+ # This Python file uses the following encoding: utf-8
150
+ """autogenerated by genpy from kuavo_msgs/SpeechSynthesisResponse.msg. Do not edit."""
151
+ import codecs
152
+ import sys
153
+ python3 = True if sys.hexversion > 0x03000000 else False
154
+ import genpy
155
+ import struct
156
+
157
+
158
+ class SpeechSynthesisResponse(genpy.Message):
159
+ _md5sum = "358e233cde0c8a8bcfea4ce193f8fc15"
160
+ _type = "kuavo_msgs/SpeechSynthesisResponse"
161
+ _has_header = False # flag to mark the presence of a Header object
162
+ _full_text = """# 响应部分
163
+ bool success
164
+
165
+ """
166
+ __slots__ = ['success']
167
+ _slot_types = ['bool']
168
+
169
+ def __init__(self, *args, **kwds):
170
+ """
171
+ Constructor. Any message fields that are implicitly/explicitly
172
+ set to None will be assigned a default value. The recommend
173
+ use is keyword arguments as this is more robust to future message
174
+ changes. You cannot mix in-order arguments and keyword arguments.
175
+
176
+ The available fields are:
177
+ success
178
+
179
+ :param args: complete set of field values, in .msg order
180
+ :param kwds: use keyword arguments corresponding to message field names
181
+ to set specific fields.
182
+ """
183
+ if args or kwds:
184
+ super(SpeechSynthesisResponse, self).__init__(*args, **kwds)
185
+ # message fields cannot be None, assign default values for those that are
186
+ if self.success is None:
187
+ self.success = False
188
+ else:
189
+ self.success = False
190
+
191
+ def _get_types(self):
192
+ """
193
+ internal API method
194
+ """
195
+ return self._slot_types
196
+
197
+ def serialize(self, buff):
198
+ """
199
+ serialize message into buffer
200
+ :param buff: buffer, ``StringIO``
201
+ """
202
+ try:
203
+ _x = self.success
204
+ buff.write(_get_struct_B().pack(_x))
205
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
206
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
207
+
208
+ def deserialize(self, str):
209
+ """
210
+ unpack serialized message in str into this message instance
211
+ :param str: byte array of serialized message, ``str``
212
+ """
213
+ if python3:
214
+ codecs.lookup_error("rosmsg").msg_type = self._type
215
+ try:
216
+ end = 0
217
+ start = end
218
+ end += 1
219
+ (self.success,) = _get_struct_B().unpack(str[start:end])
220
+ self.success = bool(self.success)
221
+ return self
222
+ except struct.error as e:
223
+ raise genpy.DeserializationError(e) # most likely buffer underfill
224
+
225
+
226
+ def serialize_numpy(self, buff, numpy):
227
+ """
228
+ serialize message with numpy array types into buffer
229
+ :param buff: buffer, ``StringIO``
230
+ :param numpy: numpy python module
231
+ """
232
+ try:
233
+ _x = self.success
234
+ buff.write(_get_struct_B().pack(_x))
235
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
236
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
237
+
238
+ def deserialize_numpy(self, str, numpy):
239
+ """
240
+ unpack serialized message in str into this message instance using numpy for array types
241
+ :param str: byte array of serialized message, ``str``
242
+ :param numpy: numpy python module
243
+ """
244
+ if python3:
245
+ codecs.lookup_error("rosmsg").msg_type = self._type
246
+ try:
247
+ end = 0
248
+ start = end
249
+ end += 1
250
+ (self.success,) = _get_struct_B().unpack(str[start:end])
251
+ self.success = bool(self.success)
252
+ return self
253
+ except struct.error as e:
254
+ raise genpy.DeserializationError(e) # most likely buffer underfill
255
+
256
+ _struct_I = genpy.struct_I
257
+ def _get_struct_I():
258
+ global _struct_I
259
+ return _struct_I
260
+ _struct_B = None
261
+ def _get_struct_B():
262
+ global _struct_B
263
+ if _struct_B is None:
264
+ _struct_B = struct.Struct("<B")
265
+ return _struct_B
266
+ class SpeechSynthesis(object):
267
+ _type = 'kuavo_msgs/SpeechSynthesis'
268
+ _md5sum = 'c2d03ac0ff2ddd1cb86a5148ad0f9d5e'
269
+ _request_class = SpeechSynthesisRequest
270
+ _response_class = SpeechSynthesisResponse
@@ -1,7 +1,10 @@
1
+ from ._SpeechSynthesis import *
1
2
  from ._changeArmCtrlMode import *
3
+ from ._changeArmCtrlModeKuavo import *
2
4
  from ._changeTorsoCtrlMode import *
3
5
  from ._controlLejuClaw import *
4
6
  from ._enableHandTouchSensor import *
7
+ from ._fkSrv import *
5
8
  from ._footPoseTargetTrajectoriesSrv import *
6
9
  from ._gestureExecute import *
7
10
  from ._gestureExecuteState import *
@@ -9,7 +12,9 @@ from ._gestureList import *
9
12
  from ._getCurrentGaitName import *
10
13
  from ._handForceLevel import *
11
14
  from ._jointMoveTo import *
15
+ from ._playmusic import *
12
16
  from ._setHwIntialState import *
13
17
  from ._setMotorEncoderRoundService import *
14
18
  from ._setTagId import *
15
19
  from ._singleStepControl import *
20
+ from ._twoArmHandPoseCmdSrv import *
@@ -1,5 +1,5 @@
1
1
  # This Python file uses the following encoding: utf-8
2
- """autogenerated by genpy from motion_capture_ik/changeArmCtrlModeKuavoRequest.msg. Do not edit."""
2
+ """autogenerated by genpy from kuavo_msgs/changeArmCtrlModeKuavoRequest.msg. Do not edit."""
3
3
  import codecs
4
4
  import sys
5
5
  python3 = True if sys.hexversion > 0x03000000 else False
@@ -9,7 +9,7 @@ import struct
9
9
 
10
10
  class changeArmCtrlModeKuavoRequest(genpy.Message):
11
11
  _md5sum = "14ef2aa2f48bb3f617c9e71fd0bc444e"
12
- _type = "motion_capture_ik/changeArmCtrlModeKuavoRequest"
12
+ _type = "kuavo_msgs/changeArmCtrlModeKuavoRequest"
13
13
  _has_header = False # flag to mark the presence of a Header object
14
14
  _full_text = """bool control_mode
15
15
  """
@@ -114,7 +114,7 @@ def _get_struct_B():
114
114
  _struct_B = struct.Struct("<B")
115
115
  return _struct_B
116
116
  # This Python file uses the following encoding: utf-8
117
- """autogenerated by genpy from motion_capture_ik/changeArmCtrlModeKuavoResponse.msg. Do not edit."""
117
+ """autogenerated by genpy from kuavo_msgs/changeArmCtrlModeKuavoResponse.msg. Do not edit."""
118
118
  import codecs
119
119
  import sys
120
120
  python3 = True if sys.hexversion > 0x03000000 else False
@@ -124,7 +124,7 @@ import struct
124
124
 
125
125
  class changeArmCtrlModeKuavoResponse(genpy.Message):
126
126
  _md5sum = "eb13ac1f1354ccecb7941ee8fa2192e8"
127
- _type = "motion_capture_ik/changeArmCtrlModeKuavoResponse"
127
+ _type = "kuavo_msgs/changeArmCtrlModeKuavoResponse"
128
128
  _has_header = False # flag to mark the presence of a Header object
129
129
  _full_text = """bool result
130
130
 
@@ -230,7 +230,7 @@ def _get_struct_B():
230
230
  _struct_B = struct.Struct("<B")
231
231
  return _struct_B
232
232
  class changeArmCtrlModeKuavo(object):
233
- _type = 'motion_capture_ik/changeArmCtrlModeKuavo'
233
+ _type = 'kuavo_msgs/changeArmCtrlModeKuavo'
234
234
  _md5sum = 'f89438f9d6f48f748eabe64775a22261'
235
235
  _request_class = changeArmCtrlModeKuavoRequest
236
236
  _response_class = changeArmCtrlModeKuavoResponse
@@ -1,5 +1,5 @@
1
1
  # This Python file uses the following encoding: utf-8
2
- """autogenerated by genpy from motion_capture_ik/fkSrvRequest.msg. Do not edit."""
2
+ """autogenerated by genpy from kuavo_msgs/fkSrvRequest.msg. Do not edit."""
3
3
  import codecs
4
4
  import sys
5
5
  python3 = True if sys.hexversion > 0x03000000 else False
@@ -9,7 +9,7 @@ import struct
9
9
 
10
10
  class fkSrvRequest(genpy.Message):
11
11
  _md5sum = "ab94b9bcaaa12f74def43e4b33992df1"
12
- _type = "motion_capture_ik/fkSrvRequest"
12
+ _type = "kuavo_msgs/fkSrvRequest"
13
13
  _has_header = False # flag to mark the presence of a Header object
14
14
  _full_text = """float64[] q # 广义关节角度,如果是虚拟关节ik,则前4维度为躯干虚拟关节的角度,后14维度为手臂关节的角度
15
15
  """
@@ -120,25 +120,25 @@ def _get_struct_I():
120
120
  global _struct_I
121
121
  return _struct_I
122
122
  # This Python file uses the following encoding: utf-8
123
- """autogenerated by genpy from motion_capture_ik/fkSrvResponse.msg. Do not edit."""
123
+ """autogenerated by genpy from kuavo_msgs/fkSrvResponse.msg. Do not edit."""
124
124
  import codecs
125
125
  import sys
126
126
  python3 = True if sys.hexversion > 0x03000000 else False
127
127
  import genpy
128
128
  import struct
129
129
 
130
- import motion_capture_ik.msg
130
+ import kuavo_msgs.msg
131
131
  import std_msgs.msg
132
132
 
133
133
  class fkSrvResponse(genpy.Message):
134
134
  _md5sum = "0989ef9ed6b7b2e5e8a37c79ae6916d9"
135
- _type = "motion_capture_ik/fkSrvResponse"
135
+ _type = "kuavo_msgs/fkSrvResponse"
136
136
  _has_header = False # flag to mark the presence of a Header object
137
137
  _full_text = """bool success
138
138
  twoArmHandPose hand_poses
139
139
 
140
140
  ================================================================================
141
- MSG: motion_capture_ik/twoArmHandPose
141
+ MSG: kuavo_msgs/twoArmHandPose
142
142
  Header header
143
143
  armHandPose left_pose
144
144
  armHandPose right_pose
@@ -159,7 +159,7 @@ time stamp
159
159
  string frame_id
160
160
 
161
161
  ================================================================================
162
- MSG: motion_capture_ik/armHandPose
162
+ MSG: kuavo_msgs/armHandPose
163
163
  float64[3] pos_xyz
164
164
  float64[4] quat_xyzw
165
165
 
@@ -167,7 +167,7 @@ float64[3] elbow_pos_xyz
167
167
 
168
168
  float64[7] joint_angles"""
169
169
  __slots__ = ['success','hand_poses']
170
- _slot_types = ['bool','motion_capture_ik/twoArmHandPose']
170
+ _slot_types = ['bool','kuavo_msgs/twoArmHandPose']
171
171
 
172
172
  def __init__(self, *args, **kwds):
173
173
  """
@@ -189,10 +189,10 @@ float64[7] joint_angles"""
189
189
  if self.success is None:
190
190
  self.success = False
191
191
  if self.hand_poses is None:
192
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
192
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
193
193
  else:
194
194
  self.success = False
195
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
195
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
196
196
 
197
197
  def _get_types(self):
198
198
  """
@@ -234,7 +234,7 @@ float64[7] joint_angles"""
234
234
  codecs.lookup_error("rosmsg").msg_type = self._type
235
235
  try:
236
236
  if self.hand_poses is None:
237
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
237
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
238
238
  end = 0
239
239
  _x = self
240
240
  start = end
@@ -315,7 +315,7 @@ float64[7] joint_angles"""
315
315
  codecs.lookup_error("rosmsg").msg_type = self._type
316
316
  try:
317
317
  if self.hand_poses is None:
318
- self.hand_poses = motion_capture_ik.msg.twoArmHandPose()
318
+ self.hand_poses = kuavo_msgs.msg.twoArmHandPose()
319
319
  end = 0
320
320
  _x = self
321
321
  start = end
@@ -388,7 +388,7 @@ def _get_struct_B3I():
388
388
  _struct_B3I = struct.Struct("<B3I")
389
389
  return _struct_B3I
390
390
  class fkSrv(object):
391
- _type = 'motion_capture_ik/fkSrv'
391
+ _type = 'kuavo_msgs/fkSrv'
392
392
  _md5sum = 'b89cc987a02b6d1c2a1588d5659bf064'
393
393
  _request_class = fkSrvRequest
394
394
  _response_class = fkSrvResponse