Public Member Functions | Private Member Functions | Private Attributes | List of all members
buffer::MeasurementBuffer Class Reference

#include <measurement_buffer.hpp>

Public Member Functions

void BufferPCLCloud (const pcl::PointCloud< pcl::PointXYZ > &cloud)
 
void BufferROSCloud (const sensor_msgs::PointCloud2 &cloud)
 
bool ClearAfterReading (void)
 
void GetReadings (std::vector< observation::MeasurementReading > &observations)
 
bool IsEnabled (void) const
 
void Lock (void)
 
 MeasurementBuffer (const std::string &topic_name, const double &observation_keep_time, const double &expected_update_rate, const double &min_obstacle_height, const double &max_obstacle_height, const double &obstacle_range, tf::TransformListener &tf, const std::string &global_frame, const std::string &sensor_frame, const double &tf_tolerance, const double &min_d, const double &max_d, const double &vFOV, const double &vFOVPadding, const double &hFOV, const double &decay_acceleration, const bool &marking, const bool &clearing, const double &voxel_size, const bool &voxel_filter, const bool &enabled, const bool &clear_buffer_after_reading, const ModelType &model_type)
 
void ResetAllMeasurements (void)
 
void ResetLastUpdatedTime (void)
 
void SetEnabled (const bool &enabled)
 
void Unlock (void)
 
bool UpdatedAtExpectedRate (void) const
 
 ~MeasurementBuffer (void)
 

Private Member Functions

void RemoveStaleObservations (void)
 

Private Attributes

bool _clear_buffer_after_reading
 
bool _clearing
 
double _decay_acceleration
 
bool _enabled
 
const ros::Duration _expected_update_rate
 
std::string _global_frame
 
double _horizontal_fov
 
ros::Time _last_updated
 
boost::recursive_mutex _lock
 
bool _marking
 
double _max_obstacle_height
 
double _max_z
 
double _min_obstacle_height
 
double _min_z
 
ModelType _model_type
 
const ros::Duration _observation_keep_time
 
std::list< observation::MeasurementReading_observation_list
 
double _obstacle_range
 
std::string _sensor_frame
 
tf::TransformListener_tf
 
double _tf_tolerance
 
std::string _topic_name
 
double _vertical_fov
 
double _vertical_fov_padding
 
bool _voxel_filter
 
double _voxel_size
 

Detailed Description

Definition at line 71 of file measurement_buffer.hpp.

Constructor & Destructor Documentation

buffer::MeasurementBuffer::MeasurementBuffer ( const std::string &  topic_name,
const double &  observation_keep_time,
const double &  expected_update_rate,
const double &  min_obstacle_height,
const double &  max_obstacle_height,
const double &  obstacle_range,
tf::TransformListener tf,
const std::string &  global_frame,
const std::string &  sensor_frame,
const double &  tf_tolerance,
const double &  min_d,
const double &  max_d,
const double &  vFOV,
const double &  vFOVPadding,
const double &  hFOV,
const double &  decay_acceleration,
const bool &  marking,
const bool &  clearing,
const double &  voxel_size,
const bool &  voxel_filter,
const bool &  enabled,
const bool &  clear_buffer_after_reading,
const ModelType model_type 
)

Definition at line 44 of file measurement_buffer.cpp.

buffer::MeasurementBuffer::~MeasurementBuffer ( void  )

Definition at line 84 of file measurement_buffer.cpp.

Member Function Documentation

void buffer::MeasurementBuffer::BufferPCLCloud ( const pcl::PointCloud< pcl::PointXYZ > &  cloud)

Definition at line 110 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::BufferROSCloud ( const sensor_msgs::PointCloud2 &  cloud)

Definition at line 90 of file measurement_buffer.cpp.

bool buffer::MeasurementBuffer::ClearAfterReading ( void  )

Definition at line 267 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::GetReadings ( std::vector< observation::MeasurementReading > &  observations)

Definition at line 216 of file measurement_buffer.cpp.

bool buffer::MeasurementBuffer::IsEnabled ( void  ) const

Definition at line 294 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::Lock ( void  )

Definition at line 315 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::RemoveStaleObservations ( void  )
private

Definition at line 230 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::ResetAllMeasurements ( void  )

Definition at line 260 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::ResetLastUpdatedTime ( void  )

Definition at line 308 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::SetEnabled ( const bool &  enabled)

Definition at line 301 of file measurement_buffer.cpp.

void buffer::MeasurementBuffer::Unlock ( void  )

Definition at line 322 of file measurement_buffer.cpp.

bool buffer::MeasurementBuffer::UpdatedAtExpectedRate ( void  ) const

Definition at line 274 of file measurement_buffer.cpp.

Member Data Documentation

bool buffer::MeasurementBuffer::_clear_buffer_after_reading
private

Definition at line 134 of file measurement_buffer.hpp.

bool buffer::MeasurementBuffer::_clearing
private

Definition at line 134 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_decay_acceleration
private

Definition at line 133 of file measurement_buffer.hpp.

bool buffer::MeasurementBuffer::_enabled
private

Definition at line 134 of file measurement_buffer.hpp.

const ros::Duration buffer::MeasurementBuffer::_expected_update_rate
private

Definition at line 126 of file measurement_buffer.hpp.

std::string buffer::MeasurementBuffer::_global_frame
private

Definition at line 129 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_horizontal_fov
private

Definition at line 132 of file measurement_buffer.hpp.

ros::Time buffer::MeasurementBuffer::_last_updated
private

Definition at line 128 of file measurement_buffer.hpp.

boost::recursive_mutex buffer::MeasurementBuffer::_lock
private

Definition at line 127 of file measurement_buffer.hpp.

bool buffer::MeasurementBuffer::_marking
private

Definition at line 134 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_max_obstacle_height
private

Definition at line 131 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_max_z
private

Definition at line 132 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_min_obstacle_height
private

Definition at line 131 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_min_z
private

Definition at line 132 of file measurement_buffer.hpp.

ModelType buffer::MeasurementBuffer::_model_type
private

Definition at line 135 of file measurement_buffer.hpp.

const ros::Duration buffer::MeasurementBuffer::_observation_keep_time
private

Definition at line 126 of file measurement_buffer.hpp.

std::list<observation::MeasurementReading> buffer::MeasurementBuffer::_observation_list
private

Definition at line 130 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_obstacle_range
private

Definition at line 131 of file measurement_buffer.hpp.

std::string buffer::MeasurementBuffer::_sensor_frame
private

Definition at line 129 of file measurement_buffer.hpp.

tf::TransformListener& buffer::MeasurementBuffer::_tf
private

Definition at line 125 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_tf_tolerance
private

Definition at line 131 of file measurement_buffer.hpp.

std::string buffer::MeasurementBuffer::_topic_name
private

Definition at line 129 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_vertical_fov
private

Definition at line 132 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_vertical_fov_padding
private

Definition at line 132 of file measurement_buffer.hpp.

bool buffer::MeasurementBuffer::_voxel_filter
private

Definition at line 134 of file measurement_buffer.hpp.

double buffer::MeasurementBuffer::_voxel_size
private

Definition at line 133 of file measurement_buffer.hpp.


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


spatio_temporal_voxel_layer
Author(s):
autogenerated on Sat Dec 21 2019 04:06:19