Skip to content

Commit

Permalink
Add getParametersCallbackHandle function
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjunnn authored and bmagyar committed May 6, 2022
1 parent 1d63ea2 commit 3e389b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/control_toolbox/pid_ros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,16 @@ class CONTROL_TOOLBOX_PUBLIC PidROS
*/
void printValues();

/*!
* \brief Return PID parameters callback handle
* \return shared_ptr to the PID parameters callback handle
*/
inline rclcpp::node_interfaces::OnSetParametersCallbackHandle::SharedPtr
getParametersCallbackHandle()
{
return parameter_callback_;
}

private:
void setParameterEventCallback();

Expand Down

0 comments on commit 3e389b9

Please sign in to comment.