FindFiducialGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-turtlebot_apps/doc_stacks/2013-12-06_20-47-53.494821/turtlebot_apps/turtlebot_actions/msg/FindFiducialGoal.msg */
00002 #ifndef TURTLEBOT_ACTIONS_MESSAGE_FINDFIDUCIALGOAL_H
00003 #define TURTLEBOT_ACTIONS_MESSAGE_FINDFIDUCIALGOAL_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 
00018 namespace turtlebot_actions
00019 {
00020 template <class ContainerAllocator>
00021 struct FindFiducialGoal_ {
00022   typedef FindFiducialGoal_<ContainerAllocator> Type;
00023 
00024   FindFiducialGoal_()
00025   : camera_name()
00026   , pattern_width(0)
00027   , pattern_height(0)
00028   , pattern_size(0.0)
00029   , pattern_type(0)
00030   {
00031   }
00032 
00033   FindFiducialGoal_(const ContainerAllocator& _alloc)
00034   : camera_name(_alloc)
00035   , pattern_width(0)
00036   , pattern_height(0)
00037   , pattern_size(0.0)
00038   , pattern_type(0)
00039   {
00040   }
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _camera_name_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  camera_name;
00044 
00045   typedef uint8_t _pattern_width_type;
00046   uint8_t pattern_width;
00047 
00048   typedef uint8_t _pattern_height_type;
00049   uint8_t pattern_height;
00050 
00051   typedef float _pattern_size_type;
00052   float pattern_size;
00053 
00054   typedef uint8_t _pattern_type_type;
00055   uint8_t pattern_type;
00056 
00057   enum { CHESSBOARD = 1 };
00058   enum { CIRCLES_GRID = 2 };
00059   enum { ASYMMETRIC_CIRCLES_GRID = 3 };
00060 
00061   typedef boost::shared_ptr< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> > Ptr;
00062   typedef boost::shared_ptr< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator>  const> ConstPtr;
00063   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00064 }; // struct FindFiducialGoal
00065 typedef  ::turtlebot_actions::FindFiducialGoal_<std::allocator<void> > FindFiducialGoal;
00066 
00067 typedef boost::shared_ptr< ::turtlebot_actions::FindFiducialGoal> FindFiducialGoalPtr;
00068 typedef boost::shared_ptr< ::turtlebot_actions::FindFiducialGoal const> FindFiducialGoalConstPtr;
00069 
00070 
00071 template<typename ContainerAllocator>
00072 std::ostream& operator<<(std::ostream& s, const  ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> & v)
00073 {
00074   ros::message_operations::Printer< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> >::stream(s, "", v);
00075   return s;}
00076 
00077 } // namespace turtlebot_actions
00078 
00079 namespace ros
00080 {
00081 namespace message_traits
00082 {
00083 template<class ContainerAllocator> struct IsMessage< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> > : public TrueType {};
00084 template<class ContainerAllocator> struct IsMessage< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator>  const> : public TrueType {};
00085 template<class ContainerAllocator>
00086 struct MD5Sum< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "8906385fe785bb5733551eb61968fe5b";
00090   }
00091 
00092   static const char* value(const  ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> &) { return value(); } 
00093   static const uint64_t static_value1 = 0x8906385fe785bb57ULL;
00094   static const uint64_t static_value2 = 0x33551eb61968fe5bULL;
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct DataType< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "turtlebot_actions/FindFiducialGoal";
00102   }
00103 
00104   static const char* value(const  ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> &) { return value(); } 
00105 };
00106 
00107 template<class ContainerAllocator>
00108 struct Definition< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00112 #goal definition\n\
00113 uint8   CHESSBOARD = 1\n\
00114 uint8   CIRCLES_GRID = 2\n\
00115 uint8   ASYMMETRIC_CIRCLES_GRID =3\n\
00116 \n\
00117 string    camera_name       # name of the camera \n\
00118 uint8     pattern_width     # number of objects across\n\
00119 uint8     pattern_height    # number of objects down\n\
00120 float32   pattern_size      # size the object pattern (square size or circle size)\n\
00121 uint8     pattern_type      # type of pattern (CHESSBOARD, CIRCLES_GRID, ASYMMETRIC_CIRCLES_GRID)\n\
00122 \n\
00123 ";
00124   }
00125 
00126   static const char* value(const  ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 } // namespace message_traits
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136 
00137 template<class ContainerAllocator> struct Serializer< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> >
00138 {
00139   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140   {
00141     stream.next(m.camera_name);
00142     stream.next(m.pattern_width);
00143     stream.next(m.pattern_height);
00144     stream.next(m.pattern_size);
00145     stream.next(m.pattern_type);
00146   }
00147 
00148   ROS_DECLARE_ALLINONE_SERIALIZER;
00149 }; // struct FindFiducialGoal_
00150 } // namespace serialization
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157 
00158 template<class ContainerAllocator>
00159 struct Printer< ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> >
00160 {
00161   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::turtlebot_actions::FindFiducialGoal_<ContainerAllocator> & v) 
00162   {
00163     s << indent << "camera_name: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.camera_name);
00165     s << indent << "pattern_width: ";
00166     Printer<uint8_t>::stream(s, indent + "  ", v.pattern_width);
00167     s << indent << "pattern_height: ";
00168     Printer<uint8_t>::stream(s, indent + "  ", v.pattern_height);
00169     s << indent << "pattern_size: ";
00170     Printer<float>::stream(s, indent + "  ", v.pattern_size);
00171     s << indent << "pattern_type: ";
00172     Printer<uint8_t>::stream(s, indent + "  ", v.pattern_type);
00173   }
00174 };
00175 
00176 
00177 } // namespace message_operations
00178 } // namespace ros
00179 
00180 #endif // TURTLEBOT_ACTIONS_MESSAGE_FINDFIDUCIALGOAL_H
00181 


turtlebot_actions
Author(s): Helen Oleynikova, Melonee Wise
autogenerated on Fri Dec 6 2013 20:51:35