Public Member Functions | |
CCDNode (ros::NodeHandle &n, int init_method) | |
void | contourFMP () |
void | contourManually () |
void | imageCallback (const sensor_msgs::ImageConstPtr &msg_ptr) |
void | polygonCallback (const geometry_msgs::PolygonStampedPtr &msg_ptr) |
cv::Mat | readImage (const sensor_msgs::ImageConstPtr &msg_ptr) |
~CCDNode () | |
Public Attributes | |
sensor_msgs::CvBridge | bridge_ |
CCD | ccd |
int | count_ |
bool | got_polygon_ |
image_transport::Subscriber | image_sub_ |
std::string | image_topic_ |
int | init_method_ |
image_transport::ImageTransport | it_ |
ros::NodeHandle | n_ |
std::string | polygon_points_topic_ |
ros::Subscriber | polygon_sub_ |
std::vector< cv::Point3d > | pts_ |
Definition at line 21 of file ccd_node.cpp.
CCDNode::CCDNode | ( | ros::NodeHandle & | n, |
int | init_method | ||
) | [inline] |
Definition at line 35 of file ccd_node.cpp.
CCDNode::~CCDNode | ( | ) | [inline] |
Definition at line 55 of file ccd_node.cpp.
void CCDNode::contourFMP | ( | ) | [inline] |
Definition at line 100 of file ccd_node.cpp.
void CCDNode::contourManually | ( | ) | [inline] |
Definition at line 113 of file ccd_node.cpp.
void CCDNode::imageCallback | ( | const sensor_msgs::ImageConstPtr & | msg_ptr | ) | [inline] |
Definition at line 126 of file ccd_node.cpp.
void CCDNode::polygonCallback | ( | const geometry_msgs::PolygonStampedPtr & | msg_ptr | ) | [inline] |
Definition at line 187 of file ccd_node.cpp.
cv::Mat CCDNode::readImage | ( | const sensor_msgs::ImageConstPtr & | msg_ptr | ) | [inline] |
Definition at line 59 of file ccd_node.cpp.
Definition at line 28 of file ccd_node.cpp.
Definition at line 31 of file ccd_node.cpp.
int CCDNode::count_ |
Definition at line 32 of file ccd_node.cpp.
Definition at line 34 of file ccd_node.cpp.
Definition at line 26 of file ccd_node.cpp.
std::string CCDNode::image_topic_ |
Definition at line 29 of file ccd_node.cpp.
Definition at line 33 of file ccd_node.cpp.
Definition at line 25 of file ccd_node.cpp.
Definition at line 24 of file ccd_node.cpp.
std::string CCDNode::polygon_points_topic_ |
Definition at line 29 of file ccd_node.cpp.
Definition at line 27 of file ccd_node.cpp.
std::vector<cv::Point3d> CCDNode::pts_ |
Definition at line 30 of file ccd_node.cpp.