From 1631859ccde511a8f072149086b3c64b2fa89b39 Mon Sep 17 00:00:00 2001 From: Arshad Khan Date: Mon, 15 Jul 2024 15:12:43 -0400 Subject: [PATCH] fix the topics uri in tests --- topological_navigation/test/test_navigationcore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/topological_navigation/test/test_navigationcore.py b/topological_navigation/test/test_navigationcore.py index 6f623af7..884ddda9 100644 --- a/topological_navigation/test/test_navigationcore.py +++ b/topological_navigation/test/test_navigationcore.py @@ -94,8 +94,8 @@ def __init__(self, name='test_node'): def initialize(self): self.topmap_sub = self.create_subscription(String, '/topological_map_2', self.topmap_sub_callback, 1) - self.closest_node_sub = self.create_subscription(String, '/closest_node', self.closest_node_callback, 1) - self.current_node_sub = self.create_subscription(String, '/current_node', self.current_node_callback, 1) + self.closest_node_sub = self.create_subscription(String, 'closest_node', self.closest_node_callback, 1) + self.current_node_sub = self.create_subscription(String, 'current_node', self.current_node_callback, 1) self.ros_spin_thread = Thread(target=lambda node: rclpy.spin(node), args=(self,)) self.ros_spin_thread.start()