Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ros_pick_client::PickClient Class Referenceabstract

#include <pick_client.h>

Inheritance diagram for ros_pick_client::PickClient:
Inheritance graph
[legend]

Public Member Functions

 PickClient (const std::string &host, const std::string &node_name, const ros::NodeHandle &nh)
 
virtual ~PickClient ()
 

Protected Member Functions

void advertiseServices ()
 
template<typename Request , typename Response >
bool callService (const std::string &name, const Request &req, Response &res)
 
json createSharedParameters (rc_pick_client::pickModuleConfig &config)
 
bool deleteLoadCarriersSrv (rc_pick_client::DeleteLoadCarriersRequest &request, rc_pick_client::DeleteLoadCarriersResponse &response)
 
bool deleteROISrv (rc_pick_client::DeleteRegionsOfInterestRequest &request, rc_pick_client::DeleteRegionsOfInterestResponse &response)
 
bool detectFillingLevelSrv (rc_pick_client::DetectFillingLevelRequest &request, rc_pick_client::DetectFillingLevelResponse &response)
 
bool detectLoadCarriersSrv (rc_pick_client::DetectLoadCarriersRequest &request, rc_pick_client::DetectLoadCarriersResponse &response)
 
virtual void dynamicReconfigureCallback (rc_pick_client::pickModuleConfig &config, uint32_t)=0
 
bool getLoadCarriers (rc_pick_client::GetLoadCarriersRequest &request, rc_pick_client::GetLoadCarriersResponse &response)
 
bool getROIs (rc_pick_client::GetRegionsOfInterestRequest &request, rc_pick_client::GetRegionsOfInterestResponse &response)
 
void initConfiguration ()
 
void paramsToCfg (const json &params, rc_pick_client::pickModuleConfig &cfg)
 
bool setLoadCarrier (rc_pick_client::SetLoadCarrierRequest &request, rc_pick_client::SetLoadCarrierResponse &response)
 
bool setROI (rc_pick_client::SetRegionOfInterestRequest &request, rc_pick_client::SetRegionOfInterestResponse &response)
 
void startPick ()
 
void stopPick ()
 

Protected Attributes

ros::NodeHandle nh_
 
rc_rest_api::RestHelper rest_helper_
 
std::unique_ptr< dynamic_reconfigure::Server< rc_pick_client::pickModuleConfig > > server_
 
ros::ServiceServer srv_delete_lcs_
 
ros::ServiceServer srv_delete_rois_
 
ros::ServiceServer srv_detect_filling_level_
 
ros::ServiceServer srv_detect_lc_
 
ros::ServiceServer srv_get_lcs_
 
ros::ServiceServer srv_get_rois_
 
ros::ServiceServer srv_set_lc_
 
ros::ServiceServer srv_set_roi_
 
pick_visualization::Visualization visualizer_
 

Detailed Description

Definition at line 61 of file pick_client.h.

Constructor & Destructor Documentation

ros_pick_client::PickClient::PickClient ( const std::string &  host,
const std::string &  node_name,
const ros::NodeHandle nh 
)

Definition at line 39 of file pick_client.cpp.

ros_pick_client::PickClient::~PickClient ( )
virtual

Definition at line 47 of file pick_client.cpp.

Member Function Documentation

void ros_pick_client::PickClient::advertiseServices ( )
protected

Definition at line 131 of file pick_client.cpp.

template<typename Request , typename Response >
bool ros_pick_client::PickClient::callService ( const std::string &  name,
const Request &  req,
Response &  res 
)
inlineprotected

Definition at line 89 of file pick_client.h.

json ros_pick_client::PickClient::createSharedParameters ( rc_pick_client::pickModuleConfig &  config)
protected

Definition at line 213 of file pick_client.cpp.

bool ros_pick_client::PickClient::deleteLoadCarriersSrv ( rc_pick_client::DeleteLoadCarriersRequest &  request,
rc_pick_client::DeleteLoadCarriersResponse &  response 
)
protected

Definition at line 87 of file pick_client.cpp.

bool ros_pick_client::PickClient::deleteROISrv ( rc_pick_client::DeleteRegionsOfInterestRequest &  request,
rc_pick_client::DeleteRegionsOfInterestResponse &  response 
)
protected

Definition at line 124 of file pick_client.cpp.

bool ros_pick_client::PickClient::detectFillingLevelSrv ( rc_pick_client::DetectFillingLevelRequest &  request,
rc_pick_client::DetectFillingLevelResponse &  response 
)
protected

Definition at line 102 of file pick_client.cpp.

bool ros_pick_client::PickClient::detectLoadCarriersSrv ( rc_pick_client::DetectLoadCarriersRequest &  request,
rc_pick_client::DetectLoadCarriersResponse &  response 
)
protected

Definition at line 94 of file pick_client.cpp.

virtual void ros_pick_client::PickClient::dynamicReconfigureCallback ( rc_pick_client::pickModuleConfig &  config,
uint32_t   
)
protectedpure virtual
bool ros_pick_client::PickClient::getLoadCarriers ( rc_pick_client::GetLoadCarriersRequest &  request,
rc_pick_client::GetLoadCarriersResponse &  response 
)
protected

Definition at line 80 of file pick_client.cpp.

bool ros_pick_client::PickClient::getROIs ( rc_pick_client::GetRegionsOfInterestRequest &  request,
rc_pick_client::GetRegionsOfInterestResponse &  response 
)
protected

Definition at line 117 of file pick_client.cpp.

void ros_pick_client::PickClient::initConfiguration ( )
protected

Definition at line 179 of file pick_client.cpp.

void ros_pick_client::PickClient::paramsToCfg ( const json params,
rc_pick_client::pickModuleConfig &  cfg 
)
protected

Definition at line 143 of file pick_client.cpp.

bool ros_pick_client::PickClient::setLoadCarrier ( rc_pick_client::SetLoadCarrierRequest &  request,
rc_pick_client::SetLoadCarrierResponse &  response 
)
protected

Definition at line 73 of file pick_client.cpp.

bool ros_pick_client::PickClient::setROI ( rc_pick_client::SetRegionOfInterestRequest &  request,
rc_pick_client::SetRegionOfInterestResponse &  response 
)
protected

Definition at line 110 of file pick_client.cpp.

void ros_pick_client::PickClient::startPick ( )
protected

Definition at line 63 of file pick_client.cpp.

void ros_pick_client::PickClient::stopPick ( )
protected

Definition at line 68 of file pick_client.cpp.

Member Data Documentation

ros::NodeHandle ros_pick_client::PickClient::nh_
protected

Definition at line 69 of file pick_client.h.

rc_rest_api::RestHelper ros_pick_client::PickClient::rest_helper_
protected

Definition at line 72 of file pick_client.h.

std::unique_ptr<dynamic_reconfigure::Server<rc_pick_client::pickModuleConfig> > ros_pick_client::PickClient::server_
protected

Definition at line 70 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_delete_lcs_
protected

Definition at line 80 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_delete_rois_
protected

Definition at line 83 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_detect_filling_level_
protected

Definition at line 77 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_detect_lc_
protected

Definition at line 76 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_get_lcs_
protected

Definition at line 79 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_get_rois_
protected

Definition at line 82 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_set_lc_
protected

Definition at line 78 of file pick_client.h.

ros::ServiceServer ros_pick_client::PickClient::srv_set_roi_
protected

Definition at line 81 of file pick_client.h.

pick_visualization::Visualization ros_pick_client::PickClient::visualizer_
protected

Definition at line 74 of file pick_client.h.


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


rc_pick_client
Author(s): Monika Florek-Jasinska
autogenerated on Sat Feb 13 2021 03:41:58