Skip to content

Commit d7a0ef1

Browse files
authored
Merge pull request #265 from JdeRobot/fix-real-robots
Add config for real robots
2 parents 1bf9d19 + 44b4253 commit d7a0ef1

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

robotics_application_manager/manager/launcher/launcher_o3de.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from robotics_application_manager import LogManager
1515

1616

17+
1718
class LauncherO3de(ILauncher):
1819
running: bool = False
1920
threads: List[Any] = []

robotics_application_manager/manager/launcher/launcher_tools.py

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

robotics_application_manager/manager/launcher/launcher_world.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,16 @@
4545
}
4646
],
4747
},
48-
"physical": {},
48+
"physical": {
49+
"2": [
50+
{
51+
"type": "real",
52+
"module": "ros2_api",
53+
"parameters": [],
54+
"launch_file": [],
55+
}
56+
],
57+
},
4958
}
5059

5160

0 commit comments

Comments
 (0)