GraspHandPostureExecutionAction.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/GraspHandPostureExecutionAction.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPHANDPOSTUREEXECUTIONACTION_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPHANDPOSTUREEXECUTIONACTION_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 "object_manipulation_msgs/GraspHandPostureExecutionActionGoal.h"
00018 #include "object_manipulation_msgs/GraspHandPostureExecutionActionResult.h"
00019 #include "object_manipulation_msgs/GraspHandPostureExecutionActionFeedback.h"
00020 
00021 namespace object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct GraspHandPostureExecutionAction_ {
00025   typedef GraspHandPostureExecutionAction_<ContainerAllocator> Type;
00026 
00027   GraspHandPostureExecutionAction_()
00028   : action_goal()
00029   , action_result()
00030   , action_feedback()
00031   {
00032   }
00033 
00034   GraspHandPostureExecutionAction_(const ContainerAllocator& _alloc)
00035   : action_goal(_alloc)
00036   , action_result(_alloc)
00037   , action_feedback(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator>  _action_goal_type;
00042    ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator>  action_goal;
00043 
00044   typedef  ::object_manipulation_msgs::GraspHandPostureExecutionActionResult_<ContainerAllocator>  _action_result_type;
00045    ::object_manipulation_msgs::GraspHandPostureExecutionActionResult_<ContainerAllocator>  action_result;
00046 
00047   typedef  ::object_manipulation_msgs::GraspHandPostureExecutionActionFeedback_<ContainerAllocator>  _action_feedback_type;
00048    ::object_manipulation_msgs::GraspHandPostureExecutionActionFeedback_<ContainerAllocator>  action_feedback;
00049 
00050 
00051   typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct GraspHandPostureExecutionAction
00055 typedef  ::object_manipulation_msgs::GraspHandPostureExecutionAction_<std::allocator<void> > GraspHandPostureExecutionAction;
00056 
00057 typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionAction> GraspHandPostureExecutionActionPtr;
00058 typedef boost::shared_ptr< ::object_manipulation_msgs::GraspHandPostureExecutionAction const> GraspHandPostureExecutionActionConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<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::GraspHandPostureExecutionAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "ce7f0e50f3ee13e183420cd4d5559794";
00080   }
00081 
00082   static const char* value(const  ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xce7f0e50f3ee13e1ULL;
00084   static const uint64_t static_value2 = 0x83420cd4d5559794ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "object_manipulation_msgs/GraspHandPostureExecutionAction";
00092   }
00093 
00094   static const char* value(const  ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 GraspHandPostureExecutionActionGoal action_goal\n\
00104 GraspHandPostureExecutionActionResult action_result\n\
00105 GraspHandPostureExecutionActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: object_manipulation_msgs/GraspHandPostureExecutionActionGoal\n\
00109 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00110 \n\
00111 Header header\n\
00112 actionlib_msgs/GoalID goal_id\n\
00113 GraspHandPostureExecutionGoal goal\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: actionlib_msgs/GoalID\n\
00135 # The stamp should store the time at which this goal was requested.\n\
00136 # It is used by an action server when it tries to preempt all\n\
00137 # goals that were requested before a certain time\n\
00138 time stamp\n\
00139 \n\
00140 # The id provides a way to associate feedback and\n\
00141 # result message with specific goal requests. The id\n\
00142 # specified must be unique.\n\
00143 string id\n\
00144 \n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: object_manipulation_msgs/GraspHandPostureExecutionGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 # an action for requesting the finger posture part of grasp be physically carried out by a hand\n\
00150 # the name of the arm being used is not in here, as this will be sent to a specific action server\n\
00151 # for each arm\n\
00152 \n\
00153 # the grasp to be executed\n\
00154 manipulation_msgs/Grasp grasp\n\
00155 \n\
00156 # the goal of this action\n\
00157 # requests that the hand be set in the pre-grasp posture\n\
00158 int32 PRE_GRASP=1\n\
00159 # requests that the hand execute the actual grasp\n\
00160 int32 GRASP=2\n\
00161 # requests that the hand open to release the object\n\
00162 int32 RELEASE=3\n\
00163 int32 goal\n\
00164 \n\
00165 # the max contact force to use (<=0 if no desired max)\n\
00166 float32 max_contact_force\n\
00167 \n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: manipulation_msgs/Grasp\n\
00171 # A name for this grasp\n\
00172 string id\n\
00173 \n\
00174 # The internal posture of the hand for the pre-grasp\n\
00175 # only positions are used\n\
00176 sensor_msgs/JointState pre_grasp_posture\n\
00177 \n\
00178 # The internal posture of the hand for the grasp\n\
00179 # positions and efforts are used\n\
00180 sensor_msgs/JointState grasp_posture\n\
00181 \n\
00182 # The position of the end-effector for the grasp relative to a reference frame \n\
00183 # (that is always specified elsewhere, not in this message)\n\
00184 geometry_msgs/PoseStamped grasp_pose\n\
00185 \n\
00186 # The estimated probability of success for this grasp, or some other\n\
00187 # measure of how \"good\" it is.\n\
00188 float64 grasp_quality\n\
00189 \n\
00190 # The approach motion\n\
00191 GripperTranslation approach\n\
00192 \n\
00193 # The retreat motion\n\
00194 GripperTranslation retreat\n\
00195 \n\
00196 # the maximum contact force to use while grasping (<=0 to disable)\n\
00197 float32 max_contact_force\n\
00198 \n\
00199 # an optional list of obstacles that we have semantic information about\n\
00200 # and that can be touched/pushed/moved in the course of grasping\n\
00201 string[] allowed_touch_objects\n\
00202 \n\
00203 ================================================================================\n\
00204 MSG: sensor_msgs/JointState\n\
00205 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00206 #\n\
00207 # The state of each joint (revolute or prismatic) is defined by:\n\
00208 #  * the position of the joint (rad or m),\n\
00209 #  * the velocity of the joint (rad/s or m/s) and \n\
00210 #  * the effort that is applied in the joint (Nm or N).\n\
00211 #\n\
00212 # Each joint is uniquely identified by its name\n\
00213 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00214 # in one message have to be recorded at the same time.\n\
00215 #\n\
00216 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00217 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00218 # effort associated with them, you can leave the effort array empty. \n\
00219 #\n\
00220 # All arrays in this message should have the same size, or be empty.\n\
00221 # This is the only way to uniquely associate the joint name with the correct\n\
00222 # states.\n\
00223 \n\
00224 \n\
00225 Header header\n\
00226 \n\
00227 string[] name\n\
00228 float64[] position\n\
00229 float64[] velocity\n\
00230 float64[] effort\n\
00231 \n\
00232 ================================================================================\n\
00233 MSG: geometry_msgs/PoseStamped\n\
00234 # A Pose with reference coordinate frame and timestamp\n\
00235 Header header\n\
00236 Pose pose\n\
00237 \n\
00238 ================================================================================\n\
00239 MSG: geometry_msgs/Pose\n\
00240 # A representation of pose in free space, composed of postion and orientation. \n\
00241 Point position\n\
00242 Quaternion orientation\n\
00243 \n\
00244 ================================================================================\n\
00245 MSG: geometry_msgs/Point\n\
00246 # This contains the position of a point in free space\n\
00247 float64 x\n\
00248 float64 y\n\
00249 float64 z\n\
00250 \n\
00251 ================================================================================\n\
00252 MSG: geometry_msgs/Quaternion\n\
00253 # This represents an orientation in free space in quaternion form.\n\
00254 \n\
00255 float64 x\n\
00256 float64 y\n\
00257 float64 z\n\
00258 float64 w\n\
00259 \n\
00260 ================================================================================\n\
00261 MSG: manipulation_msgs/GripperTranslation\n\
00262 # defines a translation for the gripper, used in pickup or place tasks\n\
00263 # for example for lifting an object off a table or approaching the table for placing\n\
00264 \n\
00265 # the direction of the translation\n\
00266 geometry_msgs/Vector3Stamped direction\n\
00267 \n\
00268 # the desired translation distance\n\
00269 float32 desired_distance\n\
00270 \n\
00271 # the min distance that must be considered feasible before the\n\
00272 # grasp is even attempted\n\
00273 float32 min_distance\n\
00274 \n\
00275 ================================================================================\n\
00276 MSG: geometry_msgs/Vector3Stamped\n\
00277 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00278 Header header\n\
00279 Vector3 vector\n\
00280 \n\
00281 ================================================================================\n\
00282 MSG: geometry_msgs/Vector3\n\
00283 # This represents a vector in free space. \n\
00284 \n\
00285 float64 x\n\
00286 float64 y\n\
00287 float64 z\n\
00288 ================================================================================\n\
00289 MSG: object_manipulation_msgs/GraspHandPostureExecutionActionResult\n\
00290 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00291 \n\
00292 Header header\n\
00293 actionlib_msgs/GoalStatus status\n\
00294 GraspHandPostureExecutionResult result\n\
00295 \n\
00296 ================================================================================\n\
00297 MSG: actionlib_msgs/GoalStatus\n\
00298 GoalID goal_id\n\
00299 uint8 status\n\
00300 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00301 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00302 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00303                             #   and has since completed its execution (Terminal State)\n\
00304 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00305 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00306                             #    to some failure (Terminal State)\n\
00307 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00308                             #    because the goal was unattainable or invalid (Terminal State)\n\
00309 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00310                             #    and has not yet completed execution\n\
00311 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00312                             #    but the action server has not yet confirmed that the goal is canceled\n\
00313 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00314                             #    and was successfully cancelled (Terminal State)\n\
00315 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00316                             #    sent over the wire by an action server\n\
00317 \n\
00318 #Allow for the user to associate a string with GoalStatus for debugging\n\
00319 string text\n\
00320 \n\
00321 \n\
00322 ================================================================================\n\
00323 MSG: object_manipulation_msgs/GraspHandPostureExecutionResult\n\
00324 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00325 # the result of the action\n\
00326 ManipulationResult result\n\
00327 \n\
00328 \n\
00329 ================================================================================\n\
00330 MSG: object_manipulation_msgs/ManipulationResult\n\
00331 # Result codes for manipulation tasks\n\
00332 \n\
00333 # task completed as expected\n\
00334 # generally means you can proceed as planned\n\
00335 int32 SUCCESS = 1\n\
00336 \n\
00337 # task not possible (e.g. out of reach or obstacles in the way)\n\
00338 # generally means that the world was not disturbed, so you can try another task\n\
00339 int32 UNFEASIBLE = -1\n\
00340 \n\
00341 # task was thought possible, but failed due to unexpected events during execution\n\
00342 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00343 # your sensed world model before proceeding to another task\n\
00344 int32 FAILED = -2\n\
00345 \n\
00346 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00347 # generally requires human attention\n\
00348 int32 ERROR = -3\n\
00349 \n\
00350 # means that at some point during execution we ended up in a state that the collision-aware\n\
00351 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00352 # probably need a new collision map to move the arm out of the stuck position\n\
00353 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00354 \n\
00355 # specific to grasp actions\n\
00356 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00357 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00358 int32 LIFT_FAILED = -5\n\
00359 \n\
00360 # specific to place actions\n\
00361 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00362 # it is likely that the collision environment will see collisions between the hand and the object\n\
00363 int32 RETREAT_FAILED = -6\n\
00364 \n\
00365 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00366 int32 CANCELLED = -7\n\
00367 \n\
00368 # the actual value of this error code\n\
00369 int32 value\n\
00370 \n\
00371 ================================================================================\n\
00372 MSG: object_manipulation_msgs/GraspHandPostureExecutionActionFeedback\n\
00373 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00374 \n\
00375 Header header\n\
00376 actionlib_msgs/GoalStatus status\n\
00377 GraspHandPostureExecutionFeedback feedback\n\
00378 \n\
00379 ================================================================================\n\
00380 MSG: object_manipulation_msgs/GraspHandPostureExecutionFeedback\n\
00381 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00382 # empty for now\n\
00383 \n\
00384 \n\
00385 \n\
00386 ";
00387   }
00388 
00389   static const char* value(const  ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> &) { return value(); } 
00390 };
00391 
00392 } // namespace message_traits
00393 } // namespace ros
00394 
00395 namespace ros
00396 {
00397 namespace serialization
00398 {
00399 
00400 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> >
00401 {
00402   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00403   {
00404     stream.next(m.action_goal);
00405     stream.next(m.action_result);
00406     stream.next(m.action_feedback);
00407   }
00408 
00409   ROS_DECLARE_ALLINONE_SERIALIZER;
00410 }; // struct GraspHandPostureExecutionAction_
00411 } // namespace serialization
00412 } // namespace ros
00413 
00414 namespace ros
00415 {
00416 namespace message_operations
00417 {
00418 
00419 template<class ContainerAllocator>
00420 struct Printer< ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> >
00421 {
00422   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::GraspHandPostureExecutionAction_<ContainerAllocator> & v) 
00423   {
00424     s << indent << "action_goal: ";
00425 s << std::endl;
00426     Printer< ::object_manipulation_msgs::GraspHandPostureExecutionActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
00427     s << indent << "action_result: ";
00428 s << std::endl;
00429     Printer< ::object_manipulation_msgs::GraspHandPostureExecutionActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
00430     s << indent << "action_feedback: ";
00431 s << std::endl;
00432     Printer< ::object_manipulation_msgs::GraspHandPostureExecutionActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
00433   }
00434 };
00435 
00436 
00437 } // namespace message_operations
00438 } // namespace ros
00439 
00440 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPHANDPOSTUREEXECUTIONACTION_H
00441 


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