Public Member Functions | Private Member Functions | Private Attributes
ICR::IcrServer Class Reference

#include <icr_server.h>

List of all members.

Public Member Functions

void computeIcr ()
void computeSearchZones ()
int getComputationMode ()
 IcrServer ()
void publish ()
 ~IcrServer ()

Private Member Functions

bool cloudFromContactRegion (unsigned int region_id, pcl::PointCloud< pcl::PointXYZRGBNormal > &cloud, std::vector< unsigned int > &point_ids)
bool cpFromGraspMsg (icr_msgs::Grasp const &c_pts, const std::string &name, Eigen::Vector3d &contact_position, bool &touching) const
uint findObjectPointId (Eigen::Vector3d *point_in) const
void getActivePhalangeParameters (FParamList &phl_param)
void getFingerParameters (std::string const &name, FingerParameters &f_param)
bool getIcr (icr_msgs::GetContactRegions::Request &req, icr_msgs::GetContactRegions::Response &res)
unsigned int getPhalangeId (std::string const &name)
void graspCallback (icr_msgs::Grasp const &grasp)
void initPtGrasp ()
bool saveIcr (icr_msgs::SaveIcr::Request &req, icr_msgs::SaveIcr::Response &res)
bool setActivePhalanges (icr_msgs::SetActivePhalanges::Request &req, icr_msgs::SetActivePhalanges::Response &res)
bool setObject (icr_msgs::SetObject::Request &req, icr_msgs::SetObject::Response &res)
bool setPhalangeParameters (icr_msgs::SetPhalangeParameters::Request &req, icr_msgs::SetPhalangeParameters::Response &res)
bool setSphericalQuality (icr_msgs::SetSphericalQuality::Request &req, icr_msgs::SetSphericalQuality::Response &res)
bool toggleMode (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
bool triggerIcrCmp (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
bool triggerSearchZonesCmp (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)

Private Attributes

std::vector< std::string > active_phalanges_
int computation_mode_
ros::ServiceServer compute_icr_srv_
ros::ServiceServer compute_sz_srv_
ros::Subscriber ct_pts_sub_
ros::ServiceServer get_icr_srv_
bool gws_computed_
IndependentContactRegionsPtr icr_
ros::Publisher icr_cloud_pub_
bool icr_computed_
std::string icr_database_dir_
icr_msgs::ContactRegions::Ptr icr_msg_
ros::Publisher icr_pub_
boost::mutex lock_
ros::NodeHandle nh_
ros::NodeHandle nh_private_
TargetObjectPtr obj_
std::string obj_frame_id_
bool obj_set_
tf::Transform palm_pose_
XmlRpc::XmlRpcValue phalange_config_
GraspPtr pt_grasp_
bool pt_grasp_initialized_
double qs_
ros::ServiceServer save_icr_srv_
ros::ServiceServer set_active_phl_srv_
ros::ServiceServer set_obj_srv_
ros::ServiceServer set_phl_param_srv_
ros::ServiceServer set_qs_srv_
SearchZonesPtr sz_
bool sz_computed_
ros::ServiceServer toggle_mode_srv_

Detailed Description

Definition at line 53 of file icr_server.h.


Constructor & Destructor Documentation

Definition at line 12 of file icr_server.cpp.

Definition at line 58 of file icr_server.h.


Member Function Documentation

bool IcrServer::cloudFromContactRegion ( unsigned int  region_id,
pcl::PointCloud< pcl::PointXYZRGBNormal > &  cloud,
std::vector< unsigned int > &  point_ids 
) [private]

Definition at line 186 of file icr_server.cpp.

Definition at line 106 of file icr_server.cpp.

Definition at line 79 of file icr_server.cpp.

bool IcrServer::cpFromGraspMsg ( icr_msgs::Grasp const &  c_pts,
const std::string &  name,
Eigen::Vector3d &  contact_position,
bool &  touching 
) const [private]

Definition at line 452 of file icr_server.cpp.

uint IcrServer::findObjectPointId ( Eigen::Vector3d *  point_in) const [private]

Definition at line 523 of file icr_server.cpp.

void IcrServer::getActivePhalangeParameters ( FParamList phl_param) [private]

Definition at line 469 of file icr_server.cpp.

Definition at line 543 of file icr_server.cpp.

void IcrServer::getFingerParameters ( std::string const &  name,
FingerParameters f_param 
) [private]

Definition at line 499 of file icr_server.cpp.

bool IcrServer::getIcr ( icr_msgs::GetContactRegions::Request &  req,
icr_msgs::GetContactRegions::Response &  res 
) [private]

Definition at line 685 of file icr_server.cpp.

unsigned int IcrServer::getPhalangeId ( std::string const &  name) [private]

Definition at line 483 of file icr_server.cpp.

void IcrServer::graspCallback ( icr_msgs::Grasp const &  grasp) [private]

Definition at line 399 of file icr_server.cpp.

void IcrServer::initPtGrasp ( ) [private]

Definition at line 351 of file icr_server.cpp.

Definition at line 136 of file icr_server.cpp.

bool IcrServer::saveIcr ( icr_msgs::SaveIcr::Request &  req,
icr_msgs::SaveIcr::Response &  res 
) [private]

Definition at line 554 of file icr_server.cpp.

bool IcrServer::setActivePhalanges ( icr_msgs::SetActivePhalanges::Request &  req,
icr_msgs::SetActivePhalanges::Response &  res 
) [private]

Definition at line 276 of file icr_server.cpp.

bool IcrServer::setObject ( icr_msgs::SetObject::Request &  req,
icr_msgs::SetObject::Response &  res 
) [private]

Definition at line 317 of file icr_server.cpp.

bool IcrServer::setPhalangeParameters ( icr_msgs::SetPhalangeParameters::Request &  req,
icr_msgs::SetPhalangeParameters::Response &  res 
) [private]

Definition at line 232 of file icr_server.cpp.

bool IcrServer::setSphericalQuality ( icr_msgs::SetSphericalQuality::Request &  req,
icr_msgs::SetSphericalQuality::Response &  res 
) [private]

Definition at line 379 of file icr_server.cpp.

bool IcrServer::toggleMode ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [private]

Definition at line 583 of file icr_server.cpp.

bool IcrServer::triggerIcrCmp ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [private]

Definition at line 609 of file icr_server.cpp.

bool IcrServer::triggerSearchZonesCmp ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [private]

Definition at line 649 of file icr_server.cpp.


Member Data Documentation

Definition at line 80 of file icr_server.h.

Definition at line 81 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::compute_icr_srv_ [private]

Definition at line 90 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::compute_sz_srv_ [private]

Definition at line 91 of file icr_server.h.

ros::Subscriber ICR::IcrServer::ct_pts_sub_ [private]

Definition at line 98 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::get_icr_srv_ [private]

Definition at line 89 of file icr_server.h.

Definition at line 76 of file icr_server.h.

Definition at line 72 of file icr_server.h.

ros::Publisher ICR::IcrServer::icr_cloud_pub_ [private]

Definition at line 99 of file icr_server.h.

Definition at line 78 of file icr_server.h.

std::string ICR::IcrServer::icr_database_dir_ [private]

Definition at line 84 of file icr_server.h.

icr_msgs::ContactRegions::Ptr ICR::IcrServer::icr_msg_ [private]

Definition at line 86 of file icr_server.h.

ros::Publisher ICR::IcrServer::icr_pub_ [private]

Definition at line 100 of file icr_server.h.

Definition at line 85 of file icr_server.h.

ros::NodeHandle ICR::IcrServer::nh_ [private]

Definition at line 67 of file icr_server.h.

ros::NodeHandle ICR::IcrServer::nh_private_ [private]

Definition at line 67 of file icr_server.h.

Definition at line 69 of file icr_server.h.

std::string ICR::IcrServer::obj_frame_id_ [private]

Definition at line 83 of file icr_server.h.

bool ICR::IcrServer::obj_set_ [private]

Definition at line 74 of file icr_server.h.

Definition at line 87 of file icr_server.h.

XmlRpc::XmlRpcValue ICR::IcrServer::phalange_config_ [private]

Definition at line 68 of file icr_server.h.

Definition at line 70 of file icr_server.h.

Definition at line 75 of file icr_server.h.

double ICR::IcrServer::qs_ [private]

Definition at line 82 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::save_icr_srv_ [private]

Definition at line 97 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::set_active_phl_srv_ [private]

Definition at line 95 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::set_obj_srv_ [private]

Definition at line 92 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::set_phl_param_srv_ [private]

Definition at line 96 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::set_qs_srv_ [private]

Definition at line 94 of file icr_server.h.

Definition at line 71 of file icr_server.h.

Definition at line 77 of file icr_server.h.

ros::ServiceServer ICR::IcrServer::toggle_mode_srv_ [private]

Definition at line 93 of file icr_server.h.


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


icr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:36:10