Classes | |
struct | _NamedAlgorithm |
Public Member Functions | |
void | color_find (const boost::shared_ptr< const sensor_msgs::Image > image) |
ImageAlgo * | find_algorithm (std::string name) |
void | image_cb (const sensor_msgs::ImageConstPtr &image_msg) |
ImageAlgosMain (ros::NodeHandle &anode) | |
bool | load_algorithm (std::string algo_name, ImageAlgo *&algorithm) |
loads a given plugin | |
void | load_plugins () |
loads plugins | |
void | table_cb (const ias_table_msgs::TableWithObjects::ConstPtr &table) |
Protected Types | |
typedef struct ImageAlgosMain::_NamedAlgorithm | NamedAlgorithm |
Protected Attributes | |
std::vector< NamedAlgorithm > | algorithm_pool |
sensor_msgs::CvBridge | bridge_ |
pluginlib::ClassLoader < image_algos::ImageAlgo > * | cl |
IplImage * | clone_ |
bool | got_image_ |
IplImage * | image_ |
boost::mutex | image_lock_ |
ros::Subscriber | image_sub_ |
std::string | input_image_topic_ |
std::string | input_table_topic_ |
ros::NodeHandle & | nh_ |
std::string | output_table_roi_topic_ |
Table | t |
ros::Publisher | table_image_pub_ |
ros::Subscriber | table_sub_ |
Definition at line 61 of file image_algos_main.cpp.
typedef struct ImageAlgosMain::_NamedAlgorithm ImageAlgosMain::NamedAlgorithm [protected] |
ImageAlgosMain::ImageAlgosMain | ( | ros::NodeHandle & | anode | ) | [inline] |
Definition at line 96 of file image_algos_main.cpp.
void ImageAlgosMain::color_find | ( | const boost::shared_ptr< const sensor_msgs::Image > | image | ) | [inline] |
Definition at line 165 of file image_algos_main.cpp.
ImageAlgo* ImageAlgosMain::find_algorithm | ( | std::string | name | ) | [inline] |
Definition at line 157 of file image_algos_main.cpp.
void ImageAlgosMain::image_cb | ( | const sensor_msgs::ImageConstPtr & | image_msg | ) | [inline] |
Definition at line 224 of file image_algos_main.cpp.
bool ImageAlgosMain::load_algorithm | ( | std::string | algo_name, |
ImageAlgo *& | algorithm | ||
) | [inline] |
loads a given plugin
algo_name | : name of algorithm as stated in plugins.xml file |
algorithm | : reference to pointer which will hold the loaded algorithm |
Definition at line 115 of file image_algos_main.cpp.
void ImageAlgosMain::load_plugins | ( | ) | [inline] |
loads plugins
Definition at line 140 of file image_algos_main.cpp.
void ImageAlgosMain::table_cb | ( | const ias_table_msgs::TableWithObjects::ConstPtr & | table | ) | [inline] |
Definition at line 184 of file image_algos_main.cpp.
std::vector<NamedAlgorithm> ImageAlgosMain::algorithm_pool [protected] |
Definition at line 89 of file image_algos_main.cpp.
sensor_msgs::CvBridge ImageAlgosMain::bridge_ [protected] |
Definition at line 78 of file image_algos_main.cpp.
pluginlib::ClassLoader<image_algos::ImageAlgo>* ImageAlgosMain::cl [protected] |
Definition at line 80 of file image_algos_main.cpp.
IplImage * ImageAlgosMain::clone_ [protected] |
Definition at line 76 of file image_algos_main.cpp.
bool ImageAlgosMain::got_image_ [protected] |
Definition at line 94 of file image_algos_main.cpp.
IplImage* ImageAlgosMain::image_ [protected] |
Definition at line 76 of file image_algos_main.cpp.
boost::mutex ImageAlgosMain::image_lock_ [protected] |
Definition at line 77 of file image_algos_main.cpp.
ros::Subscriber ImageAlgosMain::image_sub_ [protected] |
Definition at line 74 of file image_algos_main.cpp.
std::string ImageAlgosMain::input_image_topic_ [protected] |
Definition at line 68 of file image_algos_main.cpp.
std::string ImageAlgosMain::input_table_topic_ [protected] |
Definition at line 67 of file image_algos_main.cpp.
ros::NodeHandle& ImageAlgosMain::nh_ [protected] |
Definition at line 64 of file image_algos_main.cpp.
std::string ImageAlgosMain::output_table_roi_topic_ [protected] |
Definition at line 69 of file image_algos_main.cpp.
Table ImageAlgosMain::t [protected] |
Definition at line 92 of file image_algos_main.cpp.
ros::Publisher ImageAlgosMain::table_image_pub_ [protected] |
Definition at line 72 of file image_algos_main.cpp.
ros::Subscriber ImageAlgosMain::table_sub_ [protected] |
Definition at line 73 of file image_algos_main.cpp.