Skip to content

Commit

Permalink
Fix param name (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit 7acc945)
  • Loading branch information
ahcorde authored and mergify[bot] committed Oct 5, 2023
1 parent b1fa092 commit d4448f3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@ class SimplePublisherPlugin : public point_cloud_transport::PublisherPlugin

std::string param_name = param_base_name + "." + parameter_name;

rcl_interfaces::msg::ParameterDescriptor param_descriptor = parameter_descriptor;
param_descriptor.name = param_name;

simple_impl_->node_->template declare_parameter<T>(
param_name, value, parameter_descriptor);
param_name, value, param_descriptor);
return true;
}
return false;
Expand Down

0 comments on commit d4448f3

Please sign in to comment.