#include <plane_road_extraction.h>
Public Member Functions | |
void | filter (const sensor_msgs::PointCloud2Ptr &msg) |
callback function More... | |
plane_road_extraction () | |
class constructor More... | |
PointCloud< T > | project_cloud_on_plane (PointCloud< T > cloud_in, ModelCoefficients::Ptr coefficients) |
project a point cloud on a plane More... | |
T | transform_pcl_point (string frame1, tf::Transform transform, T pt_origin) |
transform pcl points between ros frames More... | |
~plane_road_extraction () | |
class destructor More... | |
Public Attributes | |
PointCloud< T > | pc_clusters |
Clusters point cloud. More... | |
PointCloud< T > | pc_in |
Point cloud to filter. More... | |
PointCloud< T > | pc_road |
Road point cloud. More... | |
plane_model_road< T > | pms |
Class object for plane model road segmentation. More... | |
ros::Publisher * | pub_clusters_ptr |
Pointer to clusters publisher. More... | |
ros::Publisher * | pub_road_perimeter_ptr |
Pointer to road perimeter publisher. More... | |
ros::Publisher * | pub_road_ptr |
Pointer to road publisher. More... | |
double | z_max |
double | z_min |
Extraction limits to pointcloud. More... | |
Definition at line 54 of file plane_road_extraction.h.
|
inline |
class constructor
Definition at line 59 of file plane_road_extraction.h.
|
inline |
class destructor
Definition at line 64 of file plane_road_extraction.h.
void plane_road_extraction< T >::filter | ( | const sensor_msgs::PointCloud2Ptr & | msg | ) |
callback function
Definition at line 38 of file plane_road_extraction.hpp.
PointCloud< T > plane_road_extraction< T >::project_cloud_on_plane | ( | PointCloud< T > | cloud_in, |
ModelCoefficients::Ptr | coefficients | ||
) |
project a point cloud on a plane
[in] | cloud_in | |
[in] | coefficients |
Definition at line 128 of file plane_road_extraction.hpp.
T plane_road_extraction< T >::transform_pcl_point | ( | string | frame1, |
tf::Transform | transform, | ||
T | pt_origin | ||
) |
transform pcl points between ros frames
[in] | frame1 | no need actually |
[in] | transform | the tf |
[in] | pt_origin | the point to transform |
Definition at line 118 of file plane_road_extraction.hpp.
PointCloud<T> plane_road_extraction< T >::pc_clusters |
Clusters point cloud.
Definition at line 77 of file plane_road_extraction.h.
PointCloud<T> plane_road_extraction< T >::pc_in |
Point cloud to filter.
Definition at line 66 of file plane_road_extraction.h.
PointCloud<T> plane_road_extraction< T >::pc_road |
Road point cloud.
Definition at line 74 of file plane_road_extraction.h.
plane_model_road<T> plane_road_extraction< T >::pms |
Class object for plane model road segmentation.
Definition at line 80 of file plane_road_extraction.h.
ros::Publisher* plane_road_extraction< T >::pub_clusters_ptr |
Pointer to clusters publisher.
Definition at line 86 of file plane_road_extraction.h.
ros::Publisher* plane_road_extraction< T >::pub_road_perimeter_ptr |
Pointer to road perimeter publisher.
Definition at line 89 of file plane_road_extraction.h.
ros::Publisher* plane_road_extraction< T >::pub_road_ptr |
Pointer to road publisher.
Definition at line 83 of file plane_road_extraction.h.
double plane_road_extraction< T >::z_max |
Definition at line 92 of file plane_road_extraction.h.
double plane_road_extraction< T >::z_min |
Extraction limits to pointcloud.
Definition at line 92 of file plane_road_extraction.h.