Also show model topics in rot_topics tab
Build Docs / build (push) Failing after 45s
Details
Build Docs / build (push) Failing after 45s
Details
This commit is contained in:
parent
5bebe95492
commit
d5c0b68ceb
|
@ -89,6 +89,7 @@ class Robot:
|
|||
robots.add(self)
|
||||
#Ros doesn't like dashes in node names
|
||||
self.robot_name = f"{self.robot_type}_{self.sysid}".replace("-","_")
|
||||
self.world_name = "citadel_hill"
|
||||
|
||||
async def ui_containers(self, element):
|
||||
docker_elements = {}
|
||||
|
@ -137,7 +138,7 @@ class Robot:
|
|||
scroll_area.clear()
|
||||
#Filter for topics that start with self.robot_name
|
||||
for topic in node_dummy.get_topic_names_and_types():
|
||||
if topic[0].startswith(f"/{self.robot_name}/"):
|
||||
if topic[0].startswith(f"/{self.robot_name}/") or topic[0].startswith(f"/world/{self.world_name}/model/{self.robot_name}/"):
|
||||
ui.label(topic[0])
|
||||
await asyncio.sleep(10)
|
||||
|
||||
|
|
Loading…
Reference in New Issue