#include <pcdfilter_pa_node.h>
Public Member Functions | |
cPcdFilterPaNode () | |
default constructor | |
~cPcdFilterPaNode () | |
default destructor | |
Protected Member Functions | |
void | addFilters (const std::vector< std::string > &new_filters) |
function for adding several filters and giving feedback | |
bool | addFiltersCallbackSrv (pcdfilter_pa::PcdFilterPaFilter::Request &req, pcdfilter_pa::PcdFilterPaFilter::Response &res) |
callback function for adding additional filters | |
bool | changeFiltersCallbackSrv (pcdfilter_pa::PcdFilterPaFilter::Request &req, pcdfilter_pa::PcdFilterPaFilter::Response &res) |
callback function for changing filters | |
bool | disableCallbackSrv (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
callback function for disabling filter node | |
bool | enableCallbackSrv (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
callback function for enabling filter node | |
bool | filterCallbackSrv (pcdfilter_pa::PcdFilterPaCloud::Request &req, pcdfilter_pa::PcdFilterPaCloud::Response &res) |
callback function for filtering via service | |
void | setCloudCallbackSub (const sensor_msgs::PointCloud2ConstPtr &msg) |
callback function for receiving a pointcloud | |
void | setCloudLaserCallbackSub (const sensor_msgs::LaserScanConstPtr &msg) |
callback function for receiving a laserscan | |
void | setCloudOldCallbackSub (const sensor_msgs::PointCloudConstPtr &msg) |
callback function for receiving a pointcloud (old format) | |
Protected Attributes | |
ros::NodeHandle | nh_ |
node handler for topic subscription and advertising | |
cPcdFilterPaNodeParameter | nodeparams_ |
ros specific variables, which will be read from Parameterserver | |
ros::Publisher | pub_pcd_ |
publisher for filtered pointcloud | |
ros::ServiceServer | ser_add_filters_ |
service for adding additional filters | |
ros::ServiceServer | ser_change_filters_ |
service for changing filters | |
ros::ServiceServer | ser_disable_ |
service for disabling node | |
ros::ServiceServer | ser_enable_ |
service for enabling node | |
ros::ServiceServer | ser_filter_ |
service for filtering | |
ros::Subscriber | sub_laser_ |
subscriber for a laserscan | |
ros::Subscriber | sub_pcd_ |
subscriber for a pointcloud | |
ros::Subscriber | sub_pcd_old_ |
subscriber for a pointcloud (old format) | |
tf::TransformListener | tf_listener_ |
for getting all necessary tfs | |
Private Member Functions | |
void | disable (void) |
function for deactivating this node (disabling inputs) | |
void | enable (void) |
function for activating this node (enabling inputs) |
Definition at line 73 of file pcdfilter_pa_node.h.
default constructor
Definition at line 68 of file pcdfilter_pa_node.cpp.
default destructor
Definition at line 136 of file pcdfilter_pa_node.cpp.
void cPcdFilterPaNode::addFilters | ( | const std::vector< std::string > & | new_filters | ) | [protected] |
function for adding several filters and giving feedback
Definition at line 236 of file pcdfilter_pa_node.cpp.
bool cPcdFilterPaNode::addFiltersCallbackSrv | ( | pcdfilter_pa::PcdFilterPaFilter::Request & | req, |
pcdfilter_pa::PcdFilterPaFilter::Response & | res | ||
) | [protected] |
callback function for adding additional filters
Definition at line 186 of file pcdfilter_pa_node.cpp.
bool cPcdFilterPaNode::changeFiltersCallbackSrv | ( | pcdfilter_pa::PcdFilterPaFilter::Request & | req, |
pcdfilter_pa::PcdFilterPaFilter::Response & | res | ||
) | [protected] |
callback function for changing filters
Definition at line 251 of file pcdfilter_pa_node.cpp.
void cPcdFilterPaNode::disable | ( | void | ) | [private] |
function for deactivating this node (disabling inputs)
Definition at line 307 of file pcdfilter_pa_node.cpp.
bool cPcdFilterPaNode::disableCallbackSrv | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) | [protected] |
callback function for disabling filter node
Definition at line 272 of file pcdfilter_pa_node.cpp.
void cPcdFilterPaNode::enable | ( | void | ) | [private] |
function for activating this node (enabling inputs)
Definition at line 280 of file pcdfilter_pa_node.cpp.
bool cPcdFilterPaNode::enableCallbackSrv | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) | [protected] |
callback function for enabling filter node
Definition at line 264 of file pcdfilter_pa_node.cpp.
bool cPcdFilterPaNode::filterCallbackSrv | ( | pcdfilter_pa::PcdFilterPaCloud::Request & | req, |
pcdfilter_pa::PcdFilterPaCloud::Response & | res | ||
) | [protected] |
callback function for filtering via service
Definition at line 206 of file pcdfilter_pa_node.cpp.
void cPcdFilterPaNode::setCloudCallbackSub | ( | const sensor_msgs::PointCloud2ConstPtr & | msg | ) | [protected] |
callback function for receiving a pointcloud
Definition at line 140 of file pcdfilter_pa_node.cpp.
void cPcdFilterPaNode::setCloudLaserCallbackSub | ( | const sensor_msgs::LaserScanConstPtr & | msg | ) | [protected] |
callback function for receiving a laserscan
Definition at line 179 of file pcdfilter_pa_node.cpp.
void cPcdFilterPaNode::setCloudOldCallbackSub | ( | const sensor_msgs::PointCloudConstPtr & | msg | ) | [protected] |
callback function for receiving a pointcloud (old format)
Definition at line 172 of file pcdfilter_pa_node.cpp.
ros::NodeHandle cPcdFilterPaNode::nh_ [protected] |
node handler for topic subscription and advertising
Definition at line 86 of file pcdfilter_pa_node.h.
ros specific variables, which will be read from Parameterserver
Definition at line 83 of file pcdfilter_pa_node.h.
ros::Publisher cPcdFilterPaNode::pub_pcd_ [protected] |
publisher for filtered pointcloud
Definition at line 99 of file pcdfilter_pa_node.h.
ros::ServiceServer cPcdFilterPaNode::ser_add_filters_ [protected] |
service for adding additional filters
Definition at line 105 of file pcdfilter_pa_node.h.
service for changing filters
Definition at line 107 of file pcdfilter_pa_node.h.
ros::ServiceServer cPcdFilterPaNode::ser_disable_ [protected] |
service for disabling node
Definition at line 112 of file pcdfilter_pa_node.h.
ros::ServiceServer cPcdFilterPaNode::ser_enable_ [protected] |
service for enabling node
Definition at line 110 of file pcdfilter_pa_node.h.
ros::ServiceServer cPcdFilterPaNode::ser_filter_ [protected] |
service for filtering
Definition at line 102 of file pcdfilter_pa_node.h.
ros::Subscriber cPcdFilterPaNode::sub_laser_ [protected] |
subscriber for a laserscan
Definition at line 96 of file pcdfilter_pa_node.h.
ros::Subscriber cPcdFilterPaNode::sub_pcd_ [protected] |
subscriber for a pointcloud
Definition at line 92 of file pcdfilter_pa_node.h.
ros::Subscriber cPcdFilterPaNode::sub_pcd_old_ [protected] |
subscriber for a pointcloud (old format)
Definition at line 94 of file pcdfilter_pa_node.h.
tf::TransformListener cPcdFilterPaNode::tf_listener_ [protected] |
for getting all necessary tfs
Definition at line 89 of file pcdfilter_pa_node.h.