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
qr_detection.h
Go to the documentation of this file.
1 /******************************************************************************
2 Copyright 2015 RAPP
3 
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7 
8  http://www.apache.org/licenses/LICENSE-2.0
9 
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 
16 ******************************************************************************/
17 
18 #ifndef RAPP_QR_DETECTION_NODE
19 #define RAPP_QR_DETECTION_NODE
20 
21 #include "ros/ros.h"
22 
23 #include <rapp_platform_ros_communications/QrDetectionRosSrv.h>
24 
26 
32 {
33  public:
34 
38  QrDetection(void);
39 
47  rapp_platform_ros_communications::QrDetectionRosSrv::Request& req,
48  rapp_platform_ros_communications::QrDetectionRosSrv::Response& res
49  );
50 
51  private:
53  ros::NodeHandle nh_;
54 
56  ros::ServiceServer qrDetectionService_;
57 
59  std::string qrDetectionTopic_;
60 
63 };
64 
65 #endif // RAPP_QR_DETECTION_NODE
std::string qrDetectionTopic_
Definition: qr_detection.h:59
ros::ServiceServer qrDetectionService_
Definition: qr_detection.h:56
QrDetector qr_detector_
Definition: qr_detection.h:62
ros::NodeHandle nh_
Definition: qr_detection.h:53
Uptakes the task of setting up the ROS service callbacks towards qr detection.
Definition: qr_detection.h:31
QrDetection(void)
Default constructor.
bool qrDetectionCallback(rapp_platform_ros_communications::QrDetectionRosSrv::Request &req, rapp_platform_ros_communications::QrDetectionRosSrv::Response &res)
The qr detection ROS service callback.
Provides the QR detection functionality.
Definition: qr_detector.h:45