From 71987d75e0cce31023f89de452c9b32dafcb35df Mon Sep 17 00:00:00 2001 From: Tiwa Ojo Date: Sat, 28 Sep 2024 16:52:28 +0000 Subject: [PATCH 1/2] fix: added assisted_teleop_client to robot_navigator(BasicNavigator) destroy_node Signed-off-by: Tiwa Ojo --- nav2_simple_commander/nav2_simple_commander/robot_navigator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py index 54d76044331..1449709dbee 100644 --- a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py +++ b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py @@ -136,6 +136,7 @@ def destroy_node(self): self.spin_client.destroy() self.backup_client.destroy() self.drive_on_heading_client.destroy() + self.assisted_teleop_client.destroy() super().destroy_node() def setInitialPose(self, initial_pose): From 2e5802e27452d458eb9370b1972807435daa7b0c Mon Sep 17 00:00:00 2001 From: Tiwa Ojo Date: Tue, 1 Oct 2024 14:30:59 -0400 Subject: [PATCH 2/2] fix: added other missing action clients to robot_navigator(BasicNavigator) destroy_node Signed-off-by: Tiwa Ojo --- nav2_simple_commander/nav2_simple_commander/robot_navigator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py index 1449709dbee..4b604d55613 100644 --- a/nav2_simple_commander/nav2_simple_commander/robot_navigator.py +++ b/nav2_simple_commander/nav2_simple_commander/robot_navigator.py @@ -137,6 +137,9 @@ def destroy_node(self): 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):