![]() |
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
|
Class FaceDetection uptakes the task of handling the ROS service callbacks. More...
#include <face_detection.h>

Public Member Functions | |
| FaceDetection (void) | |
| Default constructor. More... | |
| bool | faceDetectionCallback (rapp_platform_ros_communications::FaceDetectionRosSrv::Request &req, rapp_platform_ros_communications::FaceDetectionRosSrv::Response &res) |
| Serves the face detection ROS service callback. More... | |
Private Attributes | |
| FaceDetector | face_detector_ |
| ros::ServiceServer | faceDetectionService_ |
| std::string | faceDetectionTopic_ |
| ros::NodeHandle | nh_ |
Class FaceDetection uptakes the task of handling the ROS service callbacks.
Definition at line 31 of file face_detection.h.
| FaceDetection::FaceDetection | ( | void | ) |
Default constructor.
Default constructor. Performs initializations.
Definition at line 24 of file face_detection.cpp.
| bool FaceDetection::faceDetectionCallback | ( | rapp_platform_ros_communications::FaceDetectionRosSrv::Request & | req, |
| rapp_platform_ros_communications::FaceDetectionRosSrv::Response & | res | ||
| ) |
Serves the face detection ROS service callback.
| req | [rapp_platform_ros_communications::FaceDetectionRosSrv::Request&] The ROS service request |
| res | [rapp_platform_ros_communications::FaceDetectionRosSrv::Response&] The ROS service response |
Definition at line 42 of file face_detection.cpp.
|
private |
Definition at line 62 of file face_detection.h.
|
private |
Member variable holding the face detection ROS service topic
Definition at line 56 of file face_detection.h.
|
private |
Object of type FaceDetector
Definition at line 59 of file face_detection.h.
|
private |
< The ROS node handle The face detection service server
Definition at line 53 of file face_detection.h.