00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEACTION_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEACTION_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 "object_manipulation_msgs/ReactivePlaceActionGoal.h"
00014 #include "object_manipulation_msgs/ReactivePlaceActionResult.h"
00015 #include "object_manipulation_msgs/ReactivePlaceActionFeedback.h"
00016
00017 namespace object_manipulation_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct ReactivePlaceAction_ : public ros::Message
00021 {
00022 typedef ReactivePlaceAction_<ContainerAllocator> Type;
00023
00024 ReactivePlaceAction_()
00025 : action_goal()
00026 , action_result()
00027 , action_feedback()
00028 {
00029 }
00030
00031 ReactivePlaceAction_(const ContainerAllocator& _alloc)
00032 : action_goal(_alloc)
00033 , action_result(_alloc)
00034 , action_feedback(_alloc)
00035 {
00036 }
00037
00038 typedef ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> _action_goal_type;
00039 ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> action_goal;
00040
00041 typedef ::object_manipulation_msgs::ReactivePlaceActionResult_<ContainerAllocator> _action_result_type;
00042 ::object_manipulation_msgs::ReactivePlaceActionResult_<ContainerAllocator> action_result;
00043
00044 typedef ::object_manipulation_msgs::ReactivePlaceActionFeedback_<ContainerAllocator> _action_feedback_type;
00045 ::object_manipulation_msgs::ReactivePlaceActionFeedback_<ContainerAllocator> action_feedback;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "object_manipulation_msgs/ReactivePlaceAction"; }
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 "ae0ee2c7f49f2e6b00a5b3a1cc9bde61"; }
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 "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00064 \n\
00065 ReactivePlaceActionGoal action_goal\n\
00066 ReactivePlaceActionResult action_result\n\
00067 ReactivePlaceActionFeedback action_feedback\n\
00068 \n\
00069 ================================================================================\n\
00070 MSG: object_manipulation_msgs/ReactivePlaceActionGoal\n\
00071 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00072 \n\
00073 Header header\n\
00074 actionlib_msgs/GoalID goal_id\n\
00075 ReactivePlaceGoal goal\n\
00076 \n\
00077 ================================================================================\n\
00078 MSG: std_msgs/Header\n\
00079 # Standard metadata for higher-level stamped data types.\n\
00080 # This is generally used to communicate timestamped data \n\
00081 # in a particular coordinate frame.\n\
00082 # \n\
00083 # sequence ID: consecutively increasing ID \n\
00084 uint32 seq\n\
00085 #Two-integer timestamp that is expressed as:\n\
00086 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00087 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00088 # time-handling sugar is provided by the client library\n\
00089 time stamp\n\
00090 #Frame this data is associated with\n\
00091 # 0: no frame\n\
00092 # 1: global frame\n\
00093 string frame_id\n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: actionlib_msgs/GoalID\n\
00097 # The stamp should store the time at which this goal was requested.\n\
00098 # It is used by an action server when it tries to preempt all\n\
00099 # goals that were requested before a certain time\n\
00100 time stamp\n\
00101 \n\
00102 # The id provides a way to associate feedback and\n\
00103 # result message with specific goal requests. The id\n\
00104 # specified must be unique.\n\
00105 string id\n\
00106 \n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: object_manipulation_msgs/ReactivePlaceGoal\n\
00110 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00111 # an action for placing the object using tactile sensor feedback.\n\
00112 # a reactive place starts from the current pose of the gripper and ends\n\
00113 # at a desired place pose, presumably using the touch sensors along the way\n\
00114 \n\
00115 # the name of the arm being used\n\
00116 string arm_name\n\
00117 \n\
00118 # the desired final place pose for the hand\n\
00119 geometry_msgs/PoseStamped final_place_pose\n\
00120 \n\
00121 # the joint trajectory to use for the place (if available)\n\
00122 # this trajectory is expected to start at the current pose of the gripper\n\
00123 # and end at the desired place pose\n\
00124 trajectory_msgs/JointTrajectory trajectory\n\
00125 \n\
00126 # the name of the support surface in the collision environment, if any\n\
00127 string collision_support_surface_name\n\
00128 \n\
00129 # the name in the collision environment of the object being placed, if any\n\
00130 string collision_object_name\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/PoseStamped\n\
00134 # A Pose with reference coordinate frame and timestamp\n\
00135 Header header\n\
00136 Pose pose\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/Pose\n\
00140 # A representation of pose in free space, composed of postion and orientation. \n\
00141 Point position\n\
00142 Quaternion orientation\n\
00143 \n\
00144 ================================================================================\n\
00145 MSG: geometry_msgs/Point\n\
00146 # This contains the position of a point in free space\n\
00147 float64 x\n\
00148 float64 y\n\
00149 float64 z\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: geometry_msgs/Quaternion\n\
00153 # This represents an orientation in free space in quaternion form.\n\
00154 \n\
00155 float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 float64 w\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: trajectory_msgs/JointTrajectory\n\
00162 Header header\n\
00163 string[] joint_names\n\
00164 JointTrajectoryPoint[] points\n\
00165 ================================================================================\n\
00166 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00167 float64[] positions\n\
00168 float64[] velocities\n\
00169 float64[] accelerations\n\
00170 duration time_from_start\n\
00171 ================================================================================\n\
00172 MSG: object_manipulation_msgs/ReactivePlaceActionResult\n\
00173 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00174 \n\
00175 Header header\n\
00176 actionlib_msgs/GoalStatus status\n\
00177 ReactivePlaceResult result\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: actionlib_msgs/GoalStatus\n\
00181 GoalID goal_id\n\
00182 uint8 status\n\
00183 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00184 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00185 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00186 # and has since completed its execution (Terminal State)\n\
00187 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00188 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00189 # to some failure (Terminal State)\n\
00190 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00191 # because the goal was unattainable or invalid (Terminal State)\n\
00192 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00193 # and has not yet completed execution\n\
00194 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00195 # but the action server has not yet confirmed that the goal is canceled\n\
00196 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00197 # and was successfully cancelled (Terminal State)\n\
00198 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00199 # sent over the wire by an action server\n\
00200 \n\
00201 #Allow for the user to associate a string with GoalStatus for debugging\n\
00202 string text\n\
00203 \n\
00204 \n\
00205 ================================================================================\n\
00206 MSG: object_manipulation_msgs/ReactivePlaceResult\n\
00207 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00208 \n\
00209 # the result of the reactive place attempt\n\
00210 \n\
00211 ManipulationResult manipulation_result\n\
00212 \n\
00213 \n\
00214 ================================================================================\n\
00215 MSG: object_manipulation_msgs/ManipulationResult\n\
00216 # Result codes for manipulation tasks\n\
00217 \n\
00218 # task completed as expected\n\
00219 # generally means you can proceed as planned\n\
00220 int32 SUCCESS = 1\n\
00221 \n\
00222 # task not possible (e.g. out of reach or obstacles in the way)\n\
00223 # generally means that the world was not disturbed, so you can try another task\n\
00224 int32 UNFEASIBLE = -1\n\
00225 \n\
00226 # task was thought possible, but failed due to unexpected events during execution\n\
00227 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00228 # your sensed world model before proceeding to another task\n\
00229 int32 FAILED = -2\n\
00230 \n\
00231 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00232 # generally requires human attention\n\
00233 int32 ERROR = -3\n\
00234 \n\
00235 # means that at some point during execution we ended up in a state that the collision-aware\n\
00236 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00237 # probably need a new collision map to move the arm out of the stuck position\n\
00238 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00239 \n\
00240 # specific to grasp actions\n\
00241 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00242 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00243 int32 LIFT_FAILED = -5\n\
00244 \n\
00245 # specific to place actions\n\
00246 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00247 # it is likely that the collision environment will see collisions between the hand and the object\n\
00248 int32 RETREAT_FAILED = -6\n\
00249 \n\
00250 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00251 int32 CANCELLED = -7\n\
00252 \n\
00253 # the actual value of this error code\n\
00254 int32 value\n\
00255 \n\
00256 ================================================================================\n\
00257 MSG: object_manipulation_msgs/ReactivePlaceActionFeedback\n\
00258 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00259 \n\
00260 Header header\n\
00261 actionlib_msgs/GoalStatus status\n\
00262 ReactivePlaceFeedback feedback\n\
00263 \n\
00264 ================================================================================\n\
00265 MSG: object_manipulation_msgs/ReactivePlaceFeedback\n\
00266 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00267 \n\
00268 # which phase the place is in\n\
00269 \n\
00270 ManipulationPhase manipulation_phase\n\
00271 \n\
00272 \n\
00273 ================================================================================\n\
00274 MSG: object_manipulation_msgs/ManipulationPhase\n\
00275 int32 CHECKING_FEASIBILITY = 0\n\
00276 int32 MOVING_TO_PREGRASP = 1\n\
00277 int32 MOVING_TO_GRASP = 2\n\
00278 int32 CLOSING = 3 \n\
00279 int32 ADJUSTING_GRASP = 4\n\
00280 int32 LIFTING = 5\n\
00281 int32 MOVING_WITH_OBJECT = 6\n\
00282 int32 MOVING_TO_PLACE = 7\n\
00283 int32 PLACING = 8\n\
00284 int32 OPENING = 9\n\
00285 int32 RETREATING = 10\n\
00286 int32 MOVING_WITHOUT_OBJECT = 11\n\
00287 int32 SHAKING = 12\n\
00288 int32 SUCCEEDED = 13\n\
00289 int32 FAILED = 14\n\
00290 int32 ABORTED = 15\n\
00291 int32 HOLDING_OBJECT = 16\n\
00292 \n\
00293 int32 phase\n\
00294 "; }
00295 public:
00296 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00297
00298 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00299
00300 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00301 {
00302 ros::serialization::OStream stream(write_ptr, 1000000000);
00303 ros::serialization::serialize(stream, action_goal);
00304 ros::serialization::serialize(stream, action_result);
00305 ros::serialization::serialize(stream, action_feedback);
00306 return stream.getData();
00307 }
00308
00309 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00310 {
00311 ros::serialization::IStream stream(read_ptr, 1000000000);
00312 ros::serialization::deserialize(stream, action_goal);
00313 ros::serialization::deserialize(stream, action_result);
00314 ros::serialization::deserialize(stream, action_feedback);
00315 return stream.getData();
00316 }
00317
00318 ROS_DEPRECATED virtual uint32_t serializationLength() const
00319 {
00320 uint32_t size = 0;
00321 size += ros::serialization::serializationLength(action_goal);
00322 size += ros::serialization::serializationLength(action_result);
00323 size += ros::serialization::serializationLength(action_feedback);
00324 return size;
00325 }
00326
00327 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> > Ptr;
00328 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> const> ConstPtr;
00329 };
00330 typedef ::object_manipulation_msgs::ReactivePlaceAction_<std::allocator<void> > ReactivePlaceAction;
00331
00332 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceAction> ReactivePlaceActionPtr;
00333 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceAction const> ReactivePlaceActionConstPtr;
00334
00335
00336 template<typename ContainerAllocator>
00337 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> & v)
00338 {
00339 ros::message_operations::Printer< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> >::stream(s, "", v);
00340 return s;}
00341
00342 }
00343
00344 namespace ros
00345 {
00346 namespace message_traits
00347 {
00348 template<class ContainerAllocator>
00349 struct MD5Sum< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> > {
00350 static const char* value()
00351 {
00352 return "ae0ee2c7f49f2e6b00a5b3a1cc9bde61";
00353 }
00354
00355 static const char* value(const ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> &) { return value(); }
00356 static const uint64_t static_value1 = 0xae0ee2c7f49f2e6bULL;
00357 static const uint64_t static_value2 = 0x00a5b3a1cc9bde61ULL;
00358 };
00359
00360 template<class ContainerAllocator>
00361 struct DataType< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> > {
00362 static const char* value()
00363 {
00364 return "object_manipulation_msgs/ReactivePlaceAction";
00365 }
00366
00367 static const char* value(const ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> &) { return value(); }
00368 };
00369
00370 template<class ContainerAllocator>
00371 struct Definition< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> > {
00372 static const char* value()
00373 {
00374 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00375 \n\
00376 ReactivePlaceActionGoal action_goal\n\
00377 ReactivePlaceActionResult action_result\n\
00378 ReactivePlaceActionFeedback action_feedback\n\
00379 \n\
00380 ================================================================================\n\
00381 MSG: object_manipulation_msgs/ReactivePlaceActionGoal\n\
00382 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00383 \n\
00384 Header header\n\
00385 actionlib_msgs/GoalID goal_id\n\
00386 ReactivePlaceGoal goal\n\
00387 \n\
00388 ================================================================================\n\
00389 MSG: std_msgs/Header\n\
00390 # Standard metadata for higher-level stamped data types.\n\
00391 # This is generally used to communicate timestamped data \n\
00392 # in a particular coordinate frame.\n\
00393 # \n\
00394 # sequence ID: consecutively increasing ID \n\
00395 uint32 seq\n\
00396 #Two-integer timestamp that is expressed as:\n\
00397 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00398 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00399 # time-handling sugar is provided by the client library\n\
00400 time stamp\n\
00401 #Frame this data is associated with\n\
00402 # 0: no frame\n\
00403 # 1: global frame\n\
00404 string frame_id\n\
00405 \n\
00406 ================================================================================\n\
00407 MSG: actionlib_msgs/GoalID\n\
00408 # The stamp should store the time at which this goal was requested.\n\
00409 # It is used by an action server when it tries to preempt all\n\
00410 # goals that were requested before a certain time\n\
00411 time stamp\n\
00412 \n\
00413 # The id provides a way to associate feedback and\n\
00414 # result message with specific goal requests. The id\n\
00415 # specified must be unique.\n\
00416 string id\n\
00417 \n\
00418 \n\
00419 ================================================================================\n\
00420 MSG: object_manipulation_msgs/ReactivePlaceGoal\n\
00421 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00422 # an action for placing the object using tactile sensor feedback.\n\
00423 # a reactive place starts from the current pose of the gripper and ends\n\
00424 # at a desired place pose, presumably using the touch sensors along the way\n\
00425 \n\
00426 # the name of the arm being used\n\
00427 string arm_name\n\
00428 \n\
00429 # the desired final place pose for the hand\n\
00430 geometry_msgs/PoseStamped final_place_pose\n\
00431 \n\
00432 # the joint trajectory to use for the place (if available)\n\
00433 # this trajectory is expected to start at the current pose of the gripper\n\
00434 # and end at the desired place pose\n\
00435 trajectory_msgs/JointTrajectory trajectory\n\
00436 \n\
00437 # the name of the support surface in the collision environment, if any\n\
00438 string collision_support_surface_name\n\
00439 \n\
00440 # the name in the collision environment of the object being placed, if any\n\
00441 string collision_object_name\n\
00442 \n\
00443 ================================================================================\n\
00444 MSG: geometry_msgs/PoseStamped\n\
00445 # A Pose with reference coordinate frame and timestamp\n\
00446 Header header\n\
00447 Pose pose\n\
00448 \n\
00449 ================================================================================\n\
00450 MSG: geometry_msgs/Pose\n\
00451 # A representation of pose in free space, composed of postion and orientation. \n\
00452 Point position\n\
00453 Quaternion orientation\n\
00454 \n\
00455 ================================================================================\n\
00456 MSG: geometry_msgs/Point\n\
00457 # This contains the position of a point in free space\n\
00458 float64 x\n\
00459 float64 y\n\
00460 float64 z\n\
00461 \n\
00462 ================================================================================\n\
00463 MSG: geometry_msgs/Quaternion\n\
00464 # This represents an orientation in free space in quaternion form.\n\
00465 \n\
00466 float64 x\n\
00467 float64 y\n\
00468 float64 z\n\
00469 float64 w\n\
00470 \n\
00471 ================================================================================\n\
00472 MSG: trajectory_msgs/JointTrajectory\n\
00473 Header header\n\
00474 string[] joint_names\n\
00475 JointTrajectoryPoint[] points\n\
00476 ================================================================================\n\
00477 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00478 float64[] positions\n\
00479 float64[] velocities\n\
00480 float64[] accelerations\n\
00481 duration time_from_start\n\
00482 ================================================================================\n\
00483 MSG: object_manipulation_msgs/ReactivePlaceActionResult\n\
00484 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00485 \n\
00486 Header header\n\
00487 actionlib_msgs/GoalStatus status\n\
00488 ReactivePlaceResult result\n\
00489 \n\
00490 ================================================================================\n\
00491 MSG: actionlib_msgs/GoalStatus\n\
00492 GoalID goal_id\n\
00493 uint8 status\n\
00494 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00495 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00496 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00497 # and has since completed its execution (Terminal State)\n\
00498 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00499 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00500 # to some failure (Terminal State)\n\
00501 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00502 # because the goal was unattainable or invalid (Terminal State)\n\
00503 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00504 # and has not yet completed execution\n\
00505 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00506 # but the action server has not yet confirmed that the goal is canceled\n\
00507 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00508 # and was successfully cancelled (Terminal State)\n\
00509 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00510 # sent over the wire by an action server\n\
00511 \n\
00512 #Allow for the user to associate a string with GoalStatus for debugging\n\
00513 string text\n\
00514 \n\
00515 \n\
00516 ================================================================================\n\
00517 MSG: object_manipulation_msgs/ReactivePlaceResult\n\
00518 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00519 \n\
00520 # the result of the reactive place attempt\n\
00521 \n\
00522 ManipulationResult manipulation_result\n\
00523 \n\
00524 \n\
00525 ================================================================================\n\
00526 MSG: object_manipulation_msgs/ManipulationResult\n\
00527 # Result codes for manipulation tasks\n\
00528 \n\
00529 # task completed as expected\n\
00530 # generally means you can proceed as planned\n\
00531 int32 SUCCESS = 1\n\
00532 \n\
00533 # task not possible (e.g. out of reach or obstacles in the way)\n\
00534 # generally means that the world was not disturbed, so you can try another task\n\
00535 int32 UNFEASIBLE = -1\n\
00536 \n\
00537 # task was thought possible, but failed due to unexpected events during execution\n\
00538 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00539 # your sensed world model before proceeding to another task\n\
00540 int32 FAILED = -2\n\
00541 \n\
00542 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00543 # generally requires human attention\n\
00544 int32 ERROR = -3\n\
00545 \n\
00546 # means that at some point during execution we ended up in a state that the collision-aware\n\
00547 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00548 # probably need a new collision map to move the arm out of the stuck position\n\
00549 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00550 \n\
00551 # specific to grasp actions\n\
00552 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00553 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00554 int32 LIFT_FAILED = -5\n\
00555 \n\
00556 # specific to place actions\n\
00557 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00558 # it is likely that the collision environment will see collisions between the hand and the object\n\
00559 int32 RETREAT_FAILED = -6\n\
00560 \n\
00561 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00562 int32 CANCELLED = -7\n\
00563 \n\
00564 # the actual value of this error code\n\
00565 int32 value\n\
00566 \n\
00567 ================================================================================\n\
00568 MSG: object_manipulation_msgs/ReactivePlaceActionFeedback\n\
00569 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00570 \n\
00571 Header header\n\
00572 actionlib_msgs/GoalStatus status\n\
00573 ReactivePlaceFeedback feedback\n\
00574 \n\
00575 ================================================================================\n\
00576 MSG: object_manipulation_msgs/ReactivePlaceFeedback\n\
00577 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00578 \n\
00579 # which phase the place is in\n\
00580 \n\
00581 ManipulationPhase manipulation_phase\n\
00582 \n\
00583 \n\
00584 ================================================================================\n\
00585 MSG: object_manipulation_msgs/ManipulationPhase\n\
00586 int32 CHECKING_FEASIBILITY = 0\n\
00587 int32 MOVING_TO_PREGRASP = 1\n\
00588 int32 MOVING_TO_GRASP = 2\n\
00589 int32 CLOSING = 3 \n\
00590 int32 ADJUSTING_GRASP = 4\n\
00591 int32 LIFTING = 5\n\
00592 int32 MOVING_WITH_OBJECT = 6\n\
00593 int32 MOVING_TO_PLACE = 7\n\
00594 int32 PLACING = 8\n\
00595 int32 OPENING = 9\n\
00596 int32 RETREATING = 10\n\
00597 int32 MOVING_WITHOUT_OBJECT = 11\n\
00598 int32 SHAKING = 12\n\
00599 int32 SUCCEEDED = 13\n\
00600 int32 FAILED = 14\n\
00601 int32 ABORTED = 15\n\
00602 int32 HOLDING_OBJECT = 16\n\
00603 \n\
00604 int32 phase\n\
00605 ";
00606 }
00607
00608 static const char* value(const ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> &) { return value(); }
00609 };
00610
00611 }
00612 }
00613
00614 namespace ros
00615 {
00616 namespace serialization
00617 {
00618
00619 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> >
00620 {
00621 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00622 {
00623 stream.next(m.action_goal);
00624 stream.next(m.action_result);
00625 stream.next(m.action_feedback);
00626 }
00627
00628 ROS_DECLARE_ALLINONE_SERIALIZER;
00629 };
00630 }
00631 }
00632
00633 namespace ros
00634 {
00635 namespace message_operations
00636 {
00637
00638 template<class ContainerAllocator>
00639 struct Printer< ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> >
00640 {
00641 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactivePlaceAction_<ContainerAllocator> & v)
00642 {
00643 s << indent << "action_goal: ";
00644 s << std::endl;
00645 Printer< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00646 s << indent << "action_result: ";
00647 s << std::endl;
00648 Printer< ::object_manipulation_msgs::ReactivePlaceActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00649 s << indent << "action_feedback: ";
00650 s << std::endl;
00651 Printer< ::object_manipulation_msgs::ReactivePlaceActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00652 }
00653 };
00654
00655
00656 }
00657 }
00658
00659 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEACTION_H
00660