From f54ee17ea9a5a6f74a18744900efb55cee73834e 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 --- .../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 b7d95dca5d..97d49adb6a 100644 --- a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py +++ b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py @@ -114,6 +114,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):