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