Public Member Functions | Private Member Functions | Private Attributes
PlaneDataDumper Class Reference

List of all members.

Public Member Functions

void dumpData ()
 PlaneDataDumper (int buffer_size, int post_fix, int n_data_points=500)
 ~PlaneDataDumper ()

Private Member Functions

void dumpModes ()
void dumpScatter ()
void getGaussParameters (float &mean, float &var, int &norm, const std::vector< int > &angle_hist, float res, float min_val)
void planeCallback (const fast_plane_detection::Plane::ConstPtr &plane)
 Callback for plane message.

Private Attributes

std::vector< int > angle_hist_
 Angle Histogram.
std::vector< float > angles_
 data for scatter plots
int buffer_size_
 Buffer size for callbacks.
std::string camera_frame_
std::vector< int > dist_hist_
 Distance Histogram.
tf::TransformListener listener_
 from camera to source
int max_angle_
int max_dist_
std::vector< float > mean_err_
int min_angle_
 Limits angle.
int min_dist_
 Limits distance.
int n_current_
 Number of current data points.
int n_data_points_
 Number of data points to collect before dumping.
std::vector< float > n_inliers_
ros::Subscriber plane_sub_
 Subscriber to plane message.
std::string plane_topic_
int post_fix_
 Post fix for dumped files.
ros::NodeHandle priv_nh_
 Node handle in the private namespace.
float res_angle_
 Resolution angle.
float res_dist_
 Resolution distance.
ros::NodeHandle root_nh_
 The node handle.
std::string source_frame_
tf::StampedTransform transform_

Detailed Description

Definition at line 45 of file dump_eval_data.cpp.


Constructor & Destructor Documentation

PlaneDataDumper::PlaneDataDumper ( int  buffer_size,
int  post_fix,
int  n_data_points = 500 
)

Definition at line 123 of file dump_eval_data.cpp.

Definition at line 168 of file dump_eval_data.cpp.


Member Function Documentation

Definition at line 288 of file dump_eval_data.cpp.

void PlaneDataDumper::dumpModes ( ) [private]

Definition at line 310 of file dump_eval_data.cpp.

void PlaneDataDumper::dumpScatter ( ) [private]

Definition at line 294 of file dump_eval_data.cpp.

void PlaneDataDumper::getGaussParameters ( float &  mean,
float &  var,
int &  norm,
const std::vector< int > &  angle_hist,
float  res,
float  min_val 
) [private]

Definition at line 259 of file dump_eval_data.cpp.

Callback for plane message.

Definition at line 172 of file dump_eval_data.cpp.


Member Data Documentation

Angle Histogram.

Definition at line 111 of file dump_eval_data.cpp.

data for scatter plots

Definition at line 117 of file dump_eval_data.cpp.

Buffer size for callbacks.

Definition at line 80 of file dump_eval_data.cpp.

std::string PlaneDataDumper::camera_frame_ [private]

Definition at line 95 of file dump_eval_data.cpp.

Distance Histogram.

Definition at line 114 of file dump_eval_data.cpp.

from camera to source

Definition at line 92 of file dump_eval_data.cpp.

Definition at line 99 of file dump_eval_data.cpp.

Definition at line 105 of file dump_eval_data.cpp.

Definition at line 118 of file dump_eval_data.cpp.

Limits angle.

Definition at line 99 of file dump_eval_data.cpp.

Limits distance.

Definition at line 105 of file dump_eval_data.cpp.

Number of current data points.

Definition at line 89 of file dump_eval_data.cpp.

Number of data points to collect before dumping.

Definition at line 86 of file dump_eval_data.cpp.

Definition at line 119 of file dump_eval_data.cpp.

Subscriber to plane message.

Definition at line 76 of file dump_eval_data.cpp.

std::string PlaneDataDumper::plane_topic_ [private]

Definition at line 77 of file dump_eval_data.cpp.

Post fix for dumped files.

Definition at line 83 of file dump_eval_data.cpp.

Node handle in the private namespace.

Definition at line 73 of file dump_eval_data.cpp.

float PlaneDataDumper::res_angle_ [private]

Resolution angle.

Definition at line 102 of file dump_eval_data.cpp.

float PlaneDataDumper::res_dist_ [private]

Resolution distance.

Definition at line 108 of file dump_eval_data.cpp.

The node handle.

Definition at line 71 of file dump_eval_data.cpp.

std::string PlaneDataDumper::source_frame_ [private]

Definition at line 96 of file dump_eval_data.cpp.

Definition at line 93 of file dump_eval_data.cpp.


The documentation for this class was generated from the following file:


fast_plane_detection
Author(s): Jeannette Bohg
autogenerated on Fri Jan 3 2014 12:11:20