Skip to content

Commit

Permalink
Fix diagnostics Updater constructor NodeHandle documentation (#234)
Browse files Browse the repository at this point in the history
Previously the documentation mistakenly stated the argument `h` was used for getting the `diagnostic_period` parameter. I fixed the documentation.
  • Loading branch information
Roboterbastler authored Aug 1, 2022
1 parent dbc73ff commit d27f3ff
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,10 @@ namespace diagnostic_updater
/**
* \brief Constructs an updater class.
*
* \param h Node handle from which to get the diagnostic_period
* \param h Node handle used to publish the diagnostics messages.
* \param ph Node handle from which to get the diagnostic_period
* parameter.
* \param node_name Name of the node used in the messages.
*/
Updater(ros::NodeHandle h = ros::NodeHandle(), ros::NodeHandle ph = ros::NodeHandle("~"), std::string node_name = ros::this_node::getName()) : private_node_handle_(ph), node_handle_(h), node_name_(node_name)
{
Expand Down

0 comments on commit d27f3ff

Please sign in to comment.