CalibCameraImg.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-youbot_overhead_cameras/doc_stacks/2014-01-02_12-12-20.017680/youbot_overhead_cameras/youbot_overhead_vision/srv/CalibCameraImg.srv */
00002 #ifndef YOUBOT_OVERHEAD_VISION_SERVICE_CALIBCAMERAIMG_H
00003 #define YOUBOT_OVERHEAD_VISION_SERVICE_CALIBCAMERAIMG_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 "ros/service_traits.h"
00018 
00019 
00020 
00021 #include "sensor_msgs/Image.h"
00022 
00023 namespace youbot_overhead_vision
00024 {
00025 template <class ContainerAllocator>
00026 struct CalibCameraImgRequest_ {
00027   typedef CalibCameraImgRequest_<ContainerAllocator> Type;
00028 
00029   CalibCameraImgRequest_()
00030   {
00031   }
00032 
00033   CalibCameraImgRequest_(const ContainerAllocator& _alloc)
00034   {
00035   }
00036 
00037 
00038   typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > Ptr;
00039   typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator>  const> ConstPtr;
00040   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 }; // struct CalibCameraImgRequest
00042 typedef  ::youbot_overhead_vision::CalibCameraImgRequest_<std::allocator<void> > CalibCameraImgRequest;
00043 
00044 typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgRequest> CalibCameraImgRequestPtr;
00045 typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgRequest const> CalibCameraImgRequestConstPtr;
00046 
00047 
00048 template <class ContainerAllocator>
00049 struct CalibCameraImgResponse_ {
00050   typedef CalibCameraImgResponse_<ContainerAllocator> Type;
00051 
00052   CalibCameraImgResponse_()
00053   : calImg1()
00054   , ImageXCoords()
00055   , ImageYCoords()
00056   , heading(0.0)
00057   , midpointX(0)
00058   , midpointY(0)
00059   {
00060   }
00061 
00062   CalibCameraImgResponse_(const ContainerAllocator& _alloc)
00063   : calImg1(_alloc)
00064   , ImageXCoords(_alloc)
00065   , ImageYCoords(_alloc)
00066   , heading(0.0)
00067   , midpointX(0)
00068   , midpointY(0)
00069   {
00070   }
00071 
00072   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _calImg1_type;
00073    ::sensor_msgs::Image_<ContainerAllocator>  calImg1;
00074 
00075   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _ImageXCoords_type;
00076   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  ImageXCoords;
00077 
00078   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _ImageYCoords_type;
00079   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  ImageYCoords;
00080 
00081   typedef double _heading_type;
00082   double heading;
00083 
00084   typedef int32_t _midpointX_type;
00085   int32_t midpointX;
00086 
00087   typedef int32_t _midpointY_type;
00088   int32_t midpointY;
00089 
00090 
00091   typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > Ptr;
00092   typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator>  const> ConstPtr;
00093   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00094 }; // struct CalibCameraImgResponse
00095 typedef  ::youbot_overhead_vision::CalibCameraImgResponse_<std::allocator<void> > CalibCameraImgResponse;
00096 
00097 typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgResponse> CalibCameraImgResponsePtr;
00098 typedef boost::shared_ptr< ::youbot_overhead_vision::CalibCameraImgResponse const> CalibCameraImgResponseConstPtr;
00099 
00100 struct CalibCameraImg
00101 {
00102 
00103 typedef CalibCameraImgRequest Request;
00104 typedef CalibCameraImgResponse Response;
00105 Request request;
00106 Response response;
00107 
00108 typedef Request RequestType;
00109 typedef Response ResponseType;
00110 }; // struct CalibCameraImg
00111 } // namespace youbot_overhead_vision
00112 
00113 namespace ros
00114 {
00115 namespace message_traits
00116 {
00117 template<class ContainerAllocator> struct IsMessage< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > : public TrueType {};
00118 template<class ContainerAllocator> struct IsMessage< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator>  const> : public TrueType {};
00119 template<class ContainerAllocator>
00120 struct MD5Sum< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > {
00121   static const char* value() 
00122   {
00123     return "d41d8cd98f00b204e9800998ecf8427e";
00124   }
00125 
00126   static const char* value(const  ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> &) { return value(); } 
00127   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00128   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00129 };
00130 
00131 template<class ContainerAllocator>
00132 struct DataType< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > {
00133   static const char* value() 
00134   {
00135     return "youbot_overhead_vision/CalibCameraImgRequest";
00136   }
00137 
00138   static const char* value(const  ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> &) { return value(); } 
00139 };
00140 
00141 template<class ContainerAllocator>
00142 struct Definition< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > {
00143   static const char* value() 
00144   {
00145     return "\n\
00146 ";
00147   }
00148 
00149   static const char* value(const  ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> &) { return value(); } 
00150 };
00151 
00152 template<class ContainerAllocator> struct IsFixedSize< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > : public TrueType {};
00153 } // namespace message_traits
00154 } // namespace ros
00155 
00156 
00157 namespace ros
00158 {
00159 namespace message_traits
00160 {
00161 template<class ContainerAllocator> struct IsMessage< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > : public TrueType {};
00162 template<class ContainerAllocator> struct IsMessage< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator>  const> : public TrueType {};
00163 template<class ContainerAllocator>
00164 struct MD5Sum< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > {
00165   static const char* value() 
00166   {
00167     return "a682ef2e5e5a5a18b8f20577d8fe58e8";
00168   }
00169 
00170   static const char* value(const  ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> &) { return value(); } 
00171   static const uint64_t static_value1 = 0xa682ef2e5e5a5a18ULL;
00172   static const uint64_t static_value2 = 0xb8f20577d8fe58e8ULL;
00173 };
00174 
00175 template<class ContainerAllocator>
00176 struct DataType< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "youbot_overhead_vision/CalibCameraImgResponse";
00180   }
00181 
00182   static const char* value(const  ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> &) { return value(); } 
00183 };
00184 
00185 template<class ContainerAllocator>
00186 struct Definition< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > {
00187   static const char* value() 
00188   {
00189     return "sensor_msgs/Image calImg1\n\
00190 int32[] ImageXCoords\n\
00191 int32[] ImageYCoords\n\
00192 float64 heading\n\
00193 int32 midpointX\n\
00194 int32 midpointY\n\
00195 \n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: sensor_msgs/Image\n\
00199 # This message contains an uncompressed image\n\
00200 # (0, 0) is at top-left corner of image\n\
00201 #\n\
00202 \n\
00203 Header header        # Header timestamp should be acquisition time of image\n\
00204                      # Header frame_id should be optical frame of camera\n\
00205                      # origin of frame should be optical center of cameara\n\
00206                      # +x should point to the right in the image\n\
00207                      # +y should point down in the image\n\
00208                      # +z should point into to plane of the image\n\
00209                      # If the frame_id here and the frame_id of the CameraInfo\n\
00210                      # message associated with the image conflict\n\
00211                      # the behavior is undefined\n\
00212 \n\
00213 uint32 height         # image height, that is, number of rows\n\
00214 uint32 width          # image width, that is, number of columns\n\
00215 \n\
00216 # The legal values for encoding are in file src/image_encodings.cpp\n\
00217 # If you want to standardize a new string format, join\n\
00218 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00219 \n\
00220 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00221                       # taken from the list of strings in src/image_encodings.cpp\n\
00222 \n\
00223 uint8 is_bigendian    # is this data bigendian?\n\
00224 uint32 step           # Full row length in bytes\n\
00225 uint8[] data          # actual matrix data, size is (step * rows)\n\
00226 \n\
00227 ================================================================================\n\
00228 MSG: std_msgs/Header\n\
00229 # Standard metadata for higher-level stamped data types.\n\
00230 # This is generally used to communicate timestamped data \n\
00231 # in a particular coordinate frame.\n\
00232 # \n\
00233 # sequence ID: consecutively increasing ID \n\
00234 uint32 seq\n\
00235 #Two-integer timestamp that is expressed as:\n\
00236 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00237 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00238 # time-handling sugar is provided by the client library\n\
00239 time stamp\n\
00240 #Frame this data is associated with\n\
00241 # 0: no frame\n\
00242 # 1: global frame\n\
00243 string frame_id\n\
00244 \n\
00245 ";
00246   }
00247 
00248   static const char* value(const  ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> &) { return value(); } 
00249 };
00250 
00251 } // namespace message_traits
00252 } // namespace ros
00253 
00254 namespace ros
00255 {
00256 namespace serialization
00257 {
00258 
00259 template<class ContainerAllocator> struct Serializer< ::youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> >
00260 {
00261   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00262   {
00263   }
00264 
00265   ROS_DECLARE_ALLINONE_SERIALIZER;
00266 }; // struct CalibCameraImgRequest_
00267 } // namespace serialization
00268 } // namespace ros
00269 
00270 
00271 namespace ros
00272 {
00273 namespace serialization
00274 {
00275 
00276 template<class ContainerAllocator> struct Serializer< ::youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> >
00277 {
00278   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00279   {
00280     stream.next(m.calImg1);
00281     stream.next(m.ImageXCoords);
00282     stream.next(m.ImageYCoords);
00283     stream.next(m.heading);
00284     stream.next(m.midpointX);
00285     stream.next(m.midpointY);
00286   }
00287 
00288   ROS_DECLARE_ALLINONE_SERIALIZER;
00289 }; // struct CalibCameraImgResponse_
00290 } // namespace serialization
00291 } // namespace ros
00292 
00293 namespace ros
00294 {
00295 namespace service_traits
00296 {
00297 template<>
00298 struct MD5Sum<youbot_overhead_vision::CalibCameraImg> {
00299   static const char* value() 
00300   {
00301     return "a682ef2e5e5a5a18b8f20577d8fe58e8";
00302   }
00303 
00304   static const char* value(const youbot_overhead_vision::CalibCameraImg&) { return value(); } 
00305 };
00306 
00307 template<>
00308 struct DataType<youbot_overhead_vision::CalibCameraImg> {
00309   static const char* value() 
00310   {
00311     return "youbot_overhead_vision/CalibCameraImg";
00312   }
00313 
00314   static const char* value(const youbot_overhead_vision::CalibCameraImg&) { return value(); } 
00315 };
00316 
00317 template<class ContainerAllocator>
00318 struct MD5Sum<youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > {
00319   static const char* value() 
00320   {
00321     return "a682ef2e5e5a5a18b8f20577d8fe58e8";
00322   }
00323 
00324   static const char* value(const youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> &) { return value(); } 
00325 };
00326 
00327 template<class ContainerAllocator>
00328 struct DataType<youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> > {
00329   static const char* value() 
00330   {
00331     return "youbot_overhead_vision/CalibCameraImg";
00332   }
00333 
00334   static const char* value(const youbot_overhead_vision::CalibCameraImgRequest_<ContainerAllocator> &) { return value(); } 
00335 };
00336 
00337 template<class ContainerAllocator>
00338 struct MD5Sum<youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > {
00339   static const char* value() 
00340   {
00341     return "a682ef2e5e5a5a18b8f20577d8fe58e8";
00342   }
00343 
00344   static const char* value(const youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> &) { return value(); } 
00345 };
00346 
00347 template<class ContainerAllocator>
00348 struct DataType<youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> > {
00349   static const char* value() 
00350   {
00351     return "youbot_overhead_vision/CalibCameraImg";
00352   }
00353 
00354   static const char* value(const youbot_overhead_vision::CalibCameraImgResponse_<ContainerAllocator> &) { return value(); } 
00355 };
00356 
00357 } // namespace service_traits
00358 } // namespace ros
00359 
00360 #endif // YOUBOT_OVERHEAD_VISION_SERVICE_CALIBCAMERAIMG_H
00361 


youbot_overhead_vision
Author(s): Fred Clinckemaillie, Maintained by David Kent
autogenerated on Thu Jan 2 2014 12:14:12