Go to the documentation of this file.00001
00002 #ifndef LASER_ASSEMBLER_SERVICE_ASSEMBLESCANS_H
00003 #define LASER_ASSEMBLER_SERVICE_ASSEMBLESCANS_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/PointCloud.h"
00022
00023 namespace laser_assembler
00024 {
00025 template <class ContainerAllocator>
00026 struct AssembleScansRequest_ {
00027 typedef AssembleScansRequest_<ContainerAllocator> Type;
00028
00029 AssembleScansRequest_()
00030 : begin()
00031 , end()
00032 {
00033 }
00034
00035 AssembleScansRequest_(const ContainerAllocator& _alloc)
00036 : begin()
00037 , end()
00038 {
00039 }
00040
00041 typedef ros::Time _begin_type;
00042 ros::Time begin;
00043
00044 typedef ros::Time _end_type;
00045 ros::Time end;
00046
00047
00048 typedef boost::shared_ptr< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::laser_assembler::AssembleScansRequest_<std::allocator<void> > AssembleScansRequest;
00053
00054 typedef boost::shared_ptr< ::laser_assembler::AssembleScansRequest> AssembleScansRequestPtr;
00055 typedef boost::shared_ptr< ::laser_assembler::AssembleScansRequest const> AssembleScansRequestConstPtr;
00056
00057
00058
00059 template <class ContainerAllocator>
00060 struct AssembleScansResponse_ {
00061 typedef AssembleScansResponse_<ContainerAllocator> Type;
00062
00063 AssembleScansResponse_()
00064 : cloud()
00065 {
00066 }
00067
00068 AssembleScansResponse_(const ContainerAllocator& _alloc)
00069 : cloud(_alloc)
00070 {
00071 }
00072
00073 typedef ::sensor_msgs::PointCloud_<ContainerAllocator> _cloud_type;
00074 ::sensor_msgs::PointCloud_<ContainerAllocator> cloud;
00075
00076
00077 typedef boost::shared_ptr< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> > Ptr;
00078 typedef boost::shared_ptr< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> const> ConstPtr;
00079 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 };
00081 typedef ::laser_assembler::AssembleScansResponse_<std::allocator<void> > AssembleScansResponse;
00082
00083 typedef boost::shared_ptr< ::laser_assembler::AssembleScansResponse> AssembleScansResponsePtr;
00084 typedef boost::shared_ptr< ::laser_assembler::AssembleScansResponse const> AssembleScansResponseConstPtr;
00085
00086
00087 struct AssembleScans
00088 {
00089
00090 typedef AssembleScansRequest Request;
00091 typedef AssembleScansResponse Response;
00092 Request request;
00093 Response response;
00094
00095 typedef Request RequestType;
00096 typedef Response ResponseType;
00097 };
00098 }
00099
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator> struct IsMessage< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> > : public TrueType {};
00105 template<class ContainerAllocator> struct IsMessage< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> const> : public TrueType {};
00106 template<class ContainerAllocator>
00107 struct MD5Sum< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "b341004f74e15bf5e1b2053a9183bdc7";
00111 }
00112
00113 static const char* value(const ::laser_assembler::AssembleScansRequest_<ContainerAllocator> &) { return value(); }
00114 static const uint64_t static_value1 = 0xb341004f74e15bf5ULL;
00115 static const uint64_t static_value2 = 0xe1b2053a9183bdc7ULL;
00116 };
00117
00118 template<class ContainerAllocator>
00119 struct DataType< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "laser_assembler/AssembleScansRequest";
00123 }
00124
00125 static const char* value(const ::laser_assembler::AssembleScansRequest_<ContainerAllocator> &) { return value(); }
00126 };
00127
00128 template<class ContainerAllocator>
00129 struct Definition< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> > {
00130 static const char* value()
00131 {
00132 return "\n\
00133 time begin\n\
00134 \n\
00135 time end\n\
00136 \n\
00137 ";
00138 }
00139
00140 static const char* value(const ::laser_assembler::AssembleScansRequest_<ContainerAllocator> &) { return value(); }
00141 };
00142
00143 template<class ContainerAllocator> struct IsFixedSize< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> > : public TrueType {};
00144 }
00145 }
00146
00147
00148 namespace ros
00149 {
00150 namespace message_traits
00151 {
00152 template<class ContainerAllocator> struct IsMessage< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> > : public TrueType {};
00153 template<class ContainerAllocator> struct IsMessage< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> const> : public TrueType {};
00154 template<class ContainerAllocator>
00155 struct MD5Sum< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> > {
00156 static const char* value()
00157 {
00158 return "4217b28a903e4ad7869a83b3653110ff";
00159 }
00160
00161 static const char* value(const ::laser_assembler::AssembleScansResponse_<ContainerAllocator> &) { return value(); }
00162 static const uint64_t static_value1 = 0x4217b28a903e4ad7ULL;
00163 static const uint64_t static_value2 = 0x869a83b3653110ffULL;
00164 };
00165
00166 template<class ContainerAllocator>
00167 struct DataType< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> > {
00168 static const char* value()
00169 {
00170 return "laser_assembler/AssembleScansResponse";
00171 }
00172
00173 static const char* value(const ::laser_assembler::AssembleScansResponse_<ContainerAllocator> &) { return value(); }
00174 };
00175
00176 template<class ContainerAllocator>
00177 struct Definition< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "\n\
00181 \n\
00182 \n\
00183 sensor_msgs/PointCloud cloud\n\
00184 \n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: sensor_msgs/PointCloud\n\
00188 # This message holds a collection of 3d points, plus optional additional\n\
00189 # information about each point.\n\
00190 \n\
00191 # Time of sensor data acquisition, coordinate frame ID.\n\
00192 Header header\n\
00193 \n\
00194 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00195 # in the frame given in the header.\n\
00196 geometry_msgs/Point32[] points\n\
00197 \n\
00198 # Each channel should have the same number of elements as points array,\n\
00199 # and the data in each channel should correspond 1:1 with each point.\n\
00200 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00201 ChannelFloat32[] channels\n\
00202 \n\
00203 ================================================================================\n\
00204 MSG: std_msgs/Header\n\
00205 # Standard metadata for higher-level stamped data types.\n\
00206 # This is generally used to communicate timestamped data \n\
00207 # in a particular coordinate frame.\n\
00208 # \n\
00209 # sequence ID: consecutively increasing ID \n\
00210 uint32 seq\n\
00211 #Two-integer timestamp that is expressed as:\n\
00212 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00213 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00214 # time-handling sugar is provided by the client library\n\
00215 time stamp\n\
00216 #Frame this data is associated with\n\
00217 # 0: no frame\n\
00218 # 1: global frame\n\
00219 string frame_id\n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: geometry_msgs/Point32\n\
00223 # This contains the position of a point in free space(with 32 bits of precision).\n\
00224 # It is recommeded to use Point wherever possible instead of Point32. \n\
00225 # \n\
00226 # This recommendation is to promote interoperability. \n\
00227 #\n\
00228 # This message is designed to take up less space when sending\n\
00229 # lots of points at once, as in the case of a PointCloud. \n\
00230 \n\
00231 float32 x\n\
00232 float32 y\n\
00233 float32 z\n\
00234 ================================================================================\n\
00235 MSG: sensor_msgs/ChannelFloat32\n\
00236 # This message is used by the PointCloud message to hold optional data\n\
00237 # associated with each point in the cloud. The length of the values\n\
00238 # array should be the same as the length of the points array in the\n\
00239 # PointCloud, and each value should be associated with the corresponding\n\
00240 # point.\n\
00241 \n\
00242 # Channel names in existing practice include:\n\
00243 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00244 # This is opposite to usual conventions but remains for\n\
00245 # historical reasons. The newer PointCloud2 message has no\n\
00246 # such problem.\n\
00247 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00248 # (R,G,B) values packed into the least significant 24 bits,\n\
00249 # in order.\n\
00250 # \"intensity\" - laser or pixel intensity.\n\
00251 # \"distance\"\n\
00252 \n\
00253 # The channel name should give semantics of the channel (e.g.\n\
00254 # \"intensity\" instead of \"value\").\n\
00255 string name\n\
00256 \n\
00257 # The values array should be 1-1 with the elements of the associated\n\
00258 # PointCloud.\n\
00259 float32[] values\n\
00260 \n\
00261 ";
00262 }
00263
00264 static const char* value(const ::laser_assembler::AssembleScansResponse_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 }
00268 }
00269
00270 namespace ros
00271 {
00272 namespace serialization
00273 {
00274
00275 template<class ContainerAllocator> struct Serializer< ::laser_assembler::AssembleScansRequest_<ContainerAllocator> >
00276 {
00277 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00278 {
00279 stream.next(m.begin);
00280 stream.next(m.end);
00281 }
00282
00283 ROS_DECLARE_ALLINONE_SERIALIZER;
00284 };
00285 }
00286 }
00287
00288
00289 namespace ros
00290 {
00291 namespace serialization
00292 {
00293
00294 template<class ContainerAllocator> struct Serializer< ::laser_assembler::AssembleScansResponse_<ContainerAllocator> >
00295 {
00296 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00297 {
00298 stream.next(m.cloud);
00299 }
00300
00301 ROS_DECLARE_ALLINONE_SERIALIZER;
00302 };
00303 }
00304 }
00305
00306 namespace ros
00307 {
00308 namespace service_traits
00309 {
00310 template<>
00311 struct MD5Sum<laser_assembler::AssembleScans> {
00312 static const char* value()
00313 {
00314 return "6d5cec00dca23821eae6bd7449078aa7";
00315 }
00316
00317 static const char* value(const laser_assembler::AssembleScans&) { return value(); }
00318 };
00319
00320 template<>
00321 struct DataType<laser_assembler::AssembleScans> {
00322 static const char* value()
00323 {
00324 return "laser_assembler/AssembleScans";
00325 }
00326
00327 static const char* value(const laser_assembler::AssembleScans&) { return value(); }
00328 };
00329
00330 template<class ContainerAllocator>
00331 struct MD5Sum<laser_assembler::AssembleScansRequest_<ContainerAllocator> > {
00332 static const char* value()
00333 {
00334 return "6d5cec00dca23821eae6bd7449078aa7";
00335 }
00336
00337 static const char* value(const laser_assembler::AssembleScansRequest_<ContainerAllocator> &) { return value(); }
00338 };
00339
00340 template<class ContainerAllocator>
00341 struct DataType<laser_assembler::AssembleScansRequest_<ContainerAllocator> > {
00342 static const char* value()
00343 {
00344 return "laser_assembler/AssembleScans";
00345 }
00346
00347 static const char* value(const laser_assembler::AssembleScansRequest_<ContainerAllocator> &) { return value(); }
00348 };
00349
00350 template<class ContainerAllocator>
00351 struct MD5Sum<laser_assembler::AssembleScansResponse_<ContainerAllocator> > {
00352 static const char* value()
00353 {
00354 return "6d5cec00dca23821eae6bd7449078aa7";
00355 }
00356
00357 static const char* value(const laser_assembler::AssembleScansResponse_<ContainerAllocator> &) { return value(); }
00358 };
00359
00360 template<class ContainerAllocator>
00361 struct DataType<laser_assembler::AssembleScansResponse_<ContainerAllocator> > {
00362 static const char* value()
00363 {
00364 return "laser_assembler/AssembleScans";
00365 }
00366
00367 static const char* value(const laser_assembler::AssembleScansResponse_<ContainerAllocator> &) { return value(); }
00368 };
00369
00370 }
00371 }
00372
00373 #endif // LASER_ASSEMBLER_SERVICE_ASSEMBLESCANS_H
00374