Public Member Functions | |
void | dumpData () |
FullPlaneDataDumper (int buffer_size) | |
~FullPlaneDataDumper () | |
Private Member Functions | |
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. | |
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_ |
int | min_angle_ |
Limits angle. | |
int | min_dist_ |
Limits distance. | |
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_full_angle_data.cpp.
FullPlaneDataDumper::FullPlaneDataDumper | ( | int | buffer_size | ) |
Definition at line 110 of file dump_full_angle_data.cpp.
Definition at line 149 of file dump_full_angle_data.cpp.
void FullPlaneDataDumper::dumpData | ( | ) |
Definition at line 258 of file dump_full_angle_data.cpp.
void FullPlaneDataDumper::getGaussParameters | ( | float & | mean, |
float & | var, | ||
int & | norm, | ||
const std::vector< int > & | angle_hist, | ||
float | res, | ||
float | min_val | ||
) | [private] |
Definition at line 229 of file dump_full_angle_data.cpp.
void FullPlaneDataDumper::planeCallback | ( | const fast_plane_detection::Plane::ConstPtr & | plane | ) | [private] |
Callback for plane message.
Definition at line 153 of file dump_full_angle_data.cpp.
std::vector<int> FullPlaneDataDumper::angle_hist_ [private] |
Angle Histogram.
Definition at line 102 of file dump_full_angle_data.cpp.
int FullPlaneDataDumper::buffer_size_ [private] |
Buffer size for callbacks.
Definition at line 77 of file dump_full_angle_data.cpp.
std::string FullPlaneDataDumper::camera_frame_ [private] |
Definition at line 86 of file dump_full_angle_data.cpp.
std::vector<int> FullPlaneDataDumper::dist_hist_ [private] |
Distance Histogram.
Definition at line 105 of file dump_full_angle_data.cpp.
from camera to source
Definition at line 83 of file dump_full_angle_data.cpp.
int FullPlaneDataDumper::max_angle_ [private] |
Definition at line 90 of file dump_full_angle_data.cpp.
int FullPlaneDataDumper::max_dist_ [private] |
Definition at line 96 of file dump_full_angle_data.cpp.
int FullPlaneDataDumper::min_angle_ [private] |
Limits angle.
Definition at line 90 of file dump_full_angle_data.cpp.
int FullPlaneDataDumper::min_dist_ [private] |
Limits distance.
Definition at line 96 of file dump_full_angle_data.cpp.
Subscriber to plane message.
Definition at line 73 of file dump_full_angle_data.cpp.
std::string FullPlaneDataDumper::plane_topic_ [private] |
Definition at line 74 of file dump_full_angle_data.cpp.
int FullPlaneDataDumper::post_fix_ [private] |
Post fix for dumped files.
Definition at line 80 of file dump_full_angle_data.cpp.
ros::NodeHandle FullPlaneDataDumper::priv_nh_ [private] |
Node handle in the private namespace.
Definition at line 70 of file dump_full_angle_data.cpp.
float FullPlaneDataDumper::res_angle_ [private] |
Resolution angle.
Definition at line 93 of file dump_full_angle_data.cpp.
float FullPlaneDataDumper::res_dist_ [private] |
Resolution distance.
Definition at line 99 of file dump_full_angle_data.cpp.
ros::NodeHandle FullPlaneDataDumper::root_nh_ [private] |
The node handle.
Definition at line 68 of file dump_full_angle_data.cpp.
std::string FullPlaneDataDumper::source_frame_ [private] |
Definition at line 87 of file dump_full_angle_data.cpp.
Definition at line 84 of file dump_full_angle_data.cpp.