From 6c17540827d24f48e530c481ed2f5d020b73daab Mon Sep 17 00:00:00 2001 From: Tiwa Ojo <55967921+tiwaojo@users.noreply.github.com> Date: Tue, 1 Oct 2024 18:13:50 -0400 Subject: [PATCH] Added missing action clients in robot_navigator(BasicNavigator) to destroy_node (#4698) * fix: added assisted_teleop_client to robot_navigator(BasicNavigator) destroy_node Signed-off-by: Tiwa Ojo * fix: added other missing action clients to robot_navigator(BasicNavigator) destroy_node Signed-off-by: Tiwa Ojo --------- Signed-off-by: Tiwa Ojo Signed-off-by: Tony Najjar --- .../nav2_simple_commander/robot_navigator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py index 54d76044331..4b604d55613 100644 --- a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py +++ b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py @@ -136,6 +136,10 @@ def destroy_node(self): self.spin_client.destroy() self.backup_client.destroy() self.drive_on_heading_client.destroy() + self.assisted_teleop_client.destroy() + self.follow_gps_waypoints_client.destroy() + self.docking_client.destroy() + self.undocking_client.destroy() super().destroy_node() def setInitialPose(self, initial_pose):