From 30a6167b8ee910ebf266a48071a3f4fe468ff2a5 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Cordero Date: Thu, 28 Mar 2024 23:09:35 +0100 Subject: [PATCH] Fixed linter 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_); }