Defines | Functions | Variables

/home/joel/ros_workspace/lar3/utils/points_from_volume/src/points_from_volume_nodelet.cpp File Reference

The main file. More...

#include <ros/ros.h>
#include <points_from_volume/points_from_volume.h>
Include dependency graph for points_from_volume_nodelet.cpp:

Go to the source code of this file.

Defines

#define _points_from_volume_nodelet_CPP_

Functions

void cb_points_convexhull (const sensor_msgs::PointCloud2ConstPtr &pcmsg_convexhull_in)
 ConvexHull callback.
void cloud_cb (const sensor_msgs::PointCloud2ConstPtr &pcmsg_in)
 Point Cloud callback.
int main (int argc, char **argv)
 Main code of the nodelet.

Variables

ros::Publisher cloud_pub
bool defined_hull = false
bool flag
double negative
ros::NodeHandle * p_n
points_from_volume< pcl::PointXYZ > piv
double positive

Detailed Description

The main file.

Author:
Joel Pereira
Version:
v0
Date:
2011-03-26

Definition in file points_from_volume_nodelet.cpp.


Define Documentation

#define _points_from_volume_nodelet_CPP_

Definition at line 2 of file points_from_volume_nodelet.cpp.


Function Documentation

void cb_points_convexhull ( const sensor_msgs::PointCloud2ConstPtr &  pcmsg_convexhull_in)

ConvexHull callback.

This callback sets a flag to true (when the convexhull is received), allowing the rest of the code to run

Parameters:
constsensor_msgs::PointCloud2ConstPtr & pcmsg_convexhull_in
Returns:
void

Definition at line 48 of file points_from_volume_nodelet.cpp.

void cloud_cb ( const sensor_msgs::PointCloud2ConstPtr &  pcmsg_in)

Point Cloud callback.

This callback makes use of the convexhull class created

Parameters:
constsensor_msgs::PointCloud2ConstPtr & pcmsg_in
Returns:
void

Definition at line 29 of file points_from_volume_nodelet.cpp.

int main ( int  argc,
char **  argv 
)

Main code of the nodelet.

Initializes params and receive and pubish pointclouds

Parameters:
intargc
char**argv
Returns:
int

Definition at line 63 of file points_from_volume_nodelet.cpp.


Variable Documentation

ros::Publisher cloud_pub

Definition at line 15 of file points_from_volume_nodelet.cpp.

bool defined_hull = false

Definition at line 16 of file points_from_volume_nodelet.cpp.

bool flag

Definition at line 19 of file points_from_volume_nodelet.cpp.

double negative

Definition at line 18 of file points_from_volume_nodelet.cpp.

ros::NodeHandle* p_n

Definition at line 14 of file points_from_volume_nodelet.cpp.

points_from_volume<pcl::PointXYZ> piv

Definition at line 21 of file points_from_volume_nodelet.cpp.

double positive

Definition at line 17 of file points_from_volume_nodelet.cpp.

 All Classes Files Functions Variables Enumerations Enumerator Defines


points_from_volume
Author(s): joel
autogenerated on Thu Jul 26 2012 21:41:25