Class DiagnosticUpdater
Defined in File updater.h
Inheritance Relationships
Base Type
public diagnostic_updater::Updater
Class Documentation
-
class DiagnosticUpdater : public diagnostic_updater::Updater
Diagnostic updater that automatically sets its Hardware ID to hostname of the machine.
Public Functions
-
explicit DiagnosticUpdater(const ::ros::NodeHandle &h = ::ros::NodeHandle(), const ::ros::NodeHandle &ph = ::ros::NodeHandle("~"), const ::std::string &node_name = ::ros::this_node::getName())
Create the updater.
- Parameters:
h – [in] Node handle to use for publishing to “/diagnostics” topic.
ph – [in] Node handle from which “~diagnostic_period” parameter is read.
node_name – [in] This name is prepended to all status messages.
-
explicit DiagnosticUpdater(const ::ros::NodeHandle &h = ::ros::NodeHandle(), const ::ros::NodeHandle &ph = ::ros::NodeHandle("~"), const ::std::string &node_name = ::ros::this_node::getName())