Public Types | Public Member Functions | Public Attributes | Protected Attributes
FilterTableAlgorithm Class Reference

IRI ROS Specific Driver Class. More...

#include <filter_table_alg.h>

List of all members.

Public Types

typedef
iri_filter_table::FilterTableConfig 
Config
 define config type

Public Member Functions

void config_update (Config &new_cfg, uint32_t level=0)
 config update
pcl::PointCloud
< pcl::PointXYZRGB >::Ptr 
filter_table (const sensor_msgs::PointCloud2::ConstPtr &cloud_blob)
 FilterTableAlgorithm (void)
 constructor
void lock (void)
 Lock Algorithm.
float set_filter_final_ratio (float filter_final_ratio)
float set_max_z (float max_z)
float set_rad_radius_search (float rad_radius_search)
float set_sac_dist_thr (float sac_dist_thr)
bool try_enter (void)
 Tries Access to Algorithm.
void unlock (void)
 Unlock Algorithm.
 ~FilterTableAlgorithm (void)
 Destructor.

Public Attributes

Config config_
 config variable

Protected Attributes

CMutex alg_mutex_
 define config type
float filter_final_ratio_
float max_z_
float rad_radius_search_
float sac_dist_thr_

Detailed Description

IRI ROS Specific Driver Class.

Definition at line 51 of file filter_table_alg.h.


Member Typedef Documentation

typedef iri_filter_table::FilterTableConfig FilterTableAlgorithm::Config

define config type

Define a Config type with the FilterTableConfig. All driver implementations will then use the same variable type Config.

Definition at line 75 of file filter_table_alg.h.


Constructor & Destructor Documentation

constructor

In this constructor parameters related to the specific driver can be initalized. Those parameters can be also set in the openDriver() function. Attributes from the main node driver class IriBaseDriver such as loop_rate, may be also overload here.

Definition at line 3 of file filter_table_alg.cpp.

Destructor.

This destructor is called when the object is about to be destroyed.

Definition at line 11 of file filter_table_alg.cpp.


Member Function Documentation

void FilterTableAlgorithm::config_update ( Config new_cfg,
uint32_t  level = 0 
)

config update

In this function the driver parameters must be updated with the input config variable. Then the new configuration state will be stored in the Config attribute.

Parameters:
new_cfgthe new driver configuration state
levellevel in which the update is taken place

Definition at line 15 of file filter_table_alg.cpp.

pcl::PointCloud< pcl::PointXYZRGB >::Ptr FilterTableAlgorithm::filter_table ( const sensor_msgs::PointCloud2::ConstPtr &  cloud_blob)

Definition at line 44 of file filter_table_alg.cpp.

void FilterTableAlgorithm::lock ( void  ) [inline]

Lock Algorithm.

Locks access to the Algorithm class

Definition at line 100 of file filter_table_alg.h.

float FilterTableAlgorithm::set_filter_final_ratio ( float  filter_final_ratio) [inline]

Definition at line 145 of file filter_table_alg.h.

float FilterTableAlgorithm::set_max_z ( float  max_z) [inline]

Definition at line 133 of file filter_table_alg.h.

float FilterTableAlgorithm::set_rad_radius_search ( float  rad_radius_search) [inline]

Definition at line 151 of file filter_table_alg.h.

float FilterTableAlgorithm::set_sac_dist_thr ( float  sac_dist_thr) [inline]

Definition at line 139 of file filter_table_alg.h.

Tries Access to Algorithm.

Tries access to Algorithm

Returns:
true if the lock was adquired, false otherwise

Definition at line 116 of file filter_table_alg.h.

void FilterTableAlgorithm::unlock ( void  ) [inline]

Unlock Algorithm.

Unlocks access to the Algorithm class

Definition at line 107 of file filter_table_alg.h.


Member Data Documentation

define config type

Define a Config type with the FilterTableConfig. All driver implementations will then use the same variable type Config.

Definition at line 60 of file filter_table_alg.h.

config variable

This variable has all the driver parameters defined in the cfg config file. Is updated everytime function config_update() is called.

Definition at line 83 of file filter_table_alg.h.

Definition at line 65 of file filter_table_alg.h.

float FilterTableAlgorithm::max_z_ [protected]

Definition at line 63 of file filter_table_alg.h.

Definition at line 66 of file filter_table_alg.h.

Definition at line 64 of file filter_table_alg.h.


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


iri_filter_table
Author(s): Arnau Ramisa
autogenerated on Fri Dec 6 2013 21:38:36