00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFINDCONTACTACTION_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFINDCONTACTACTION_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 "pr2_gripper_sensor_msgs/PR2GripperFindContactActionGoal.h"
00018 #include "pr2_gripper_sensor_msgs/PR2GripperFindContactActionResult.h"
00019 #include "pr2_gripper_sensor_msgs/PR2GripperFindContactActionFeedback.h"
00020
00021 namespace pr2_gripper_sensor_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PR2GripperFindContactAction_ {
00025 typedef PR2GripperFindContactAction_<ContainerAllocator> Type;
00026
00027 PR2GripperFindContactAction_()
00028 : action_goal()
00029 , action_result()
00030 , action_feedback()
00031 {
00032 }
00033
00034 PR2GripperFindContactAction_(const ContainerAllocator& _alloc)
00035 : action_goal(_alloc)
00036 , action_result(_alloc)
00037 , action_feedback(_alloc)
00038 {
00039 }
00040
00041 typedef ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionGoal_<ContainerAllocator> _action_goal_type;
00042 ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionGoal_<ContainerAllocator> action_goal;
00043
00044 typedef ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionResult_<ContainerAllocator> _action_result_type;
00045 ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionResult_<ContainerAllocator> action_result;
00046
00047 typedef ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionFeedback_<ContainerAllocator> _action_feedback_type;
00048 ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionFeedback_<ContainerAllocator> action_feedback;
00049
00050
00051 private:
00052 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperFindContactAction"; }
00053 public:
00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00055
00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00057
00058 private:
00059 static const char* __s_getMD5Sum_() { return "99ab2df1bbde46c447b38f28b7896d16"; }
00060 public:
00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00062
00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00064
00065 private:
00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00067 \n\
00068 PR2GripperFindContactActionGoal action_goal\n\
00069 PR2GripperFindContactActionResult action_result\n\
00070 PR2GripperFindContactActionFeedback action_feedback\n\
00071 \n\
00072 ================================================================================\n\
00073 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactActionGoal\n\
00074 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00075 \n\
00076 Header header\n\
00077 actionlib_msgs/GoalID goal_id\n\
00078 PR2GripperFindContactGoal goal\n\
00079 \n\
00080 ================================================================================\n\
00081 MSG: std_msgs/Header\n\
00082 # Standard metadata for higher-level stamped data types.\n\
00083 # This is generally used to communicate timestamped data \n\
00084 # in a particular coordinate frame.\n\
00085 # \n\
00086 # sequence ID: consecutively increasing ID \n\
00087 uint32 seq\n\
00088 #Two-integer timestamp that is expressed as:\n\
00089 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00090 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00091 # time-handling sugar is provided by the client library\n\
00092 time stamp\n\
00093 #Frame this data is associated with\n\
00094 # 0: no frame\n\
00095 # 1: global frame\n\
00096 string frame_id\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: actionlib_msgs/GoalID\n\
00100 # The stamp should store the time at which this goal was requested.\n\
00101 # It is used by an action server when it tries to preempt all\n\
00102 # goals that were requested before a certain time\n\
00103 time stamp\n\
00104 \n\
00105 # The id provides a way to associate feedback and\n\
00106 # result message with specific goal requests. The id\n\
00107 # specified must be unique.\n\
00108 string id\n\
00109 \n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactGoal\n\
00113 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00114 # Contact action used to close fingers and find object contacts \n\
00115 # quickly while still stopping fast in real-time to not damage \n\
00116 # objects\n\
00117 \n\
00118 #goal\n\
00119 PR2GripperFindContactCommand command\n\
00120 \n\
00121 ================================================================================\n\
00122 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactCommand\n\
00123 # set true if you want to calibrate the fingertip sensors on the start\n\
00124 # of the find_contact action. While this is not necessary (and\n\
00125 # the default value will not calibrate the sensors) for best \n\
00126 # performance it is recommended that you set this to true each time \n\
00127 # you are calling find_contact and are confident the fingertips are \n\
00128 # not touching anything\n\
00129 # NOTE: SHOULD ONLY BE TRUE WHEN BOTH FINGERS ARE TOUCHING NOTHING\n\
00130 bool zero_fingertip_sensors\n\
00131 \n\
00132 # the finger contact conditions that determine what our goal is\n\
00133 # Leaving this field blank will result in the robot closing until\n\
00134 # contact on BOTH fingers is achieved\n\
00135 int8 contact_conditions\n\
00136 \n\
00137 # predefined values for the above contact_conditions variable\n\
00138 int8 BOTH = 0 # both fingers must make contact\n\
00139 int8 LEFT = 1 # just the left finger \n\
00140 int8 RIGHT = 2 # just the right finger\n\
00141 int8 EITHER = 3 # either finger, we don't care which\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactActionResult\n\
00145 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00146 \n\
00147 Header header\n\
00148 actionlib_msgs/GoalStatus status\n\
00149 PR2GripperFindContactResult result\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: actionlib_msgs/GoalStatus\n\
00153 GoalID goal_id\n\
00154 uint8 status\n\
00155 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00156 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00157 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00158 # and has since completed its execution (Terminal State)\n\
00159 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00160 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00161 # to some failure (Terminal State)\n\
00162 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00163 # because the goal was unattainable or invalid (Terminal State)\n\
00164 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00165 # and has not yet completed execution\n\
00166 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00167 # but the action server has not yet confirmed that the goal is canceled\n\
00168 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00169 # and was successfully cancelled (Terminal State)\n\
00170 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00171 # sent over the wire by an action server\n\
00172 \n\
00173 #Allow for the user to associate a string with GoalStatus for debugging\n\
00174 string text\n\
00175 \n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactResult\n\
00179 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00180 #results\n\
00181 PR2GripperFindContactData data\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactData\n\
00185 # Time the data was recorded at\n\
00186 time stamp\n\
00187 \n\
00188 # true when our contact conditions have been met\n\
00189 # (see PR2GripperFindContact command)\n\
00190 bool contact_conditions_met\n\
00191 \n\
00192 # the finger contact conditions \n\
00193 # true if the finger experienced a contact event\n\
00194 #\n\
00195 # contact events are defined as contact with the fingerpads\n\
00196 # as either steady-state or high-freq force events\n\
00197 bool left_fingertip_pad_contact\n\
00198 bool right_fingertip_pad_contact\n\
00199 \n\
00200 # the force experinced by the finger Pads (N)\n\
00201 # NOTE:this ignores data from the edges of the finger pressure\n\
00202 float64 left_fingertip_pad_force\n\
00203 float64 right_fingertip_pad_force\n\
00204 \n\
00205 # the current joint position (m)\n\
00206 float64 joint_position\n\
00207 \n\
00208 # the virtual (parallel) joint effort (N)\n\
00209 float64 joint_effort\n\
00210 \n\
00211 # the control state of our realtime controller\n\
00212 PR2GripperSensorRTState rtstate\n\
00213 ================================================================================\n\
00214 MSG: pr2_gripper_sensor_msgs/PR2GripperSensorRTState\n\
00215 # the control state of our realtime controller\n\
00216 int8 realtime_controller_state\n\
00217 \n\
00218 # predefined values to indicate our realtime_controller_state\n\
00219 int8 DISABLED = 0\n\
00220 int8 POSITION_SERVO = 3\n\
00221 int8 FORCE_SERVO = 4\n\
00222 int8 FIND_CONTACT = 5\n\
00223 int8 SLIP_SERVO = 6\n\
00224 ================================================================================\n\
00225 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactActionFeedback\n\
00226 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00227 \n\
00228 Header header\n\
00229 actionlib_msgs/GoalStatus status\n\
00230 PR2GripperFindContactFeedback feedback\n\
00231 \n\
00232 ================================================================================\n\
00233 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactFeedback\n\
00234 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00235 # feedback\n\
00236 PR2GripperFindContactData data\n\
00237 \n\
00238 \n\
00239 \n\
00240 "; }
00241 public:
00242 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00243
00244 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00245
00246 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00247 {
00248 ros::serialization::OStream stream(write_ptr, 1000000000);
00249 ros::serialization::serialize(stream, action_goal);
00250 ros::serialization::serialize(stream, action_result);
00251 ros::serialization::serialize(stream, action_feedback);
00252 return stream.getData();
00253 }
00254
00255 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00256 {
00257 ros::serialization::IStream stream(read_ptr, 1000000000);
00258 ros::serialization::deserialize(stream, action_goal);
00259 ros::serialization::deserialize(stream, action_result);
00260 ros::serialization::deserialize(stream, action_feedback);
00261 return stream.getData();
00262 }
00263
00264 ROS_DEPRECATED virtual uint32_t serializationLength() const
00265 {
00266 uint32_t size = 0;
00267 size += ros::serialization::serializationLength(action_goal);
00268 size += ros::serialization::serializationLength(action_result);
00269 size += ros::serialization::serializationLength(action_feedback);
00270 return size;
00271 }
00272
00273 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> > Ptr;
00274 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> const> ConstPtr;
00275 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00276 };
00277 typedef ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<std::allocator<void> > PR2GripperFindContactAction;
00278
00279 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction> PR2GripperFindContactActionPtr;
00280 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction const> PR2GripperFindContactActionConstPtr;
00281
00282
00283 template<typename ContainerAllocator>
00284 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> & v)
00285 {
00286 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> >::stream(s, "", v);
00287 return s;}
00288
00289 }
00290
00291 namespace ros
00292 {
00293 namespace message_traits
00294 {
00295 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> > : public TrueType {};
00296 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> const> : public TrueType {};
00297 template<class ContainerAllocator>
00298 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "99ab2df1bbde46c447b38f28b7896d16";
00302 }
00303
00304 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> &) { return value(); }
00305 static const uint64_t static_value1 = 0x99ab2df1bbde46c4ULL;
00306 static const uint64_t static_value2 = 0x47b38f28b7896d16ULL;
00307 };
00308
00309 template<class ContainerAllocator>
00310 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> > {
00311 static const char* value()
00312 {
00313 return "pr2_gripper_sensor_msgs/PR2GripperFindContactAction";
00314 }
00315
00316 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> &) { return value(); }
00317 };
00318
00319 template<class ContainerAllocator>
00320 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> > {
00321 static const char* value()
00322 {
00323 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00324 \n\
00325 PR2GripperFindContactActionGoal action_goal\n\
00326 PR2GripperFindContactActionResult action_result\n\
00327 PR2GripperFindContactActionFeedback action_feedback\n\
00328 \n\
00329 ================================================================================\n\
00330 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactActionGoal\n\
00331 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00332 \n\
00333 Header header\n\
00334 actionlib_msgs/GoalID goal_id\n\
00335 PR2GripperFindContactGoal goal\n\
00336 \n\
00337 ================================================================================\n\
00338 MSG: std_msgs/Header\n\
00339 # Standard metadata for higher-level stamped data types.\n\
00340 # This is generally used to communicate timestamped data \n\
00341 # in a particular coordinate frame.\n\
00342 # \n\
00343 # sequence ID: consecutively increasing ID \n\
00344 uint32 seq\n\
00345 #Two-integer timestamp that is expressed as:\n\
00346 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00347 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00348 # time-handling sugar is provided by the client library\n\
00349 time stamp\n\
00350 #Frame this data is associated with\n\
00351 # 0: no frame\n\
00352 # 1: global frame\n\
00353 string frame_id\n\
00354 \n\
00355 ================================================================================\n\
00356 MSG: actionlib_msgs/GoalID\n\
00357 # The stamp should store the time at which this goal was requested.\n\
00358 # It is used by an action server when it tries to preempt all\n\
00359 # goals that were requested before a certain time\n\
00360 time stamp\n\
00361 \n\
00362 # The id provides a way to associate feedback and\n\
00363 # result message with specific goal requests. The id\n\
00364 # specified must be unique.\n\
00365 string id\n\
00366 \n\
00367 \n\
00368 ================================================================================\n\
00369 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactGoal\n\
00370 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00371 # Contact action used to close fingers and find object contacts \n\
00372 # quickly while still stopping fast in real-time to not damage \n\
00373 # objects\n\
00374 \n\
00375 #goal\n\
00376 PR2GripperFindContactCommand command\n\
00377 \n\
00378 ================================================================================\n\
00379 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactCommand\n\
00380 # set true if you want to calibrate the fingertip sensors on the start\n\
00381 # of the find_contact action. While this is not necessary (and\n\
00382 # the default value will not calibrate the sensors) for best \n\
00383 # performance it is recommended that you set this to true each time \n\
00384 # you are calling find_contact and are confident the fingertips are \n\
00385 # not touching anything\n\
00386 # NOTE: SHOULD ONLY BE TRUE WHEN BOTH FINGERS ARE TOUCHING NOTHING\n\
00387 bool zero_fingertip_sensors\n\
00388 \n\
00389 # the finger contact conditions that determine what our goal is\n\
00390 # Leaving this field blank will result in the robot closing until\n\
00391 # contact on BOTH fingers is achieved\n\
00392 int8 contact_conditions\n\
00393 \n\
00394 # predefined values for the above contact_conditions variable\n\
00395 int8 BOTH = 0 # both fingers must make contact\n\
00396 int8 LEFT = 1 # just the left finger \n\
00397 int8 RIGHT = 2 # just the right finger\n\
00398 int8 EITHER = 3 # either finger, we don't care which\n\
00399 \n\
00400 ================================================================================\n\
00401 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactActionResult\n\
00402 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00403 \n\
00404 Header header\n\
00405 actionlib_msgs/GoalStatus status\n\
00406 PR2GripperFindContactResult result\n\
00407 \n\
00408 ================================================================================\n\
00409 MSG: actionlib_msgs/GoalStatus\n\
00410 GoalID goal_id\n\
00411 uint8 status\n\
00412 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00413 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00414 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00415 # and has since completed its execution (Terminal State)\n\
00416 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00417 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00418 # to some failure (Terminal State)\n\
00419 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00420 # because the goal was unattainable or invalid (Terminal State)\n\
00421 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00422 # and has not yet completed execution\n\
00423 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00424 # but the action server has not yet confirmed that the goal is canceled\n\
00425 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00426 # and was successfully cancelled (Terminal State)\n\
00427 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00428 # sent over the wire by an action server\n\
00429 \n\
00430 #Allow for the user to associate a string with GoalStatus for debugging\n\
00431 string text\n\
00432 \n\
00433 \n\
00434 ================================================================================\n\
00435 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactResult\n\
00436 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00437 #results\n\
00438 PR2GripperFindContactData data\n\
00439 \n\
00440 ================================================================================\n\
00441 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactData\n\
00442 # Time the data was recorded at\n\
00443 time stamp\n\
00444 \n\
00445 # true when our contact conditions have been met\n\
00446 # (see PR2GripperFindContact command)\n\
00447 bool contact_conditions_met\n\
00448 \n\
00449 # the finger contact conditions \n\
00450 # true if the finger experienced a contact event\n\
00451 #\n\
00452 # contact events are defined as contact with the fingerpads\n\
00453 # as either steady-state or high-freq force events\n\
00454 bool left_fingertip_pad_contact\n\
00455 bool right_fingertip_pad_contact\n\
00456 \n\
00457 # the force experinced by the finger Pads (N)\n\
00458 # NOTE:this ignores data from the edges of the finger pressure\n\
00459 float64 left_fingertip_pad_force\n\
00460 float64 right_fingertip_pad_force\n\
00461 \n\
00462 # the current joint position (m)\n\
00463 float64 joint_position\n\
00464 \n\
00465 # the virtual (parallel) joint effort (N)\n\
00466 float64 joint_effort\n\
00467 \n\
00468 # the control state of our realtime controller\n\
00469 PR2GripperSensorRTState rtstate\n\
00470 ================================================================================\n\
00471 MSG: pr2_gripper_sensor_msgs/PR2GripperSensorRTState\n\
00472 # the control state of our realtime controller\n\
00473 int8 realtime_controller_state\n\
00474 \n\
00475 # predefined values to indicate our realtime_controller_state\n\
00476 int8 DISABLED = 0\n\
00477 int8 POSITION_SERVO = 3\n\
00478 int8 FORCE_SERVO = 4\n\
00479 int8 FIND_CONTACT = 5\n\
00480 int8 SLIP_SERVO = 6\n\
00481 ================================================================================\n\
00482 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactActionFeedback\n\
00483 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00484 \n\
00485 Header header\n\
00486 actionlib_msgs/GoalStatus status\n\
00487 PR2GripperFindContactFeedback feedback\n\
00488 \n\
00489 ================================================================================\n\
00490 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactFeedback\n\
00491 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00492 # feedback\n\
00493 PR2GripperFindContactData data\n\
00494 \n\
00495 \n\
00496 \n\
00497 ";
00498 }
00499
00500 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> &) { return value(); }
00501 };
00502
00503 }
00504 }
00505
00506 namespace ros
00507 {
00508 namespace serialization
00509 {
00510
00511 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> >
00512 {
00513 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00514 {
00515 stream.next(m.action_goal);
00516 stream.next(m.action_result);
00517 stream.next(m.action_feedback);
00518 }
00519
00520 ROS_DECLARE_ALLINONE_SERIALIZER;
00521 };
00522 }
00523 }
00524
00525 namespace ros
00526 {
00527 namespace message_operations
00528 {
00529
00530 template<class ContainerAllocator>
00531 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> >
00532 {
00533 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperFindContactAction_<ContainerAllocator> & v)
00534 {
00535 s << indent << "action_goal: ";
00536 s << std::endl;
00537 Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00538 s << indent << "action_result: ";
00539 s << std::endl;
00540 Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00541 s << indent << "action_feedback: ";
00542 s << std::endl;
00543 Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00544 }
00545 };
00546
00547
00548 }
00549 }
00550
00551 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFINDCONTACTACTION_H
00552