Skip to content

Commit

Permalink
fix the topics uri in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arsh09 committed Jul 15, 2024
1 parent 3f0df74 commit 1631859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topological_navigation/test/test_navigationcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1631859

Please sign in to comment.