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