GraspHandPostureExecutionActionGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2014-10-06_02-51-20.607186/object_manipulation/object_manipulation_msgs/msg/GraspHandPostureExecutionActionGoal.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPHANDPOSTUREEXECUTIONACTIONGOAL_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPHANDPOSTUREEXECUTIONACTIONGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "std_msgs/Header.h"
00018 #include "actionlib_msgs/GoalID.h"
00019 #include "object_manipulation_msgs/GraspHandPostureExecutionGoal.h"
00020 
00021 namespace object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct GraspHandPostureExecutionActionGoal_ {
00025   typedef GraspHandPostureExecutionActionGoal_<ContainerAllocator> Type;
00026 
00027   GraspHandPostureExecutionActionGoal_()
00028   : header()
00029   , goal_id()
00030   , goal()
00031   {
00032   }
00033 
00034   GraspHandPostureExecutionActionGoal_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , goal_id(_alloc)
00037   , goal(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::actionlib_msgs::GoalID_<ContainerAllocator>  _goal_id_type;
00045    ::actionlib_msgs::GoalID_<ContainerAllocator>  goal_id;
00046 
00047   typedef  ::object_manipulation_msgs::GraspHandPostureExecutionGoal_<ContainerAllocator>  _goal_type;
00048    ::object_manipulation_msgs::GraspHandPostureExecutionGoal_<ContainerAllocator>  goal;
00049 
00050 
00051   typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct GraspHandPostureExecutionActionGoal
00055 typedef  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<std::allocator<void> > GraspHandPostureExecutionActionGoal;
00056 
00057 typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal> GraspHandPostureExecutionActionGoalPtr;
00058 typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal const> GraspHandPostureExecutionActionGoalConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace object_manipulation_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "b713f646490f641167c09761e99f87d6";
00080   }
00081 
00082   static const char* value(const  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xb713f646490f6411ULL;
00084   static const uint64_t static_value2 = 0x67c09761e99f87d6ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "object_manipulation_msgs/GraspHandPostureExecutionActionGoal";
00092   }
00093 
00094   static const char* value(const  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 Header header\n\
00104 actionlib_msgs/GoalID goal_id\n\
00105 GraspHandPostureExecutionGoal goal\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: std_msgs/Header\n\
00109 # Standard metadata for higher-level stamped data types.\n\
00110 # This is generally used to communicate timestamped data \n\
00111 # in a particular coordinate frame.\n\
00112 # \n\
00113 # sequence ID: consecutively increasing ID \n\
00114 uint32 seq\n\
00115 #Two-integer timestamp that is expressed as:\n\
00116 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00117 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00118 # time-handling sugar is provided by the client library\n\
00119 time stamp\n\
00120 #Frame this data is associated with\n\
00121 # 0: no frame\n\
00122 # 1: global frame\n\
00123 string frame_id\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: actionlib_msgs/GoalID\n\
00127 # The stamp should store the time at which this goal was requested.\n\
00128 # It is used by an action server when it tries to preempt all\n\
00129 # goals that were requested before a certain time\n\
00130 time stamp\n\
00131 \n\
00132 # The id provides a way to associate feedback and\n\
00133 # result message with specific goal requests. The id\n\
00134 # specified must be unique.\n\
00135 string id\n\
00136 \n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: object_manipulation_msgs/GraspHandPostureExecutionGoal\n\
00140 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00141 # an action for requesting the finger posture part of grasp be physically carried out by a hand\n\
00142 # the name of the arm being used is not in here, as this will be sent to a specific action server\n\
00143 # for each arm\n\
00144 \n\
00145 # the grasp to be executed\n\
00146 manipulation_msgs/Grasp grasp\n\
00147 \n\
00148 # the goal of this action\n\
00149 # requests that the hand be set in the pre-grasp posture\n\
00150 int32 PRE_GRASP=1\n\
00151 # requests that the hand execute the actual grasp\n\
00152 int32 GRASP=2\n\
00153 # requests that the hand open to release the object\n\
00154 int32 RELEASE=3\n\
00155 int32 goal\n\
00156 \n\
00157 # the max contact force to use (<=0 if no desired max)\n\
00158 float32 max_contact_force\n\
00159 \n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: manipulation_msgs/Grasp\n\
00163 # A name for this grasp\n\
00164 string id\n\
00165 \n\
00166 # The internal posture of the hand for the pre-grasp\n\
00167 # only positions are used\n\
00168 sensor_msgs/JointState pre_grasp_posture\n\
00169 \n\
00170 # The internal posture of the hand for the grasp\n\
00171 # positions and efforts are used\n\
00172 sensor_msgs/JointState grasp_posture\n\
00173 \n\
00174 # The position of the end-effector for the grasp relative to a reference frame \n\
00175 # (that is always specified elsewhere, not in this message)\n\
00176 geometry_msgs/PoseStamped grasp_pose\n\
00177 \n\
00178 # The estimated probability of success for this grasp, or some other\n\
00179 # measure of how \"good\" it is.\n\
00180 float64 grasp_quality\n\
00181 \n\
00182 # The approach motion\n\
00183 GripperTranslation approach\n\
00184 \n\
00185 # The retreat motion\n\
00186 GripperTranslation retreat\n\
00187 \n\
00188 # the maximum contact force to use while grasping (<=0 to disable)\n\
00189 float32 max_contact_force\n\
00190 \n\
00191 # an optional list of obstacles that we have semantic information about\n\
00192 # and that can be touched/pushed/moved in the course of grasping\n\
00193 string[] allowed_touch_objects\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: sensor_msgs/JointState\n\
00197 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00198 #\n\
00199 # The state of each joint (revolute or prismatic) is defined by:\n\
00200 #  * the position of the joint (rad or m),\n\
00201 #  * the velocity of the joint (rad/s or m/s) and \n\
00202 #  * the effort that is applied in the joint (Nm or N).\n\
00203 #\n\
00204 # Each joint is uniquely identified by its name\n\
00205 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00206 # in one message have to be recorded at the same time.\n\
00207 #\n\
00208 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00209 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00210 # effort associated with them, you can leave the effort array empty. \n\
00211 #\n\
00212 # All arrays in this message should have the same size, or be empty.\n\
00213 # This is the only way to uniquely associate the joint name with the correct\n\
00214 # states.\n\
00215 \n\
00216 \n\
00217 Header header\n\
00218 \n\
00219 string[] name\n\
00220 float64[] position\n\
00221 float64[] velocity\n\
00222 float64[] effort\n\
00223 \n\
00224 ================================================================================\n\
00225 MSG: geometry_msgs/PoseStamped\n\
00226 # A Pose with reference coordinate frame and timestamp\n\
00227 Header header\n\
00228 Pose pose\n\
00229 \n\
00230 ================================================================================\n\
00231 MSG: geometry_msgs/Pose\n\
00232 # A representation of pose in free space, composed of postion and orientation. \n\
00233 Point position\n\
00234 Quaternion orientation\n\
00235 \n\
00236 ================================================================================\n\
00237 MSG: geometry_msgs/Point\n\
00238 # This contains the position of a point in free space\n\
00239 float64 x\n\
00240 float64 y\n\
00241 float64 z\n\
00242 \n\
00243 ================================================================================\n\
00244 MSG: geometry_msgs/Quaternion\n\
00245 # This represents an orientation in free space in quaternion form.\n\
00246 \n\
00247 float64 x\n\
00248 float64 y\n\
00249 float64 z\n\
00250 float64 w\n\
00251 \n\
00252 ================================================================================\n\
00253 MSG: manipulation_msgs/GripperTranslation\n\
00254 # defines a translation for the gripper, used in pickup or place tasks\n\
00255 # for example for lifting an object off a table or approaching the table for placing\n\
00256 \n\
00257 # the direction of the translation\n\
00258 geometry_msgs/Vector3Stamped direction\n\
00259 \n\
00260 # the desired translation distance\n\
00261 float32 desired_distance\n\
00262 \n\
00263 # the min distance that must be considered feasible before the\n\
00264 # grasp is even attempted\n\
00265 float32 min_distance\n\
00266 \n\
00267 ================================================================================\n\
00268 MSG: geometry_msgs/Vector3Stamped\n\
00269 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00270 Header header\n\
00271 Vector3 vector\n\
00272 \n\
00273 ================================================================================\n\
00274 MSG: geometry_msgs/Vector3\n\
00275 # This represents a vector in free space. \n\
00276 \n\
00277 float64 x\n\
00278 float64 y\n\
00279 float64 z\n\
00280 ";
00281   }
00282 
00283   static const char* value(const  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> &) { return value(); } 
00284 };
00285 
00286 template<class ContainerAllocator> struct HasHeader< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > : public TrueType {};
00287 template<class ContainerAllocator> struct HasHeader< const ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> > : public TrueType {};
00288 } // namespace message_traits
00289 } // namespace ros
00290 
00291 namespace ros
00292 {
00293 namespace serialization
00294 {
00295 
00296 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> >
00297 {
00298   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00299   {
00300     stream.next(m.header);
00301     stream.next(m.goal_id);
00302     stream.next(m.goal);
00303   }
00304 
00305   ROS_DECLARE_ALLINONE_SERIALIZER;
00306 }; // struct GraspHandPostureExecutionActionGoal_
00307 } // namespace serialization
00308 } // namespace ros
00309 
00310 namespace ros
00311 {
00312 namespace message_operations
00313 {
00314 
00315 template<class ContainerAllocator>
00316 struct Printer< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> >
00317 {
00318   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> & v) 
00319   {
00320     s << indent << "header: ";
00321 s << std::endl;
00322     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00323     s << indent << "goal_id: ";
00324 s << std::endl;
00325     Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + "  ", v.goal_id);
00326     s << indent << "goal: ";
00327 s << std::endl;
00328     Printer< ::object_manipulation_msgs::GraspHandPostureExecutionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.goal);
00329   }
00330 };
00331 
00332 
00333 } // namespace message_operations
00334 } // namespace ros
00335 
00336 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPHANDPOSTUREEXECUTIONACTIONGOAL_H
00337 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 02:58:11