RAPP Platform  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Classes Namespaces Files Functions Variables Macros
QrDetection Class Reference

Uptakes the task of setting up the ROS service callbacks towards qr detection. More...

#include <qr_detection.h>

Collaboration diagram for QrDetection:

Public Member Functions

 QrDetection (void)
 Default constructor. More...
 
bool qrDetectionCallback (rapp_platform_ros_communications::QrDetectionRosSrv::Request &req, rapp_platform_ros_communications::QrDetectionRosSrv::Response &res)
 The qr detection ROS service callback. More...
 

Private Attributes

ros::NodeHandle nh_
 
QrDetector qr_detector_
 
ros::ServiceServer qrDetectionService_
 
std::string qrDetectionTopic_
 

Detailed Description

Uptakes the task of setting up the ROS service callbacks towards qr detection.

Definition at line 31 of file qr_detection.h.

Constructor & Destructor Documentation

QrDetection::QrDetection ( void  )

Default constructor.

Definition at line 23 of file qr_detection.cpp.

Member Function Documentation

bool QrDetection::qrDetectionCallback ( rapp_platform_ros_communications::QrDetectionRosSrv::Request &  req,
rapp_platform_ros_communications::QrDetectionRosSrv::Response &  res 
)

The qr detection ROS service callback.

Parameters
req[rapp_platform_ros_communications::QrDetectionRosSrv::Request&] The service request
res[rapp_platform_ros_communications::QrDetectionRosSrv::Response&] The service response
Returns
bool - The success status of the call

Definition at line 40 of file qr_detection.cpp.

Member Data Documentation

ros::NodeHandle QrDetection::nh_
private

< The ROS node handle The service server

Definition at line 53 of file qr_detection.h.

QrDetector QrDetection::qr_detector_
private

Definition at line 62 of file qr_detection.h.

ros::ServiceServer QrDetection::qrDetectionService_
private

Topic nomeclarure. Holds the qr detection ROS service topic URI

Definition at line 56 of file qr_detection.h.

std::string QrDetection::qrDetectionTopic_
private

Object of QrDetection type

Definition at line 59 of file qr_detection.h.


The documentation for this class was generated from the following files: