Public Member Functions | Protected Attributes
naoqi::recorder::SonarRecorder Class Reference

#include <sonar.hpp>

List of all members.

Public Member Functions

void bufferize (const std::vector< sensor_msgs::Range > &sonar_msgs)
bool isInitialized () const
bool isSubscribed () const
void reset (boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
void setBufferDuration (float duration)
 SonarRecorder (const std::vector< std::string > &topics, float buffer_frequency=0)
void subscribe (bool state)
std::string topic () const
void write (const std::vector< sensor_msgs::Range > &sonar_msgs)
void writeDump (const ros::Time &time)

Protected Attributes

boost::circular_buffer
< std::vector
< sensor_msgs::Range > > 
buffer_
float buffer_duration_
float buffer_frequency_
size_t buffer_size_
float conv_frequency_
int counter_
boost::shared_ptr
< naoqi::recorder::GlobalRecorder
gr_
bool is_initialized_
bool is_subscribed_
int max_counter_
boost::mutex mutex_
std::string topic_
std::vector< std::string > topics_

Detailed Description

Definition at line 42 of file recorder/sonar.hpp.


Constructor & Destructor Documentation

naoqi::recorder::SonarRecorder::SonarRecorder ( const std::vector< std::string > &  topics,
float  buffer_frequency = 0 
)

Definition at line 28 of file recorder/sonar.cpp.


Member Function Documentation

void naoqi::recorder::SonarRecorder::bufferize ( const std::vector< sensor_msgs::Range > &  sonar_msgs)

Definition at line 82 of file recorder/sonar.cpp.

Definition at line 63 of file recorder/sonar.hpp.

Definition at line 73 of file recorder/sonar.hpp.

void naoqi::recorder::SonarRecorder::reset ( boost::shared_ptr< naoqi::recorder::GlobalRecorder gr,
float  conv_frequency 
)

Definition at line 64 of file recorder/sonar.cpp.

Definition at line 96 of file recorder/sonar.cpp.

void naoqi::recorder::SonarRecorder::subscribe ( bool  state) [inline]

Definition at line 68 of file recorder/sonar.hpp.

std::string naoqi::recorder::SonarRecorder::topic ( ) const [inline]

Definition at line 58 of file recorder/sonar.hpp.

void naoqi::recorder::SonarRecorder::write ( const std::vector< sensor_msgs::Range > &  sonar_msgs)

Definition at line 35 of file recorder/sonar.cpp.

Definition at line 54 of file recorder/sonar.cpp.


Member Data Documentation

boost::circular_buffer< std::vector<sensor_msgs::Range> > naoqi::recorder::SonarRecorder::buffer_ [protected]

Definition at line 81 of file recorder/sonar.hpp.

Definition at line 83 of file recorder/sonar.hpp.

Definition at line 93 of file recorder/sonar.hpp.

Definition at line 82 of file recorder/sonar.hpp.

Definition at line 94 of file recorder/sonar.hpp.

Definition at line 95 of file recorder/sonar.hpp.

Definition at line 90 of file recorder/sonar.hpp.

Definition at line 87 of file recorder/sonar.hpp.

Definition at line 88 of file recorder/sonar.hpp.

Definition at line 96 of file recorder/sonar.hpp.

boost::mutex naoqi::recorder::SonarRecorder::mutex_ [protected]

Definition at line 85 of file recorder/sonar.hpp.

std::string naoqi::recorder::SonarRecorder::topic_ [protected]

Definition at line 79 of file recorder/sonar.hpp.

std::vector<std::string> naoqi::recorder::SonarRecorder::topics_ [protected]

Definition at line 91 of file recorder/sonar.hpp.


The documentation for this class was generated from the following files:


naoqi_driver
Author(s): Karsten Knese
autogenerated on Tue Jul 9 2019 03:21:57