Classes | Namespaces | Enumerations | Functions
status_item.h File Reference
#include <map>
#include <string>
#include <vector>
#include <ros/ros.h>
#include <diagnostic_msgs/DiagnosticStatus.h>
#include <diagnostic_msgs/KeyValue.h>
#include <boost/shared_ptr.hpp>
Include dependency graph for status_item.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  diagnostic_aggregator::StatusItem
 Helper class to hold, store DiagnosticStatus messages. More...
 

Namespaces

 diagnostic_aggregator
 

Enumerations

enum  diagnostic_aggregator::DiagnosticLevel { diagnostic_aggregator::Level_OK = diagnostic_msgs::DiagnosticStatus::OK, diagnostic_aggregator::Level_Warn = diagnostic_msgs::DiagnosticStatus::WARN, diagnostic_aggregator::Level_Error = diagnostic_msgs::DiagnosticStatus::ERROR, diagnostic_aggregator::Level_Stale = 3 }
 Level of StatusItem. OK, Warn, Error, Stale. More...
 

Functions

std::string diagnostic_aggregator::getOutputName (const std::string item_name)
 Replace "/" with "" in output name, to avoid confusing robot monitor. More...
 
std::string diagnostic_aggregator::removeLeadingNameChaff (const std::string &input_name, const std::string &chaff)
 Removes redundant prefixes from status name. More...
 
DiagnosticLevel diagnostic_aggregator::valToLevel (const int val)
 Converts in to DiagnosticLevel. Values: [0, 3]. More...
 
std::string diagnostic_aggregator::valToMsg (const int val)
 Converts int to message {0: 'OK', 1: 'Warning', 2: 'Error', 3: 'Stale' }. More...
 


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Mon Feb 28 2022 22:18:07