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_ |
Definition at line 45 of file dump_eval_data.cpp.
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.
void PlaneDataDumper::dumpData | ( | ) |
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.
void PlaneDataDumper::planeCallback | ( | const fast_plane_detection::Plane::ConstPtr & | plane | ) | [private] |
Callback for plane message.
Definition at line 172 of file dump_eval_data.cpp.
std::vector<int> PlaneDataDumper::angle_hist_ [private] |
Angle Histogram.
Definition at line 111 of file dump_eval_data.cpp.
std::vector<float> PlaneDataDumper::angles_ [private] |
data for scatter plots
Definition at line 117 of file dump_eval_data.cpp.
int PlaneDataDumper::buffer_size_ [private] |
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.
std::vector<int> PlaneDataDumper::dist_hist_ [private] |
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.
int PlaneDataDumper::max_angle_ [private] |
Definition at line 99 of file dump_eval_data.cpp.
int PlaneDataDumper::max_dist_ [private] |
Definition at line 105 of file dump_eval_data.cpp.
std::vector<float> PlaneDataDumper::mean_err_ [private] |
Definition at line 118 of file dump_eval_data.cpp.
int PlaneDataDumper::min_angle_ [private] |
Limits angle.
Definition at line 99 of file dump_eval_data.cpp.
int PlaneDataDumper::min_dist_ [private] |
Limits distance.
Definition at line 105 of file dump_eval_data.cpp.
int PlaneDataDumper::n_current_ [private] |
Number of current data points.
Definition at line 89 of file dump_eval_data.cpp.
int PlaneDataDumper::n_data_points_ [private] |
Number of data points to collect before dumping.
Definition at line 86 of file dump_eval_data.cpp.
std::vector<float> PlaneDataDumper::n_inliers_ [private] |
Definition at line 119 of file dump_eval_data.cpp.
ros::Subscriber PlaneDataDumper::plane_sub_ [private] |
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.
int PlaneDataDumper::post_fix_ [private] |
Post fix for dumped files.
Definition at line 83 of file dump_eval_data.cpp.
ros::NodeHandle PlaneDataDumper::priv_nh_ [private] |
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.
ros::NodeHandle PlaneDataDumper::root_nh_ [private] |
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.