From c382a53da4b9053367d0e458c7293f6457002931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Thu, 28 Mar 2024 23:23:51 +0100 Subject: [PATCH] Fixed linter (#264) Signed-off-by: Alejandro Hernandez Cordero --- gz_ros2_control/src/gz_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gz_ros2_control/src/gz_system.cpp b/gz_ros2_control/src/gz_system.cpp index 231d1424..519dfefa 100644 --- a/gz_ros2_control/src/gz_system.cpp +++ b/gz_ros2_control/src/gz_system.cpp @@ -238,7 +238,7 @@ bool GazeboSimSystem::initSim( try { this->dataPtr->position_proportional_gain_ = this->nh_->declare_parameter( "position_proportional_gain", default_gain); - } catch (rclcpp::exceptions::ParameterAlreadyDeclaredException & ex) { + } catch (rclcpp::exceptions::ParameterAlreadyDeclaredException & ex) { this->nh_->get_parameter( "position_proportional_gain", this->dataPtr->position_proportional_gain_); }