/home/laradmin/lar/utils/pc_accumulation/src/pc_accumulation_nodelet.cpp File Reference

Nodelet that use pc_accumulation class This nodelet subscribes sensor_msgs::PointCloud2 and sensor_msgs::LaserScanPtr Accumulate on the desired frame_id (see pc_accumulation.lauch). More...

#include <pc_accumulation/pc_accumulation.h>
Include dependency graph for pc_accumulation_nodelet.cpp:

Go to the source code of this file.

Defines

#define PFLN   {printf("%s %d\n",__FILE__, __LINE__);}

Functions

void laserscan_Callback (const sensor_msgs::LaserScanPtr &scan_in)
 Callback from the LaserScan subscribed topic.
int main (int argc, char **argv)
void OdometryCallBack (const nav_msgs::OdometryConstPtr &odom_in)
 Callback from the Odometry subscribed topic.
void pointcloud_Callback (const sensor_msgs::PointCloud2Ptr &image)
 Callback from the PointCloud subscribed topic.
void Remove_Publish (const ros::TimerEvent &)
 Function responsible for Remove and Publish PointCloud ().

Variables

std::string acc_frame
ros::Publisher cloud_pc_laserScan
ros::Publisher cloud_pc_pointcloud
double distance_from
std::string laser_topic
pc_accumulationp_lib
std::string pc_topic
bool process_laser_scan [5] = {false,false,false,false,false}
bool process_point_cloud [5] = {false,false,false,false,false}
double timer_value

Detailed Description

Nodelet that use pc_accumulation class This nodelet subscribes sensor_msgs::PointCloud2 and sensor_msgs::LaserScanPtr Accumulate on the desired frame_id (see pc_accumulation.lauch).

Author:
Pedro Salvado

Definition in file pc_accumulation_nodelet.cpp.


Define Documentation

#define PFLN   {printf("%s %d\n",__FILE__, __LINE__);}

Definition at line 34 of file pc_accumulation_nodelet.cpp.


Function Documentation

void laserscan_Callback ( const sensor_msgs::LaserScanPtr &  scan_in  ) 

Callback from the LaserScan subscribed topic.

Parameters:
[in] scan_in 

Definition at line 71 of file pc_accumulation_nodelet.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 90 of file pc_accumulation_nodelet.cpp.

void OdometryCallBack ( const nav_msgs::OdometryConstPtr &  odom_in  ) 

Callback from the Odometry subscribed topic.

Parameters:
[in] const nav_msgs::Odometry

Definition at line 53 of file pc_accumulation_nodelet.cpp.

void pointcloud_Callback ( const sensor_msgs::PointCloud2Ptr &  image  ) 

Callback from the PointCloud subscribed topic.

Parameters:
[in] const sensor_msgs::PointCloud2

Definition at line 62 of file pc_accumulation_nodelet.cpp.

void Remove_Publish ( const ros::TimerEvent &   ) 

Function responsible for Remove and Publish PointCloud ().

Parameters:
[in] ros::TimerEvent 

Definition at line 81 of file pc_accumulation_nodelet.cpp.


Variable Documentation

std::string acc_frame

Definition at line 42 of file pc_accumulation_nodelet.cpp.

ros::Publisher cloud_pc_laserScan

Definition at line 38 of file pc_accumulation_nodelet.cpp.

ros::Publisher cloud_pc_pointcloud

Definition at line 39 of file pc_accumulation_nodelet.cpp.

double distance_from

Definition at line 41 of file pc_accumulation_nodelet.cpp.

std::string laser_topic

Definition at line 42 of file pc_accumulation_nodelet.cpp.

Definition at line 40 of file pc_accumulation_nodelet.cpp.

std::string pc_topic

Definition at line 42 of file pc_accumulation_nodelet.cpp.

bool process_laser_scan[5] = {false,false,false,false,false}

Definition at line 45 of file pc_accumulation_nodelet.cpp.

bool process_point_cloud[5] = {false,false,false,false,false}

Definition at line 46 of file pc_accumulation_nodelet.cpp.

double timer_value

Definition at line 41 of file pc_accumulation_nodelet.cpp.

 All Classes Files Functions Variables Defines


pc_accumulation
Author(s): Pedro Salvado
autogenerated on Wed Jul 23 04:33:17 2014