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