hex-zmq-servers 0.3.4__py3-none-any.whl → 0.3.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.
- hex_zmq_servers/hex_launch.py +8 -3
- hex_zmq_servers/robot/hexarm/robot_hexarm.py +0 -1
- {hex_zmq_servers-0.3.4.dist-info → hex_zmq_servers-0.3.5.dist-info}/METADATA +1 -1
- {hex_zmq_servers-0.3.4.dist-info → hex_zmq_servers-0.3.5.dist-info}/RECORD +7 -7
- {hex_zmq_servers-0.3.4.dist-info → hex_zmq_servers-0.3.5.dist-info}/WHEEL +0 -0
- {hex_zmq_servers-0.3.4.dist-info → hex_zmq_servers-0.3.5.dist-info}/licenses/LICENSE +0 -0
- {hex_zmq_servers-0.3.4.dist-info → hex_zmq_servers-0.3.5.dist-info}/top_level.txt +0 -0
hex_zmq_servers/hex_launch.py
CHANGED
|
@@ -124,7 +124,7 @@ class HexNodeConfig():
|
|
|
124
124
|
launch_path_dict: dict,
|
|
125
125
|
) -> HexNodeConfig:
|
|
126
126
|
cfg_list = []
|
|
127
|
-
for launch_name, launch_path in launch_path_dict.items():
|
|
127
|
+
for launch_name, (launch_path, launch_arg) in launch_path_dict.items():
|
|
128
128
|
node_default_params_dict = launch_default_params_dict.get(
|
|
129
129
|
launch_name, {})
|
|
130
130
|
|
|
@@ -146,6 +146,7 @@ class HexNodeConfig():
|
|
|
146
146
|
HexNodeConfig.get_node_cfgs_from_launch(
|
|
147
147
|
launch_path,
|
|
148
148
|
launch_update_cfg,
|
|
149
|
+
launch_arg,
|
|
149
150
|
))
|
|
150
151
|
|
|
151
152
|
final_cfg = HexNodeConfig()
|
|
@@ -159,6 +160,7 @@ class HexNodeConfig():
|
|
|
159
160
|
def get_node_cfgs_from_launch(
|
|
160
161
|
launch_path: str,
|
|
161
162
|
params: dict | HexNodeConfig = {},
|
|
163
|
+
launch_arg: dict | None = None,
|
|
162
164
|
) -> HexNodeConfig:
|
|
163
165
|
# normalize the path
|
|
164
166
|
launch_path = os.path.abspath(launch_path)
|
|
@@ -185,10 +187,13 @@ class HexNodeConfig():
|
|
|
185
187
|
get_node_cfgs_func = getattr(launch_module, "get_node_cfgs")
|
|
186
188
|
if isinstance(params, dict):
|
|
187
189
|
print("params is dict")
|
|
188
|
-
node_cfgs = get_node_cfgs_func(params)
|
|
190
|
+
node_cfgs = get_node_cfgs_func(params, launch_arg)
|
|
189
191
|
elif isinstance(params, HexNodeConfig):
|
|
190
192
|
print("params is HexNodeConfig")
|
|
191
|
-
node_cfgs = get_node_cfgs_func(
|
|
193
|
+
node_cfgs = get_node_cfgs_func(
|
|
194
|
+
params.get_cfgs(use_list=False),
|
|
195
|
+
launch_arg,
|
|
196
|
+
)
|
|
192
197
|
else:
|
|
193
198
|
raise ValueError(f"Invalid params: {params}")
|
|
194
199
|
return node_cfgs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
hex_zmq_servers/__init__.py,sha256=1dnB9YTRq5uAFHo_3dMp1t1UxS4ZrcuZ_7CzBwqAfEM,5426
|
|
2
2
|
hex_zmq_servers/device_base.py,sha256=dABpeUg84Au-vtbVzvnv1Tmn_898CNOkIvH2UDUnV3I,1191
|
|
3
|
-
hex_zmq_servers/hex_launch.py,sha256=
|
|
3
|
+
hex_zmq_servers/hex_launch.py,sha256=x-xCBhpjgK6yWHGk5o5kYsb5ef2GsdeLr8rX59EJR-0,17700
|
|
4
4
|
hex_zmq_servers/zmq_base.py,sha256=RFRvl95oci6d-urP5n-qGDh5090pZ5q7Oy8_vNPqJxI,16380
|
|
5
5
|
hex_zmq_servers/cam/__init__.py,sha256=hZ4NTEaO9uxcBua-nyJTpXxmk_GiIAcK2uWz3QQbwvE,1408
|
|
6
6
|
hex_zmq_servers/cam/cam_base.py,sha256=3INQUYzzue4B0EiLEuo8IZDfLTifjmqXpXIkPaNA7dY,5134
|
|
@@ -90,7 +90,7 @@ hex_zmq_servers/robot/gello/robot_gello.py,sha256=DyMELg490HykRYdbs4QVluR8oC7KAY
|
|
|
90
90
|
hex_zmq_servers/robot/gello/robot_gello_cli.py,sha256=wnbRVrpIEE8G4ZzfjuSJA5TMPig-2I1oLJE-6b0kFSY,699
|
|
91
91
|
hex_zmq_servers/robot/gello/robot_gello_srv.py,sha256=vCWgKpsO4MhZLspdaG45uHj8EB0gnptuj2SuxCaoEVI,2841
|
|
92
92
|
hex_zmq_servers/robot/hexarm/__init__.py,sha256=07EUc2fCKqxYZbUUcDeD_AXvCAWI6r1qBjpWJ58_AcY,1414
|
|
93
|
-
hex_zmq_servers/robot/hexarm/robot_hexarm.py,sha256
|
|
93
|
+
hex_zmq_servers/robot/hexarm/robot_hexarm.py,sha256=-i8cB-FuW0X3k9MmGujz3MwmZ-usHjq6uiox6ox6bGk,10340
|
|
94
94
|
hex_zmq_servers/robot/hexarm/robot_hexarm_cli.py,sha256=KO-I_CCjWwdckRKlxX7gIxUgsUKW3rcOycBo1nAxFEY,852
|
|
95
95
|
hex_zmq_servers/robot/hexarm/robot_hexarm_srv.py,sha256=PE_WyLRXV_DbYVVQ0Wd60KlZZ37vfoEJVEhf2_4xADQ,2759
|
|
96
96
|
hex_zmq_servers/robot/hexarm/urdf/archer_l6y/empty.urdf,sha256=g7Yn_uIM_ddb_K32FnDgHWSsvxH08oaPDiMb0yUb0Lg,7808
|
|
@@ -103,8 +103,8 @@ hex_zmq_servers/robot/hexarm/urdf/archer_y6/gp100.urdf,sha256=i8vpARxlQpYskLmTZ7
|
|
|
103
103
|
hex_zmq_servers/robot/hexarm/urdf/archer_y6/gp100_handle.urdf,sha256=Tpii1Wk26jRtMqLWI2knrqBTIh7hCjpgGySlrBgdvpA,7458
|
|
104
104
|
hex_zmq_servers/robot/hexarm/urdf/archer_y6/gp100_p050.urdf,sha256=6Zzc_PXDwtxw9xQEXQOH0hu_moaiQzeMC22hUqAQS9s,7459
|
|
105
105
|
hex_zmq_servers/robot/hexarm/urdf/archer_y6/gp100_p050_handle.urdf,sha256=HNa7wweNYUj8YtSUfx87ASeNEIPIjB-gZ4O7RyHng6g,7456
|
|
106
|
-
hex_zmq_servers-0.3.
|
|
107
|
-
hex_zmq_servers-0.3.
|
|
108
|
-
hex_zmq_servers-0.3.
|
|
109
|
-
hex_zmq_servers-0.3.
|
|
110
|
-
hex_zmq_servers-0.3.
|
|
106
|
+
hex_zmq_servers-0.3.5.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
107
|
+
hex_zmq_servers-0.3.5.dist-info/METADATA,sha256=pWHyhtxeT55koaopjmfwVYepxshDRCZl_O25MAalIUs,4750
|
|
108
|
+
hex_zmq_servers-0.3.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
109
|
+
hex_zmq_servers-0.3.5.dist-info/top_level.txt,sha256=lPH1DfgMrQOe0Grh8zSZopf6LmnLvb_aStVmZ41PyAg,16
|
|
110
|
+
hex_zmq_servers-0.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|