将joint_republisher和resource_mesh_manager添加进 main_slave_run.py中

This commit is contained in:
zhangshixiang
2025-05-02 23:45:43 +08:00
parent 5668310401
commit 80380d1f4b
4 changed files with 32 additions and 4036 deletions

View File

@@ -12,6 +12,8 @@ def start_backend(
controllers_config: dict = {},
bridges=[],
without_host: bool = False,
visual: str = "None",
resources_mesh_config: dict = {},
**kwargs
):
if backend == "ros":
@@ -29,7 +31,7 @@ def start_backend(
backend_thread = threading.Thread(
target=main if not without_host else slave,
args=(devices_config, resources_config, graph, controllers_config, bridges),
args=(devices_config, resources_config, graph, controllers_config, bridges, visual, resources_mesh_config),
name="backend_thread",
daemon=True,
)