Go to the documentation of this file.
18 #ifndef DIAGNOSTICS_RECORDER_HPP
19 #define DIAGNOSTICS_RECORDER_HPP
24 #include <boost/circular_buffer.hpp>
30 #include "../helpers/recorder_helpers.hpp"
35 #include <diagnostic_msgs/DiagnosticArray.h>
48 void write(diagnostic_msgs::DiagnosticArray&
msg );
58 inline std::string
topic()
const
81 boost::circular_buffer<diagnostic_msgs::DiagnosticArray>
buffer_;
void bufferize(diagnostic_msgs::DiagnosticArray &msg)
bool isInitialized() const
std::string topic() const
bool isSubscribed() const
DiagnosticsRecorder(const std::string &topic, float buffer_frequency=0)
void write(diagnostic_msgs::DiagnosticArray &msg)
void subscribe(bool state)
void writeDump(const ros::Time &time)
boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr_
void setBufferDuration(float duration)
void reset(boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
boost::circular_buffer< diagnostic_msgs::DiagnosticArray > buffer_
naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Feb 3 2024 03:50:06