Skip to content

Commit 028d953

Browse files
committed
Add config for real robots
1 parent 0f454de commit 028d953

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

manager/manager/launcher/launcher_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class LauncherTools(BaseModel):
8585
def run(self, consumer):
8686
for tool in self.tools:
8787
if tool == "simulator":
88-
if self.world_type is None:
88+
if self.world_type is None or self.world_type == "physical":
8989
continue
9090
tool = simulator[self.world_type]["tool"]
9191
module = tools[tool]

manager/manager/launcher/launcher_world.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,16 @@
4141
}
4242
],
4343
},
44-
"physical": {},
44+
"physical": {
45+
"2": [
46+
{
47+
"type": "real",
48+
"module": "ros2_api",
49+
"parameters": [],
50+
"launch_file": [],
51+
}
52+
],
53+
},
4554
}
4655

4756

0 commit comments

Comments
 (0)