Go to the documentation of this file.
42 int main(
int argc,
char **argv)
44 ros::init(argc, argv,
"diagnostic_aggregator");
60 ROS_FATAL(
"Diagnostic aggregator node caught exception. Aborting. %s", e.what());
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
double getPubRate() const
Publish rate defaults to 1Hz, but can be set with ~pub_rate param.
ROSCPP_DECL void spinOnce()
bool ok() const
True if the NodeHandle reports OK.
void publishData()
Processes, publishes data. Should be called at pub_rate.
Aggregator processes /diagnostics, republishes on /diagnostics_agg.
int main(int argc, char **argv)