From 173b69b71efade229905d020ca5ef9e592ea76a5 Mon Sep 17 00:00:00 2001 From: goes Date: Wed, 17 Jul 2024 02:34:43 +0800 Subject: [PATCH] fixed Signed-off-by: goes --- .../src/nav2_rotation_shim_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_rotation_shim_controller/src/nav2_rotation_shim_controller.cpp b/nav2_rotation_shim_controller/src/nav2_rotation_shim_controller.cpp index 95654c3717f..0489a672557 100644 --- a/nav2_rotation_shim_controller/src/nav2_rotation_shim_controller.cpp +++ b/nav2_rotation_shim_controller/src/nav2_rotation_shim_controller.cpp @@ -124,7 +124,7 @@ void RotationShimController::deactivate() primary_controller_->deactivate(); - node_.lock()->remove_on_set_parameters_callback(dyn_params_handler_); + node_.lock()->remove_on_set_parameters_callback(dyn_params_handler_.get()); dyn_params_handler_.reset(); }