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 HumanDetection uptakes the task of handling the ROS service callbacks. More...
#include <human_detection.h>
Public Member Functions | |
HumanDetection (void) | |
Default constructor. More... | |
bool | humanDetectionCallback (rapp_platform_ros_communications::HumanDetectionRosSrv::Request &req, rapp_platform_ros_communications::HumanDetectionRosSrv::Response &res) |
Serves the human detection ROS service callback. More... | |
Private Attributes | |
HumanDetector | human_detector_ |
ros::ServiceServer | humanDetectionService_ |
std::string | humanDetectionTopic_ |
ros::NodeHandle | nh_ |
Class HumanDetection uptakes the task of handling the ROS service callbacks.
Definition at line 31 of file human_detection.h.
HumanDetection::HumanDetection | ( | void | ) |
Default constructor.
Default constructor. Performs initializations.
Definition at line 24 of file human_detection.cpp.
bool HumanDetection::humanDetectionCallback | ( | rapp_platform_ros_communications::HumanDetectionRosSrv::Request & | req, |
rapp_platform_ros_communications::HumanDetectionRosSrv::Response & | res | ||
) |
Serves the human detection ROS service callback.
req | [rapp_platform_ros_communications::HumanDetectionRosSrv::Request&] The ROS service request |
res | [rapp_platform_ros_communications::HumanDetectionRosSrv::Response&] The ROS service response |
Definition at line 42 of file human_detection.cpp.
|
private |
Definition at line 62 of file human_detection.h.
|
private |
Member variable holding the human detection ROS service topic
Definition at line 56 of file human_detection.h.
|
private |
Object of type HumanDetector
Definition at line 59 of file human_detection.h.
|
private |
< The ROS node handle The human detection service server
Definition at line 53 of file human_detection.h.