$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_object_perception/doc_stacks/2013-03-01_14-45-40.878742/cob_object_perception/cob_object_detection_msgs/msg/AcquireObjectImageAction.msg */ 00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEACTION_H 00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEACTION_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 "cob_object_detection_msgs/AcquireObjectImageActionGoal.h" 00018 #include "cob_object_detection_msgs/AcquireObjectImageActionResult.h" 00019 #include "cob_object_detection_msgs/AcquireObjectImageActionFeedback.h" 00020 00021 namespace cob_object_detection_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct AcquireObjectImageAction_ { 00025 typedef AcquireObjectImageAction_<ContainerAllocator> Type; 00026 00027 AcquireObjectImageAction_() 00028 : action_goal() 00029 , action_result() 00030 , action_feedback() 00031 { 00032 } 00033 00034 AcquireObjectImageAction_(const ContainerAllocator& _alloc) 00035 : action_goal(_alloc) 00036 , action_result(_alloc) 00037 , action_feedback(_alloc) 00038 { 00039 } 00040 00041 typedef ::cob_object_detection_msgs::AcquireObjectImageActionGoal_<ContainerAllocator> _action_goal_type; 00042 ::cob_object_detection_msgs::AcquireObjectImageActionGoal_<ContainerAllocator> action_goal; 00043 00044 typedef ::cob_object_detection_msgs::AcquireObjectImageActionResult_<ContainerAllocator> _action_result_type; 00045 ::cob_object_detection_msgs::AcquireObjectImageActionResult_<ContainerAllocator> action_result; 00046 00047 typedef ::cob_object_detection_msgs::AcquireObjectImageActionFeedback_<ContainerAllocator> _action_feedback_type; 00048 ::cob_object_detection_msgs::AcquireObjectImageActionFeedback_<ContainerAllocator> action_feedback; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "cob_object_detection_msgs/AcquireObjectImageAction"; } 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 "089df8c12f43ce82ba50ba0d9569dfde"; } 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 AcquireObjectImageActionGoal action_goal\n\ 00069 AcquireObjectImageActionResult action_result\n\ 00070 AcquireObjectImageActionFeedback action_feedback\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: cob_object_detection_msgs/AcquireObjectImageActionGoal\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 AcquireObjectImageGoal 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: cob_object_detection_msgs/AcquireObjectImageGoal\n\ 00113 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00114 # The goal\n\ 00115 string object_name\n\ 00116 bool reset_image_counter\n\ 00117 geometry_msgs/PoseStamped pose\n\ 00118 geometry_msgs/PoseStamped[] sdh_joints\n\ 00119 \n\ 00120 ================================================================================\n\ 00121 MSG: geometry_msgs/PoseStamped\n\ 00122 # A Pose with reference coordinate frame and timestamp\n\ 00123 Header header\n\ 00124 Pose pose\n\ 00125 \n\ 00126 ================================================================================\n\ 00127 MSG: geometry_msgs/Pose\n\ 00128 # A representation of pose in free space, composed of postion and orientation. \n\ 00129 Point position\n\ 00130 Quaternion orientation\n\ 00131 \n\ 00132 ================================================================================\n\ 00133 MSG: geometry_msgs/Point\n\ 00134 # This contains the position of a point in free space\n\ 00135 float64 x\n\ 00136 float64 y\n\ 00137 float64 z\n\ 00138 \n\ 00139 ================================================================================\n\ 00140 MSG: geometry_msgs/Quaternion\n\ 00141 # This represents an orientation in free space in quaternion form.\n\ 00142 \n\ 00143 float64 x\n\ 00144 float64 y\n\ 00145 float64 z\n\ 00146 float64 w\n\ 00147 \n\ 00148 ================================================================================\n\ 00149 MSG: cob_object_detection_msgs/AcquireObjectImageActionResult\n\ 00150 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00151 \n\ 00152 Header header\n\ 00153 actionlib_msgs/GoalStatus status\n\ 00154 AcquireObjectImageResult result\n\ 00155 \n\ 00156 ================================================================================\n\ 00157 MSG: actionlib_msgs/GoalStatus\n\ 00158 GoalID goal_id\n\ 00159 uint8 status\n\ 00160 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00161 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00162 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00163 # and has since completed its execution (Terminal State)\n\ 00164 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00165 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00166 # to some failure (Terminal State)\n\ 00167 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00168 # because the goal was unattainable or invalid (Terminal State)\n\ 00169 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00170 # and has not yet completed execution\n\ 00171 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00172 # but the action server has not yet confirmed that the goal is canceled\n\ 00173 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00174 # and was successfully cancelled (Terminal State)\n\ 00175 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00176 # sent over the wire by an action server\n\ 00177 \n\ 00178 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00179 string text\n\ 00180 \n\ 00181 \n\ 00182 ================================================================================\n\ 00183 MSG: cob_object_detection_msgs/AcquireObjectImageResult\n\ 00184 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00185 # The results\n\ 00186 \n\ 00187 ================================================================================\n\ 00188 MSG: cob_object_detection_msgs/AcquireObjectImageActionFeedback\n\ 00189 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00190 \n\ 00191 Header header\n\ 00192 actionlib_msgs/GoalStatus status\n\ 00193 AcquireObjectImageFeedback feedback\n\ 00194 \n\ 00195 ================================================================================\n\ 00196 MSG: cob_object_detection_msgs/AcquireObjectImageFeedback\n\ 00197 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00198 # The feedback\n\ 00199 float32 percent_complete\n\ 00200 \n\ 00201 \n\ 00202 "; } 00203 public: 00204 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00205 00206 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00207 00208 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00209 { 00210 ros::serialization::OStream stream(write_ptr, 1000000000); 00211 ros::serialization::serialize(stream, action_goal); 00212 ros::serialization::serialize(stream, action_result); 00213 ros::serialization::serialize(stream, action_feedback); 00214 return stream.getData(); 00215 } 00216 00217 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00218 { 00219 ros::serialization::IStream stream(read_ptr, 1000000000); 00220 ros::serialization::deserialize(stream, action_goal); 00221 ros::serialization::deserialize(stream, action_result); 00222 ros::serialization::deserialize(stream, action_feedback); 00223 return stream.getData(); 00224 } 00225 00226 ROS_DEPRECATED virtual uint32_t serializationLength() const 00227 { 00228 uint32_t size = 0; 00229 size += ros::serialization::serializationLength(action_goal); 00230 size += ros::serialization::serializationLength(action_result); 00231 size += ros::serialization::serializationLength(action_feedback); 00232 return size; 00233 } 00234 00235 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > Ptr; 00236 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> const> ConstPtr; 00237 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00238 }; // struct AcquireObjectImageAction 00239 typedef ::cob_object_detection_msgs::AcquireObjectImageAction_<std::allocator<void> > AcquireObjectImageAction; 00240 00241 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageAction> AcquireObjectImageActionPtr; 00242 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageAction const> AcquireObjectImageActionConstPtr; 00243 00244 00245 template<typename ContainerAllocator> 00246 std::ostream& operator<<(std::ostream& s, const ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> & v) 00247 { 00248 ros::message_operations::Printer< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> >::stream(s, "", v); 00249 return s;} 00250 00251 } // namespace cob_object_detection_msgs 00252 00253 namespace ros 00254 { 00255 namespace message_traits 00256 { 00257 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > : public TrueType {}; 00258 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> const> : public TrueType {}; 00259 template<class ContainerAllocator> 00260 struct MD5Sum< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "089df8c12f43ce82ba50ba0d9569dfde"; 00264 } 00265 00266 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> &) { return value(); } 00267 static const uint64_t static_value1 = 0x089df8c12f43ce82ULL; 00268 static const uint64_t static_value2 = 0xba50ba0d9569dfdeULL; 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct DataType< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "cob_object_detection_msgs/AcquireObjectImageAction"; 00276 } 00277 00278 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct Definition< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00286 \n\ 00287 AcquireObjectImageActionGoal action_goal\n\ 00288 AcquireObjectImageActionResult action_result\n\ 00289 AcquireObjectImageActionFeedback action_feedback\n\ 00290 \n\ 00291 ================================================================================\n\ 00292 MSG: cob_object_detection_msgs/AcquireObjectImageActionGoal\n\ 00293 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00294 \n\ 00295 Header header\n\ 00296 actionlib_msgs/GoalID goal_id\n\ 00297 AcquireObjectImageGoal goal\n\ 00298 \n\ 00299 ================================================================================\n\ 00300 MSG: std_msgs/Header\n\ 00301 # Standard metadata for higher-level stamped data types.\n\ 00302 # This is generally used to communicate timestamped data \n\ 00303 # in a particular coordinate frame.\n\ 00304 # \n\ 00305 # sequence ID: consecutively increasing ID \n\ 00306 uint32 seq\n\ 00307 #Two-integer timestamp that is expressed as:\n\ 00308 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00309 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00310 # time-handling sugar is provided by the client library\n\ 00311 time stamp\n\ 00312 #Frame this data is associated with\n\ 00313 # 0: no frame\n\ 00314 # 1: global frame\n\ 00315 string frame_id\n\ 00316 \n\ 00317 ================================================================================\n\ 00318 MSG: actionlib_msgs/GoalID\n\ 00319 # The stamp should store the time at which this goal was requested.\n\ 00320 # It is used by an action server when it tries to preempt all\n\ 00321 # goals that were requested before a certain time\n\ 00322 time stamp\n\ 00323 \n\ 00324 # The id provides a way to associate feedback and\n\ 00325 # result message with specific goal requests. The id\n\ 00326 # specified must be unique.\n\ 00327 string id\n\ 00328 \n\ 00329 \n\ 00330 ================================================================================\n\ 00331 MSG: cob_object_detection_msgs/AcquireObjectImageGoal\n\ 00332 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00333 # The goal\n\ 00334 string object_name\n\ 00335 bool reset_image_counter\n\ 00336 geometry_msgs/PoseStamped pose\n\ 00337 geometry_msgs/PoseStamped[] sdh_joints\n\ 00338 \n\ 00339 ================================================================================\n\ 00340 MSG: geometry_msgs/PoseStamped\n\ 00341 # A Pose with reference coordinate frame and timestamp\n\ 00342 Header header\n\ 00343 Pose pose\n\ 00344 \n\ 00345 ================================================================================\n\ 00346 MSG: geometry_msgs/Pose\n\ 00347 # A representation of pose in free space, composed of postion and orientation. \n\ 00348 Point position\n\ 00349 Quaternion orientation\n\ 00350 \n\ 00351 ================================================================================\n\ 00352 MSG: geometry_msgs/Point\n\ 00353 # This contains the position of a point in free space\n\ 00354 float64 x\n\ 00355 float64 y\n\ 00356 float64 z\n\ 00357 \n\ 00358 ================================================================================\n\ 00359 MSG: geometry_msgs/Quaternion\n\ 00360 # This represents an orientation in free space in quaternion form.\n\ 00361 \n\ 00362 float64 x\n\ 00363 float64 y\n\ 00364 float64 z\n\ 00365 float64 w\n\ 00366 \n\ 00367 ================================================================================\n\ 00368 MSG: cob_object_detection_msgs/AcquireObjectImageActionResult\n\ 00369 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00370 \n\ 00371 Header header\n\ 00372 actionlib_msgs/GoalStatus status\n\ 00373 AcquireObjectImageResult result\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: cob_object_detection_msgs/AcquireObjectImageResult\n\ 00403 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00404 # The results\n\ 00405 \n\ 00406 ================================================================================\n\ 00407 MSG: cob_object_detection_msgs/AcquireObjectImageActionFeedback\n\ 00408 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00409 \n\ 00410 Header header\n\ 00411 actionlib_msgs/GoalStatus status\n\ 00412 AcquireObjectImageFeedback feedback\n\ 00413 \n\ 00414 ================================================================================\n\ 00415 MSG: cob_object_detection_msgs/AcquireObjectImageFeedback\n\ 00416 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00417 # The feedback\n\ 00418 float32 percent_complete\n\ 00419 \n\ 00420 \n\ 00421 "; 00422 } 00423 00424 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> &) { return value(); } 00425 }; 00426 00427 } // namespace message_traits 00428 } // namespace ros 00429 00430 namespace ros 00431 { 00432 namespace serialization 00433 { 00434 00435 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > 00436 { 00437 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00438 { 00439 stream.next(m.action_goal); 00440 stream.next(m.action_result); 00441 stream.next(m.action_feedback); 00442 } 00443 00444 ROS_DECLARE_ALLINONE_SERIALIZER; 00445 }; // struct AcquireObjectImageAction_ 00446 } // namespace serialization 00447 } // namespace ros 00448 00449 namespace ros 00450 { 00451 namespace message_operations 00452 { 00453 00454 template<class ContainerAllocator> 00455 struct Printer< ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> > 00456 { 00457 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_object_detection_msgs::AcquireObjectImageAction_<ContainerAllocator> & v) 00458 { 00459 s << indent << "action_goal: "; 00460 s << std::endl; 00461 Printer< ::cob_object_detection_msgs::AcquireObjectImageActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal); 00462 s << indent << "action_result: "; 00463 s << std::endl; 00464 Printer< ::cob_object_detection_msgs::AcquireObjectImageActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result); 00465 s << indent << "action_feedback: "; 00466 s << std::endl; 00467 Printer< ::cob_object_detection_msgs::AcquireObjectImageActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback); 00468 } 00469 }; 00470 00471 00472 } // namespace message_operations 00473 } // namespace ros 00474 00475 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEACTION_H 00476