Public Member Functions | Protected Member Functions | Protected Attributes
PickServer Class Reference

List of all members.

Public Member Functions

void pick (const calvin_msgs::PickAndStoreGoalConstPtr &goal)
 PickServer (std::string name)
bool place (std::string id)
 ~PickServer ()

Protected Member Functions

moveit_msgs::Grasp build_grasp (tf::Transform t, const double close_width)
std::vector< moveit_msgs::Grasp > generate_grasps (double x, double y, double z, const double width, bool no_straight_grasps)
void publish_grasps_as_markerarray (std::vector< moveit_msgs::Grasp > grasps)

Protected Attributes

actionlib::SimpleActionServer
< calvin_msgs::PickAndStoreAction > * 
actionserver
ros::ServiceClient clear_octomap
ros::Publisher grasps_marker
moveit::planning_interface::MoveGroupgroup
planning_scene_monitor::PlanningSceneMonitorPtr monitor
ros::NodeHandle nh
tf::TransformListener tfl

Detailed Description

Definition at line 20 of file pick_server.cpp.


Constructor & Destructor Documentation

PickServer::PickServer ( std::string  name) [inline]

Definition at line 184 of file pick_server.cpp.

Definition at line 194 of file pick_server.cpp.


Member Function Documentation

moveit_msgs::Grasp PickServer::build_grasp ( tf::Transform  t,
const double  close_width 
) [inline, protected]

Definition at line 55 of file pick_server.cpp.

std::vector<moveit_msgs::Grasp> PickServer::generate_grasps ( double  x,
double  y,
double  z,
const double  width,
bool  no_straight_grasps 
) [inline, protected]

x, y, z: center of grasp point (the point that should be between the finger tips of the gripper) close gripper to width

Definition at line 115 of file pick_server.cpp.

void PickServer::pick ( const calvin_msgs::PickAndStoreGoalConstPtr &  goal) [inline]

Definition at line 198 of file pick_server.cpp.

bool PickServer::place ( std::string  id) [inline]

Definition at line 278 of file pick_server.cpp.

void PickServer::publish_grasps_as_markerarray ( std::vector< moveit_msgs::Grasp >  grasps) [inline, protected]

Definition at line 31 of file pick_server.cpp.


Member Data Documentation

actionlib::SimpleActionServer<calvin_msgs::PickAndStoreAction>* PickServer::actionserver [protected]

Definition at line 23 of file pick_server.cpp.

Definition at line 26 of file pick_server.cpp.

Definition at line 28 of file pick_server.cpp.

Definition at line 24 of file pick_server.cpp.

planning_scene_monitor::PlanningSceneMonitorPtr PickServer::monitor [protected]

Definition at line 25 of file pick_server.cpp.

Definition at line 22 of file pick_server.cpp.

Definition at line 29 of file pick_server.cpp.


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


calvin_pick_server
Author(s): Michael Stypa
autogenerated on Thu Jun 6 2019 17:38:53