4 #ifndef ROS_INTERFACE_H 5 #define ROS_INTERFACE_H 12 #include <rosmon_msgs/StartStop.h> 21 const std::string& diagnosticsPrefix={}
27 bool handleStartStop(rosmon_msgs::StartStopRequest& req, rosmon_msgs::StartStopResponse& resp);
std::unique_ptr< DiagnosticsPublisher > m_diagnosticsPublisher
ros::ServiceServer m_srv_startStop
ROSInterface(monitor::Monitor *monitor, bool enableDiagnostics=false, const std::string &diagnosticsPrefix={})
monitor::Monitor * m_monitor
bool handleStartStop(rosmon_msgs::StartStopRequest &req, rosmon_msgs::StartStopResponse &resp)
ros::WallTimer m_updateTimer
ros::Publisher m_pub_state
bool m_diagnosticsEnabled