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