Simplified ros topic filter
Build Docs / build (push) Failing after 44s
Details
Build Docs / build (push) Failing after 44s
Details
This commit is contained in:
parent
f035a09321
commit
af170070ab
|
@ -139,7 +139,7 @@ class Robot:
|
||||||
scroll_area.clear()
|
scroll_area.clear()
|
||||||
#Filter for topics that start with self.robot_name
|
#Filter for topics that start with self.robot_name
|
||||||
for topic in node_dummy.get_topic_names_and_types():
|
for topic in node_dummy.get_topic_names_and_types():
|
||||||
if topic[0].startswith(f"/{self.robot_name}/") or topic[0].startswith(f"/world/{self.world_name}/model/{self.robot_name}/"):
|
if self.robot_name in topic[0]:
|
||||||
ui.label(topic[0])
|
ui.label(topic[0])
|
||||||
await asyncio.sleep(10)
|
await asyncio.sleep(10)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue