diff --git a/include/control_filters/gravity_compensation.hpp b/include/control_filters/gravity_compensation.hpp index 199211e7..135ad199 100644 --- a/include/control_filters/gravity_compensation.hpp +++ b/include/control_filters/gravity_compensation.hpp @@ -106,7 +106,8 @@ bool GravityCompensation::configure() try { parameter_handler_ = - std::make_shared(this->params_interface_); + std::make_shared(this->params_interface_, + this->param_prefix_); } catch (rclcpp::exceptions::ParameterUninitializedException & ex) { RCLCPP_ERROR((*logger_), "GravityCompensation filter cannot be configured: %s", ex.what());