From b2d436f024d1003ea57d9f8f6ff88ddde0f3c9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mayoral=20Vilches?= Date: Sat, 30 Mar 2019 11:14:54 +0100 Subject: [PATCH] Comply partially with review request https://github.com/ros-planning/moveit2/pull/8#pullrequestreview-215754547 --- .../include/moveit/kinematics_base/kinematics_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moveit_core/kinematics_base/include/moveit/kinematics_base/kinematics_base.h b/moveit_core/kinematics_base/include/moveit/kinematics_base/kinematics_base.h index 1c86dd5913..e0b18cc7e8 100644 --- a/moveit_core/kinematics_base/include/moveit/kinematics_base/kinematics_base.h +++ b/moveit_core/kinematics_base/include/moveit/kinematics_base/kinematics_base.h @@ -617,7 +617,7 @@ class KinematicsBase { auto node = rclcpp::Node::make_shared("lookup_param"); rclcpp::SyncParametersClient parameters_lookup(node); - auto groupname_param = parameters_lookup.get_parameters({ group_name_ + "/" + param }); + std::vector groupname_param = parameters_lookup.get_parameters({ group_name_ + "/" + param }); for (auto& parameter : groupname_param) { @@ -628,7 +628,7 @@ class KinematicsBase } } - auto only_param = parameters_lookup.get_parameters({ param }); + auto only_param = parameters_lookup.get_parameters({ param }); for (auto& parameter : only_param) { if (!parameter.get_name().compare(param))