Macros | Functions | Variables
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.

Macros

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

Functions

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

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.

Macro Definition 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]constnav_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]constsensor_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.



pc_accumulation
Author(s): Pedro Salvado
autogenerated on Mon Mar 2 2015 01:32:32