Skip to content

Commit

Permalink
added '/' in the topic name for current and closest node in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
arsh09 committed Jul 12, 2024
1 parent 02f0d9d commit 3f0df74
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 3f0df74

Please sign in to comment.