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

#include <joint_state.hpp>

List of all members.

Public Member Functions

void bufferize (const sensor_msgs::JointState &js_msg, const std::vector< geometry_msgs::TransformStamped > &tf_transforms)
bool isInitialized () const
bool isSubscribed () const
 JointStateRecorder (const std::string &topic, float buffer_frequency=0)
void reset (boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
void setBufferDuration (float duration)
void subscribe (bool state)
std::string topic () const
void write (const sensor_msgs::JointState &js_msg, const std::vector< geometry_msgs::TransformStamped > &tf_transforms)
void writeDump (const ros::Time &time)

Protected Attributes

float buffer_duration_
float buffer_frequency_
size_t buffer_size_
boost::circular_buffer
< sensor_msgs::JointState > 
bufferJoinState_
boost::circular_buffer
< std::vector
< geometry_msgs::TransformStamped > > 
bufferTF_
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_

Detailed Description

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


Constructor & Destructor Documentation

naoqi::recorder::JointStateRecorder::JointStateRecorder ( const std::string &  topic,
float  buffer_frequency = 0 
)

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


Member Function Documentation

void naoqi::recorder::JointStateRecorder::bufferize ( const sensor_msgs::JointState &  js_msg,
const std::vector< geometry_msgs::TransformStamped > &  tf_transforms 
)

Definition at line 88 of file recorder/joint_state.cpp.

Definition at line 65 of file recorder/joint_state.hpp.

Definition at line 75 of file recorder/joint_state.hpp.

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

Definition at line 69 of file recorder/joint_state.cpp.

Definition at line 104 of file recorder/joint_state.cpp.

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

Definition at line 70 of file recorder/joint_state.hpp.

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

Definition at line 60 of file recorder/joint_state.hpp.

void naoqi::recorder::JointStateRecorder::write ( const sensor_msgs::JointState &  js_msg,
const std::vector< geometry_msgs::TransformStamped > &  tf_transforms 
)

Definition at line 37 of file recorder/joint_state.cpp.

Definition at line 49 of file recorder/joint_state.cpp.


Member Data Documentation

Definition at line 86 of file recorder/joint_state.hpp.

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

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

boost::circular_buffer<sensor_msgs::JointState> naoqi::recorder::JointStateRecorder::bufferJoinState_ [protected]

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

boost::circular_buffer< std::vector<geometry_msgs::TransformStamped> > naoqi::recorder::JointStateRecorder::bufferTF_ [protected]

Definition at line 84 of file recorder/joint_state.hpp.

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

Definition at line 97 of file recorder/joint_state.hpp.

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

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

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

Definition at line 98 of file recorder/joint_state.hpp.

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

Definition at line 81 of file recorder/joint_state.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