dexcontrol 0.3.1__py3-none-any.whl → 0.3.2__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 dexcontrol might be problematic. Click here for more details.

dexcontrol/core/arm.py CHANGED
@@ -140,7 +140,7 @@ class Arm(RobotJointComponent):
140
140
  call_service(
141
141
  self._mode_query_topic,
142
142
  request=query_msg,
143
- timeout=0.05,
143
+ timeout=3.0,
144
144
  config=get_zenoh_config_path(),
145
145
  request_serializer=lambda x: x.SerializeToString(),
146
146
  response_deserializer=None,
@@ -145,11 +145,11 @@ class RobotQueryInterface:
145
145
  logger.warning(f"Invalid hand type format received: {hand_info}")
146
146
 
147
147
  # If no valid response received, assume v1 for backward compatibility
148
- return {"left": HandType.HandF5D6_V1, "right": HandType.HandF5D6_V1}
148
+ return {"left": HandType.UNKNOWN, "right": HandType.UNKNOWN}
149
149
 
150
150
  except Exception as e:
151
- logger.warning(f"Failed to query hand type: {e}. Assuming v1 hand types.")
152
- return {"left": HandType.HandF5D6_V1, "right": HandType.HandF5D6_V1}
151
+ logger.warning(f"Failed to query hand type: {e}. V1 hand type unknown.")
152
+ return {"left": HandType.UNKNOWN, "right": HandType.UNKNOWN}
153
153
 
154
154
  def query_ntp(
155
155
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dexcontrol
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: A Python library of Sensing and Control for Dexmate's Robot
5
5
  Project-URL: Repository, https://github.com/dexmate-ai/dexcontrol
6
6
  Author-email: Dexmate <contact@dexmate.ai>
@@ -27,13 +27,13 @@ dexcontrol/config/sensors/lidar/rplidar.py,sha256=ybuT_f1ADWF3oGH1gi6D2F80TbJEm4
27
27
  dexcontrol/config/sensors/ultrasonic/__init__.py,sha256=-q83RhIMZJGVFVPYaA4hOugoG6wZw8EL6wJg7-HTSxU,294
28
28
  dexcontrol/config/sensors/ultrasonic/ultrasonic.py,sha256=7b4dm1QOhy5_5RFVpY-frXZyDzqok0K1u7ed9gf3PL0,552
29
29
  dexcontrol/core/__init__.py,sha256=bYPMLxbbn5QeuPyA6OPGDS2JTYpnVvaZJT8PeILFjQY,252
30
- dexcontrol/core/arm.py,sha256=j7uffgdQ_6gaavRE8WOVs56n5e3f_-6CrhRkSiNriRE,16231
30
+ dexcontrol/core/arm.py,sha256=4T6s3WuzX7udq2RqesZkZ3KVq4ANmnJnvDFaLqR0X8k,16230
31
31
  dexcontrol/core/chassis.py,sha256=cxiZv86v9vWSGoWJLZZFn-vEo4OCDlh5S-J9Z0iED0c,24189
32
32
  dexcontrol/core/component.py,sha256=J7TscC7u4io38gS9SNaRvnBBH48LgKF6dRbSeHzl2Vk,36346
33
33
  dexcontrol/core/hand.py,sha256=yRimScGR0wdL6nPaoEO2M1okc7tYBXMIwriLjpOs35g,9596
34
34
  dexcontrol/core/head.py,sha256=Dd-Wk4-BiUM8q9LnTU017fijCwDT9QhFsU4v9Hqeo-E,9932
35
35
  dexcontrol/core/misc.py,sha256=nCY-rOslBZyx1w7QUfu6M7VZvMeiTfWg2eFTjYAbI-M,30809
36
- dexcontrol/core/robot_query_interface.py,sha256=fccYDYK1zd6AqftEU46gbpsIZginRj_RDmvKa3DoSC8,17506
36
+ dexcontrol/core/robot_query_interface.py,sha256=JrZRH0YcOoFHHVjElxmesvOfjKv6YwzsbECLBudvOBk,17488
37
37
  dexcontrol/core/torso.py,sha256=xOLfhivwNM-JR8nw6Lg1FdctXlmX-qvjD2nUgHm5iKw,8762
38
38
  dexcontrol/proto/dexcontrol_msg_pb2.py,sha256=pIbSlweIVSU3hN13kZxPycySU_OYXPoHRuDh7NIBXho,5289
39
39
  dexcontrol/proto/dexcontrol_msg_pb2.pyi,sha256=1KpTJnLq6KG2eijZ_vlFq1JsTPeCeLz1IdmoUhW6Tec,8722
@@ -62,7 +62,7 @@ dexcontrol/utils/pb_utils.py,sha256=zN4pMS9GV9OTj1TmhcWTaDmfmgttyIDFJEuOE5tbCS0,
62
62
  dexcontrol/utils/timer.py,sha256=1sOYYEapbZ5aBqJwknClsxgjDx0FDRQuGEdcTGnYTCI,3948
63
63
  dexcontrol/utils/trajectory_utils.py,sha256=TURFb0DeDey0416z4L7AXiWcKJYsgg_bB5AE_JPSpXY,1879
64
64
  dexcontrol/utils/viz_utils.py,sha256=rKtZfu32-9D9CS4cSiil-oLub_MiKTJV6hURvJbKd0s,6295
65
- dexcontrol-0.3.1.dist-info/METADATA,sha256=-otrrBbT0NmHoVdhTJBMgfH34R93nxQpgtkhuFHOwRc,37269
66
- dexcontrol-0.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
67
- dexcontrol-0.3.1.dist-info/licenses/LICENSE,sha256=0J2KCMNNnW5WZPK5x8xUiCxApBf7h83693ggSJYiue0,31745
68
- dexcontrol-0.3.1.dist-info/RECORD,,
65
+ dexcontrol-0.3.2.dist-info/METADATA,sha256=DgATx_wkGCMVaJ6uuJOJYgVEGjeslTfRuSOrPqQY3A8,37269
66
+ dexcontrol-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
67
+ dexcontrol-0.3.2.dist-info/licenses/LICENSE,sha256=0J2KCMNNnW5WZPK5x8xUiCxApBf7h83693ggSJYiue0,31745
68
+ dexcontrol-0.3.2.dist-info/RECORD,,