Skip to content

Commit

Permalink
Comply partially with review request
Browse files Browse the repository at this point in the history
  • Loading branch information
vmayoral committed Mar 30, 2019
1 parent 7f706b5 commit b2d436f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<rclcpp::Parameter> groupname_param = parameters_lookup.get_parameters({ group_name_ + "/" + param });

for (auto& parameter : groupname_param)
{
Expand All @@ -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))
Expand Down

0 comments on commit b2d436f

Please sign in to comment.