44 rc_pick_client::ComputeGraspsResponse& response)
56 js_param[
"name"] =
"cluster_max_dimension";
57 js_param[
"value"] = config.cluster_max_dimension;
58 js_params.push_back(js_param);
59 js_param[
"name"] =
"clustering_patch_size";
60 js_param[
"value"] = config.clustering_patch_size;
61 js_params.push_back(js_param);
void visualizeGrasps(const std::vector< rc_pick_client::SuctionGrasp > &ros_grasps)
void dynamicReconfigureCallback(rc_pick_client::pickModuleConfig &config, uint32_t)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
ros::ServiceServer srv_compute_grasps_
std::unique_ptr< dynamic_reconfigure::Server< rc_pick_client::pickModuleConfig > > server_
json createSharedParameters(rc_pick_client::pickModuleConfig &config)
json setParameters(const json &js_params)
bool callService(const std::string &name, const Request &req, Response &res)
void visualizeLoadCarriers(const std::vector< rc_pick_client::LoadCarrier > &ros_lcs)
void paramsToCfg(const json ¶ms, rc_pick_client::pickModuleConfig &cfg)
pick_visualization::Visualization visualizer_
ItempickClient(const std::string &host, const ros::NodeHandle &nh)
bool computeGraspsSrv(rc_pick_client::ComputeGraspsRequest &request, rc_pick_client::ComputeGraspsResponse &response)
rc_rest_api::RestHelper rest_helper_