IRI ROS Specific Algorithm Class. More...
#include <get_board_information_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 53 of file get_board_information_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 4 of file get_board_information_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 45 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::addNodeDiagnostics | ( | void | ) | [protected, virtual] |
node add diagnostics
In this abstract function additional ROS diagnostics applied to the specific algorithms may be added.
Implements algorithm_base::IriBaseAlgorithm< GetBoardInformationAlgorithm >.
Definition at line 232 of file get_board_information_alg_node.cpp.
bool GetBoardInformationAlgNode::get_board_infoCallback | ( | iri_clean_board::BoardInfo::Request & | req, |
iri_clean_board::BoardInfo::Response & | res | ||
) | [private] |
Definition at line 189 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::image_in_callback | ( | const sensor_msgs::Image::ConstPtr & | msg | ) | [private] |
Definition at line 169 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::mainNodeThread | ( | void | ) | [protected, virtual] |
main node thread
This is the main thread node function. Code written here will be executed in every node loop while the algorithm is on running state. Loop frequency can be tuned by modifying loop_rate attribute.
Here data related to the process loop or to ROS topics (mainly data structs related to the MSG and SRV files) must be updated. ROS publisher objects must publish their data in this process. ROS client servers may also request data to the corresponding server topics.
Implements algorithm_base::IriBaseAlgorithm< GetBoardInformationAlgorithm >.
Definition at line 50 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::node_config_update | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
dynamic reconfigure server callback
This method is called whenever a new configuration is received through the dynamic reconfigure. The derivated generic algorithm class must implement it.
config | an object with new configuration from all algorithm parameters defined in the config file. |
level | integer referring the level in which the configuration has been changed. |
Implements algorithm_base::IriBaseAlgorithm< GetBoardInformationAlgorithm >.
Definition at line 225 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::plane_coefficients_callback | ( | const pcl_msgs::ModelCoefficients::ConstPtr & | msg | ) | [private] |
Definition at line 127 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::pointcloud_in_callback | ( | const sensor_msgs::PointCloud2::ConstPtr & | msg | ) | [private] |
Definition at line 144 of file get_board_information_alg_node.cpp.
void GetBoardInformationAlgNode::publish_a_pointcloud | ( | ) | [private] |
Publish a PointCloud.
This method publishes the last PointCloud received
void GetBoardInformationAlgNode::unreachable_position_callback | ( | const estirabot_msgs::ImagePoint::ConstPtr & | msg | ) | [private] |
Definition at line 111 of file get_board_information_alg_node.cpp.
Definition at line 57 of file get_board_information_alg_node.h.
sensor_msgs::Image GetBoardInformationAlgNode::current_image [private] |
Definition at line 97 of file get_board_information_alg_node.h.
Definition at line 100 of file get_board_information_alg_node.h.
sensor_msgs::PointCloud2 GetBoardInformationAlgNode::current_pointcloud [private] |
Definition at line 94 of file get_board_information_alg_node.h.
CEvent GetBoardInformationAlgNode::EventInfoReady [private] |
Definition at line 102 of file get_board_information_alg_node.h.
CEvent GetBoardInformationAlgNode::EventServiceWaiting [private] |
Definition at line 102 of file get_board_information_alg_node.h.
CMutex GetBoardInformationAlgNode::get_board_info_mutex_ [private] |
Definition at line 79 of file get_board_information_alg_node.h.
Definition at line 77 of file get_board_information_alg_node.h.
CMutex GetBoardInformationAlgNode::image_in_mutex_ [private] |
Definition at line 74 of file get_board_information_alg_node.h.
Definition at line 72 of file get_board_information_alg_node.h.
sensor_msgs::Image GetBoardInformationAlgNode::Image_msg_ [private] |
Definition at line 58 of file get_board_information_alg_node.h.
Definition at line 88 of file get_board_information_alg_node.h.
sensor_msgs::Image GetBoardInformationAlgNode::last_image [private] |
Definition at line 96 of file get_board_information_alg_node.h.
Definition at line 99 of file get_board_information_alg_node.h.
sensor_msgs::PointCloud2 GetBoardInformationAlgNode::last_pointcloud [private] |
Definition at line 93 of file get_board_information_alg_node.h.
CMutex GetBoardInformationAlgNode::plane_coefficients_mutex_ [private] |
Definition at line 68 of file get_board_information_alg_node.h.
Definition at line 66 of file get_board_information_alg_node.h.
sensor_msgs::PointCloud2 GetBoardInformationAlgNode::PointCloud2_msg_ [private] |
Definition at line 60 of file get_board_information_alg_node.h.
CMutex GetBoardInformationAlgNode::pointcloud_in_mutex_ [private] |
Definition at line 71 of file get_board_information_alg_node.h.
Definition at line 69 of file get_board_information_alg_node.h.
Definition at line 59 of file get_board_information_alg_node.h.
CMutex GetBoardInformationAlgNode::unreachable_position_mutex_ [private] |
Definition at line 65 of file get_board_information_alg_node.h.
Definition at line 63 of file get_board_information_alg_node.h.
Definition at line 91 of file get_board_information_alg_node.h.
Definition at line 90 of file get_board_information_alg_node.h.
Definition at line 89 of file get_board_information_alg_node.h.