diff --git a/include/control_toolbox/pid_ros.hpp b/include/control_toolbox/pid_ros.hpp index 71f55e6..96e14af 100644 --- a/include/control_toolbox/pid_ros.hpp +++ b/include/control_toolbox/pid_ros.hpp @@ -123,13 +123,13 @@ class CONTROL_TOOLBOX_PUBLIC PidROS * \brief Initialize the PID controller based on already set parameters * \return True if all parameters are set (p, i, d, i_min and i_max), False otherwise */ - bool init_pid(); + bool initialize(); /*! * \brief Initialize the PID controller based on already set parameters * \return True if all parameters are set (p, i, d, i_min and i_max), False otherwise */ - [[deprecated("Use init_pid() instead")]] bool initPid() { + [[deprecated("Use initialize() instead")]] bool initPid() { return initialize(); }