00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPACTIONRESULT_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPACTIONRESULT_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "std_msgs/Header.h"
00014 #include "actionlib_msgs/GoalStatus.h"
00015 #include "object_manipulation_msgs/PickupResult.h"
00016
00017 namespace object_manipulation_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct PickupActionResult_ : public ros::Message
00021 {
00022 typedef PickupActionResult_<ContainerAllocator> Type;
00023
00024 PickupActionResult_()
00025 : header()
00026 , status()
00027 , result()
00028 {
00029 }
00030
00031 PickupActionResult_(const ContainerAllocator& _alloc)
00032 : header(_alloc)
00033 , status(_alloc)
00034 , result(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _status_type;
00042 ::actionlib_msgs::GoalStatus_<ContainerAllocator> status;
00043
00044 typedef ::object_manipulation_msgs::PickupResult_<ContainerAllocator> _result_type;
00045 ::object_manipulation_msgs::PickupResult_<ContainerAllocator> result;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "object_manipulation_msgs/PickupActionResult"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00052
00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00054
00055 private:
00056 static const char* __s_getMD5Sum_() { return "37706bf50c1b11b7802944213b641a54"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00059
00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00061
00062 private:
00063 static const char* __s_getMessageDefinition_() { return "Header header\n\
00064 actionlib_msgs/GoalStatus status\n\
00065 PickupResult result\n\
00066 \n\
00067 ================================================================================\n\
00068 MSG: std_msgs/Header\n\
00069 # Standard metadata for higher-level stamped data types.\n\
00070 # This is generally used to communicate timestamped data \n\
00071 # in a particular coordinate frame.\n\
00072 # \n\
00073 # sequence ID: consecutively increasing ID \n\
00074 uint32 seq\n\
00075 #Two-integer timestamp that is expressed as:\n\
00076 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00077 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00078 # time-handling sugar is provided by the client library\n\
00079 time stamp\n\
00080 #Frame this data is associated with\n\
00081 # 0: no frame\n\
00082 # 1: global frame\n\
00083 string frame_id\n\
00084 \n\
00085 ================================================================================\n\
00086 MSG: actionlib_msgs/GoalStatus\n\
00087 GoalID goal_id\n\
00088 uint8 status\n\
00089 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00090 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00091 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00092 # and has since completed its execution (Terminal State)\n\
00093 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00094 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00095 # to some failure (Terminal State)\n\
00096 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00097 # because the goal was unattainable or invalid (Terminal State)\n\
00098 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00099 # and has not yet completed execution\n\
00100 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00101 # but the action server has not yet confirmed that the goal is canceled\n\
00102 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00103 # and was successfully cancelled (Terminal State)\n\
00104 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00105 # sent over the wire by an action server\n\
00106 \n\
00107 #Allow for the user to associate a string with GoalStatus for debugging\n\
00108 string text\n\
00109 \n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: actionlib_msgs/GoalID\n\
00113 # The stamp should store the time at which this goal was requested.\n\
00114 # It is used by an action server when it tries to preempt all\n\
00115 # goals that were requested before a certain time\n\
00116 time stamp\n\
00117 \n\
00118 # The id provides a way to associate feedback and\n\
00119 # result message with specific goal requests. The id\n\
00120 # specified must be unique.\n\
00121 string id\n\
00122 \n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: object_manipulation_msgs/PickupResult\n\
00126 # The overall result of the pickup attempt\n\
00127 ManipulationResult manipulation_result\n\
00128 \n\
00129 # The performed grasp, if attempt was successful\n\
00130 Grasp grasp\n\
00131 \n\
00132 # the complete list of attempted grasp, in the order in which they have been attempted\n\
00133 # the successful one should be the last one in this list\n\
00134 Grasp[] attempted_grasps\n\
00135 \n\
00136 # the outcomes of the attempted grasps, in the same order as attempted_grasps\n\
00137 GraspResult[] attempted_grasp_results\n\
00138 ================================================================================\n\
00139 MSG: object_manipulation_msgs/ManipulationResult\n\
00140 # Result codes for manipulation tasks\n\
00141 \n\
00142 # task completed as expected\n\
00143 # generally means you can proceed as planned\n\
00144 int32 SUCCESS = 1\n\
00145 \n\
00146 # task not possible (e.g. out of reach or obstacles in the way)\n\
00147 # generally means that the world was not disturbed, so you can try another task\n\
00148 int32 UNFEASIBLE = -1\n\
00149 \n\
00150 # task was thought possible, but failed due to unexpected events during execution\n\
00151 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00152 # your sensed world model before proceeding to another task\n\
00153 int32 FAILED = -2\n\
00154 \n\
00155 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00156 # generally requires human attention\n\
00157 int32 ERROR = -3\n\
00158 \n\
00159 # means that at some point during execution we ended up in a state that the collision-aware\n\
00160 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00161 # probably need a new collision map to move the arm out of the stuck position\n\
00162 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00163 \n\
00164 # specific to grasp actions\n\
00165 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00166 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00167 int32 LIFT_FAILED = -5\n\
00168 \n\
00169 # specific to place actions\n\
00170 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00171 # it is likely that the collision environment will see collisions between the hand and the object\n\
00172 int32 RETREAT_FAILED = -6\n\
00173 \n\
00174 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00175 int32 CANCELLED = -7\n\
00176 \n\
00177 # the actual value of this error code\n\
00178 int32 value\n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: object_manipulation_msgs/Grasp\n\
00182 \n\
00183 # The internal posture of the hand for the pre-grasp\n\
00184 # only positions are used\n\
00185 sensor_msgs/JointState pre_grasp_posture\n\
00186 \n\
00187 # The internal posture of the hand for the grasp\n\
00188 # positions and efforts are used\n\
00189 sensor_msgs/JointState grasp_posture\n\
00190 \n\
00191 # The position of the end-effector for the grasp relative to the object\n\
00192 geometry_msgs/Pose grasp_pose\n\
00193 \n\
00194 # The estimated probability of success for this grasp\n\
00195 float64 success_probability\n\
00196 \n\
00197 # Debug flag to indicate that this grasp would be the best in its cluster\n\
00198 bool cluster_rep\n\
00199 ================================================================================\n\
00200 MSG: sensor_msgs/JointState\n\
00201 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00202 #\n\
00203 # The state of each joint (revolute or prismatic) is defined by:\n\
00204 # * the position of the joint (rad or m),\n\
00205 # * the velocity of the joint (rad/s or m/s) and \n\
00206 # * the effort that is applied in the joint (Nm or N).\n\
00207 #\n\
00208 # Each joint is uniquely identified by its name\n\
00209 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00210 # in one message have to be recorded at the same time.\n\
00211 #\n\
00212 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00213 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00214 # effort associated with them, you can leave the effort array empty. \n\
00215 #\n\
00216 # All arrays in this message should have the same size, or be empty.\n\
00217 # This is the only way to uniquely associate the joint name with the correct\n\
00218 # states.\n\
00219 \n\
00220 \n\
00221 Header header\n\
00222 \n\
00223 string[] name\n\
00224 float64[] position\n\
00225 float64[] velocity\n\
00226 float64[] effort\n\
00227 \n\
00228 ================================================================================\n\
00229 MSG: geometry_msgs/Pose\n\
00230 # A representation of pose in free space, composed of postion and orientation. \n\
00231 Point position\n\
00232 Quaternion orientation\n\
00233 \n\
00234 ================================================================================\n\
00235 MSG: geometry_msgs/Point\n\
00236 # This contains the position of a point in free space\n\
00237 float64 x\n\
00238 float64 y\n\
00239 float64 z\n\
00240 \n\
00241 ================================================================================\n\
00242 MSG: geometry_msgs/Quaternion\n\
00243 # This represents an orientation in free space in quaternion form.\n\
00244 \n\
00245 float64 x\n\
00246 float64 y\n\
00247 float64 z\n\
00248 float64 w\n\
00249 \n\
00250 ================================================================================\n\
00251 MSG: object_manipulation_msgs/GraspResult\n\
00252 int32 SUCCESS = 1\n\
00253 int32 GRASP_OUT_OF_REACH = 2\n\
00254 int32 GRASP_IN_COLLISION = 3\n\
00255 int32 GRASP_UNFEASIBLE = 4\n\
00256 int32 PREGRASP_OUT_OF_REACH = 5\n\
00257 int32 PREGRASP_IN_COLLISION = 6\n\
00258 int32 PREGRASP_UNFEASIBLE = 7\n\
00259 int32 LIFT_OUT_OF_REACH = 8\n\
00260 int32 LIFT_IN_COLLISION = 9\n\
00261 int32 LIFT_UNFEASIBLE = 10\n\
00262 int32 MOVE_ARM_FAILED = 11\n\
00263 int32 GRASP_FAILED = 12\n\
00264 int32 LIFT_FAILED = 13\n\
00265 int32 RETREAT_FAILED = 14\n\
00266 int32 result_code\n\
00267 \n\
00268 # whether the state of the world was disturbed by this attempt. generally, this flag\n\
00269 # shows if another task can be attempted, or a new sensed world model is recommeded\n\
00270 # before proceeding\n\
00271 bool continuation_possible\n\
00272 \n\
00273 "; }
00274 public:
00275 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00276
00277 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00278
00279 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00280 {
00281 ros::serialization::OStream stream(write_ptr, 1000000000);
00282 ros::serialization::serialize(stream, header);
00283 ros::serialization::serialize(stream, status);
00284 ros::serialization::serialize(stream, result);
00285 return stream.getData();
00286 }
00287
00288 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00289 {
00290 ros::serialization::IStream stream(read_ptr, 1000000000);
00291 ros::serialization::deserialize(stream, header);
00292 ros::serialization::deserialize(stream, status);
00293 ros::serialization::deserialize(stream, result);
00294 return stream.getData();
00295 }
00296
00297 ROS_DEPRECATED virtual uint32_t serializationLength() const
00298 {
00299 uint32_t size = 0;
00300 size += ros::serialization::serializationLength(header);
00301 size += ros::serialization::serializationLength(status);
00302 size += ros::serialization::serializationLength(result);
00303 return size;
00304 }
00305
00306 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> > Ptr;
00307 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> const> ConstPtr;
00308 };
00309 typedef ::object_manipulation_msgs::PickupActionResult_<std::allocator<void> > PickupActionResult;
00310
00311 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupActionResult> PickupActionResultPtr;
00312 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupActionResult const> PickupActionResultConstPtr;
00313
00314
00315 template<typename ContainerAllocator>
00316 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> & v)
00317 {
00318 ros::message_operations::Printer< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> >::stream(s, "", v);
00319 return s;}
00320
00321 }
00322
00323 namespace ros
00324 {
00325 namespace message_traits
00326 {
00327 template<class ContainerAllocator>
00328 struct MD5Sum< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> > {
00329 static const char* value()
00330 {
00331 return "37706bf50c1b11b7802944213b641a54";
00332 }
00333
00334 static const char* value(const ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> &) { return value(); }
00335 static const uint64_t static_value1 = 0x37706bf50c1b11b7ULL;
00336 static const uint64_t static_value2 = 0x802944213b641a54ULL;
00337 };
00338
00339 template<class ContainerAllocator>
00340 struct DataType< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> > {
00341 static const char* value()
00342 {
00343 return "object_manipulation_msgs/PickupActionResult";
00344 }
00345
00346 static const char* value(const ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> &) { return value(); }
00347 };
00348
00349 template<class ContainerAllocator>
00350 struct Definition< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> > {
00351 static const char* value()
00352 {
00353 return "Header header\n\
00354 actionlib_msgs/GoalStatus status\n\
00355 PickupResult result\n\
00356 \n\
00357 ================================================================================\n\
00358 MSG: std_msgs/Header\n\
00359 # Standard metadata for higher-level stamped data types.\n\
00360 # This is generally used to communicate timestamped data \n\
00361 # in a particular coordinate frame.\n\
00362 # \n\
00363 # sequence ID: consecutively increasing ID \n\
00364 uint32 seq\n\
00365 #Two-integer timestamp that is expressed as:\n\
00366 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00367 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00368 # time-handling sugar is provided by the client library\n\
00369 time stamp\n\
00370 #Frame this data is associated with\n\
00371 # 0: no frame\n\
00372 # 1: global frame\n\
00373 string frame_id\n\
00374 \n\
00375 ================================================================================\n\
00376 MSG: actionlib_msgs/GoalStatus\n\
00377 GoalID goal_id\n\
00378 uint8 status\n\
00379 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00380 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00381 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00382 # and has since completed its execution (Terminal State)\n\
00383 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00384 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00385 # to some failure (Terminal State)\n\
00386 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00387 # because the goal was unattainable or invalid (Terminal State)\n\
00388 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00389 # and has not yet completed execution\n\
00390 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00391 # but the action server has not yet confirmed that the goal is canceled\n\
00392 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00393 # and was successfully cancelled (Terminal State)\n\
00394 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00395 # sent over the wire by an action server\n\
00396 \n\
00397 #Allow for the user to associate a string with GoalStatus for debugging\n\
00398 string text\n\
00399 \n\
00400 \n\
00401 ================================================================================\n\
00402 MSG: actionlib_msgs/GoalID\n\
00403 # The stamp should store the time at which this goal was requested.\n\
00404 # It is used by an action server when it tries to preempt all\n\
00405 # goals that were requested before a certain time\n\
00406 time stamp\n\
00407 \n\
00408 # The id provides a way to associate feedback and\n\
00409 # result message with specific goal requests. The id\n\
00410 # specified must be unique.\n\
00411 string id\n\
00412 \n\
00413 \n\
00414 ================================================================================\n\
00415 MSG: object_manipulation_msgs/PickupResult\n\
00416 # The overall result of the pickup attempt\n\
00417 ManipulationResult manipulation_result\n\
00418 \n\
00419 # The performed grasp, if attempt was successful\n\
00420 Grasp grasp\n\
00421 \n\
00422 # the complete list of attempted grasp, in the order in which they have been attempted\n\
00423 # the successful one should be the last one in this list\n\
00424 Grasp[] attempted_grasps\n\
00425 \n\
00426 # the outcomes of the attempted grasps, in the same order as attempted_grasps\n\
00427 GraspResult[] attempted_grasp_results\n\
00428 ================================================================================\n\
00429 MSG: object_manipulation_msgs/ManipulationResult\n\
00430 # Result codes for manipulation tasks\n\
00431 \n\
00432 # task completed as expected\n\
00433 # generally means you can proceed as planned\n\
00434 int32 SUCCESS = 1\n\
00435 \n\
00436 # task not possible (e.g. out of reach or obstacles in the way)\n\
00437 # generally means that the world was not disturbed, so you can try another task\n\
00438 int32 UNFEASIBLE = -1\n\
00439 \n\
00440 # task was thought possible, but failed due to unexpected events during execution\n\
00441 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00442 # your sensed world model before proceeding to another task\n\
00443 int32 FAILED = -2\n\
00444 \n\
00445 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00446 # generally requires human attention\n\
00447 int32 ERROR = -3\n\
00448 \n\
00449 # means that at some point during execution we ended up in a state that the collision-aware\n\
00450 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00451 # probably need a new collision map to move the arm out of the stuck position\n\
00452 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00453 \n\
00454 # specific to grasp actions\n\
00455 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00456 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00457 int32 LIFT_FAILED = -5\n\
00458 \n\
00459 # specific to place actions\n\
00460 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00461 # it is likely that the collision environment will see collisions between the hand and the object\n\
00462 int32 RETREAT_FAILED = -6\n\
00463 \n\
00464 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00465 int32 CANCELLED = -7\n\
00466 \n\
00467 # the actual value of this error code\n\
00468 int32 value\n\
00469 \n\
00470 ================================================================================\n\
00471 MSG: object_manipulation_msgs/Grasp\n\
00472 \n\
00473 # The internal posture of the hand for the pre-grasp\n\
00474 # only positions are used\n\
00475 sensor_msgs/JointState pre_grasp_posture\n\
00476 \n\
00477 # The internal posture of the hand for the grasp\n\
00478 # positions and efforts are used\n\
00479 sensor_msgs/JointState grasp_posture\n\
00480 \n\
00481 # The position of the end-effector for the grasp relative to the object\n\
00482 geometry_msgs/Pose grasp_pose\n\
00483 \n\
00484 # The estimated probability of success for this grasp\n\
00485 float64 success_probability\n\
00486 \n\
00487 # Debug flag to indicate that this grasp would be the best in its cluster\n\
00488 bool cluster_rep\n\
00489 ================================================================================\n\
00490 MSG: sensor_msgs/JointState\n\
00491 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00492 #\n\
00493 # The state of each joint (revolute or prismatic) is defined by:\n\
00494 # * the position of the joint (rad or m),\n\
00495 # * the velocity of the joint (rad/s or m/s) and \n\
00496 # * the effort that is applied in the joint (Nm or N).\n\
00497 #\n\
00498 # Each joint is uniquely identified by its name\n\
00499 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00500 # in one message have to be recorded at the same time.\n\
00501 #\n\
00502 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00503 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00504 # effort associated with them, you can leave the effort array empty. \n\
00505 #\n\
00506 # All arrays in this message should have the same size, or be empty.\n\
00507 # This is the only way to uniquely associate the joint name with the correct\n\
00508 # states.\n\
00509 \n\
00510 \n\
00511 Header header\n\
00512 \n\
00513 string[] name\n\
00514 float64[] position\n\
00515 float64[] velocity\n\
00516 float64[] effort\n\
00517 \n\
00518 ================================================================================\n\
00519 MSG: geometry_msgs/Pose\n\
00520 # A representation of pose in free space, composed of postion and orientation. \n\
00521 Point position\n\
00522 Quaternion orientation\n\
00523 \n\
00524 ================================================================================\n\
00525 MSG: geometry_msgs/Point\n\
00526 # This contains the position of a point in free space\n\
00527 float64 x\n\
00528 float64 y\n\
00529 float64 z\n\
00530 \n\
00531 ================================================================================\n\
00532 MSG: geometry_msgs/Quaternion\n\
00533 # This represents an orientation in free space in quaternion form.\n\
00534 \n\
00535 float64 x\n\
00536 float64 y\n\
00537 float64 z\n\
00538 float64 w\n\
00539 \n\
00540 ================================================================================\n\
00541 MSG: object_manipulation_msgs/GraspResult\n\
00542 int32 SUCCESS = 1\n\
00543 int32 GRASP_OUT_OF_REACH = 2\n\
00544 int32 GRASP_IN_COLLISION = 3\n\
00545 int32 GRASP_UNFEASIBLE = 4\n\
00546 int32 PREGRASP_OUT_OF_REACH = 5\n\
00547 int32 PREGRASP_IN_COLLISION = 6\n\
00548 int32 PREGRASP_UNFEASIBLE = 7\n\
00549 int32 LIFT_OUT_OF_REACH = 8\n\
00550 int32 LIFT_IN_COLLISION = 9\n\
00551 int32 LIFT_UNFEASIBLE = 10\n\
00552 int32 MOVE_ARM_FAILED = 11\n\
00553 int32 GRASP_FAILED = 12\n\
00554 int32 LIFT_FAILED = 13\n\
00555 int32 RETREAT_FAILED = 14\n\
00556 int32 result_code\n\
00557 \n\
00558 # whether the state of the world was disturbed by this attempt. generally, this flag\n\
00559 # shows if another task can be attempted, or a new sensed world model is recommeded\n\
00560 # before proceeding\n\
00561 bool continuation_possible\n\
00562 \n\
00563 ";
00564 }
00565
00566 static const char* value(const ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> &) { return value(); }
00567 };
00568
00569 template<class ContainerAllocator> struct HasHeader< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> > : public TrueType {};
00570 template<class ContainerAllocator> struct HasHeader< const ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> > : public TrueType {};
00571 }
00572 }
00573
00574 namespace ros
00575 {
00576 namespace serialization
00577 {
00578
00579 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> >
00580 {
00581 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00582 {
00583 stream.next(m.header);
00584 stream.next(m.status);
00585 stream.next(m.result);
00586 }
00587
00588 ROS_DECLARE_ALLINONE_SERIALIZER;
00589 };
00590 }
00591 }
00592
00593 namespace ros
00594 {
00595 namespace message_operations
00596 {
00597
00598 template<class ContainerAllocator>
00599 struct Printer< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> >
00600 {
00601 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> & v)
00602 {
00603 s << indent << "header: ";
00604 s << std::endl;
00605 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00606 s << indent << "status: ";
00607 s << std::endl;
00608 Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.status);
00609 s << indent << "result: ";
00610 s << std::endl;
00611 Printer< ::object_manipulation_msgs::PickupResult_<ContainerAllocator> >::stream(s, indent + " ", v.result);
00612 }
00613 };
00614
00615
00616 }
00617 }
00618
00619 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPACTIONRESULT_H
00620