$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_environment_perception/doc_stacks/2013-03-01_14-40-06.190572/cob_environment_perception/cob_3d_mapping_msgs/srv/ModifyMap.srv */ 00002 #ifndef COB_3D_MAPPING_MSGS_SERVICE_MODIFYMAP_H 00003 #define COB_3D_MAPPING_MSGS_SERVICE_MODIFYMAP_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 "cob_3d_mapping_msgs/ShapeArray.h" 00020 00021 00022 #include "cob_3d_mapping_msgs/ShapeArray.h" 00023 00024 namespace cob_3d_mapping_msgs 00025 { 00026 template <class ContainerAllocator> 00027 struct ModifyMapRequest_ { 00028 typedef ModifyMapRequest_<ContainerAllocator> Type; 00029 00030 ModifyMapRequest_() 00031 : action(0) 00032 , InMap() 00033 { 00034 } 00035 00036 ModifyMapRequest_(const ContainerAllocator& _alloc) 00037 : action(0) 00038 , InMap(_alloc) 00039 { 00040 } 00041 00042 typedef int32_t _action_type; 00043 int32_t action; 00044 00045 typedef ::cob_3d_mapping_msgs::ShapeArray_<ContainerAllocator> _InMap_type; 00046 ::cob_3d_mapping_msgs::ShapeArray_<ContainerAllocator> InMap; 00047 00048 enum { ADD = 0 }; 00049 enum { MODIFY = 1 }; 00050 enum { DELETE = 2 }; 00051 00052 private: 00053 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/ModifyMapRequest"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00056 00057 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00058 00059 private: 00060 static const char* __s_getMD5Sum_() { return "c96952e7e16d2fe9667a1835875e82aa"; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00063 00064 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00065 00066 private: 00067 static const char* __s_getServerMD5Sum_() { return "33901de7f0436bee5dfb9d6c5f821ba5"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00070 00071 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00072 00073 private: 00074 static const char* __s_getMessageDefinition_() { return "uint8 ADD=0\n\ 00075 uint8 MODIFY=1\n\ 00076 uint8 DELETE=2\n\ 00077 \n\ 00078 int32 action\n\ 00079 cob_3d_mapping_msgs/ShapeArray InMap\n\ 00080 \n\ 00081 ================================================================================\n\ 00082 MSG: cob_3d_mapping_msgs/ShapeArray\n\ 00083 # An array of poses with a header for global reference.\n\ 00084 \n\ 00085 Header header\n\ 00086 \n\ 00087 cob_3d_mapping_msgs/Shape[] shapes\n\ 00088 ================================================================================\n\ 00089 MSG: std_msgs/Header\n\ 00090 # Standard metadata for higher-level stamped data types.\n\ 00091 # This is generally used to communicate timestamped data \n\ 00092 # in a particular coordinate frame.\n\ 00093 # \n\ 00094 # sequence ID: consecutively increasing ID \n\ 00095 uint32 seq\n\ 00096 #Two-integer timestamp that is expressed as:\n\ 00097 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00098 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00099 # time-handling sugar is provided by the client library\n\ 00100 time stamp\n\ 00101 #Frame this data is associated with\n\ 00102 # 0: no frame\n\ 00103 # 1: global frame\n\ 00104 string frame_id\n\ 00105 \n\ 00106 ================================================================================\n\ 00107 MSG: cob_3d_mapping_msgs/Shape\n\ 00108 Header header\n\ 00109 \n\ 00110 uint8 POLYGON=0\n\ 00111 uint8 LINE=1\n\ 00112 uint8 CURVED=2\n\ 00113 uint8 MESH=3\n\ 00114 uint8 OTHER=4\n\ 00115 uint8 CYLINDER=5\n\ 00116 # potential extensions: SPHERE, CYLINDER, BOX\n\ 00117 \n\ 00118 uint8 type\n\ 00119 \n\ 00120 \n\ 00121 int32 id\n\ 00122 # define shape parameters\n\ 00123 # for plane\n\ 00124 # normal vector = params[0],params[1],params[2]\n\ 00125 # d = params[3]\n\ 00126 # for line\n\ 00127 # direction vector = params[0],params[1],params[2]\n\ 00128 #\n\ 00129 #for cylinder\n\ 00130 # symmetry axis = params[0],params[1],params[2]\n\ 00131 # z axis = params[3], params[4], params[5]\n\ 00132 # origin = params[6], params[7], params[8]\n\ 00133 # radius = params[9]\n\ 00134 # \n\ 00135 float64[] params\n\ 00136 \n\ 00137 sensor_msgs/PointCloud2[] points\n\ 00138 \n\ 00139 #### define mesh ####\n\ 00140 # each three entries form a triangle; indices of points are stored\n\ 00141 int32[] vertices\n\ 00142 \n\ 00143 geometry_msgs/Point32 centroid\n\ 00144 std_msgs/ColorRGBA color\n\ 00145 bool[] holes\n\ 00146 \n\ 00147 ================================================================================\n\ 00148 MSG: sensor_msgs/PointCloud2\n\ 00149 # This message holds a collection of N-dimensional points, which may\n\ 00150 # contain additional information such as normals, intensity, etc. The\n\ 00151 # point data is stored as a binary blob, its layout described by the\n\ 00152 # contents of the \"fields\" array.\n\ 00153 \n\ 00154 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00155 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00156 # camera depth sensors such as stereo or time-of-flight.\n\ 00157 \n\ 00158 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00159 # points).\n\ 00160 Header header\n\ 00161 \n\ 00162 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00163 # 1 and width is the length of the point cloud.\n\ 00164 uint32 height\n\ 00165 uint32 width\n\ 00166 \n\ 00167 # Describes the channels and their layout in the binary data blob.\n\ 00168 PointField[] fields\n\ 00169 \n\ 00170 bool is_bigendian # Is this data bigendian?\n\ 00171 uint32 point_step # Length of a point in bytes\n\ 00172 uint32 row_step # Length of a row in bytes\n\ 00173 uint8[] data # Actual point data, size is (row_step*height)\n\ 00174 \n\ 00175 bool is_dense # True if there are no invalid points\n\ 00176 \n\ 00177 ================================================================================\n\ 00178 MSG: sensor_msgs/PointField\n\ 00179 # This message holds the description of one point entry in the\n\ 00180 # PointCloud2 message format.\n\ 00181 uint8 INT8 = 1\n\ 00182 uint8 UINT8 = 2\n\ 00183 uint8 INT16 = 3\n\ 00184 uint8 UINT16 = 4\n\ 00185 uint8 INT32 = 5\n\ 00186 uint8 UINT32 = 6\n\ 00187 uint8 FLOAT32 = 7\n\ 00188 uint8 FLOAT64 = 8\n\ 00189 \n\ 00190 string name # Name of field\n\ 00191 uint32 offset # Offset from start of point struct\n\ 00192 uint8 datatype # Datatype enumeration, see above\n\ 00193 uint32 count # How many elements in the field\n\ 00194 \n\ 00195 ================================================================================\n\ 00196 MSG: geometry_msgs/Point32\n\ 00197 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00198 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00199 # \n\ 00200 # This recommendation is to promote interoperability. \n\ 00201 #\n\ 00202 # This message is designed to take up less space when sending\n\ 00203 # lots of points at once, as in the case of a PointCloud. \n\ 00204 \n\ 00205 float32 x\n\ 00206 float32 y\n\ 00207 float32 z\n\ 00208 ================================================================================\n\ 00209 MSG: std_msgs/ColorRGBA\n\ 00210 float32 r\n\ 00211 float32 g\n\ 00212 float32 b\n\ 00213 float32 a\n\ 00214 \n\ 00215 "; } 00216 public: 00217 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00218 00219 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00220 00221 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00222 { 00223 ros::serialization::OStream stream(write_ptr, 1000000000); 00224 ros::serialization::serialize(stream, action); 00225 ros::serialization::serialize(stream, InMap); 00226 return stream.getData(); 00227 } 00228 00229 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00230 { 00231 ros::serialization::IStream stream(read_ptr, 1000000000); 00232 ros::serialization::deserialize(stream, action); 00233 ros::serialization::deserialize(stream, InMap); 00234 return stream.getData(); 00235 } 00236 00237 ROS_DEPRECATED virtual uint32_t serializationLength() const 00238 { 00239 uint32_t size = 0; 00240 size += ros::serialization::serializationLength(action); 00241 size += ros::serialization::serializationLength(InMap); 00242 return size; 00243 } 00244 00245 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > Ptr; 00246 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> const> ConstPtr; 00247 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00248 }; // struct ModifyMapRequest 00249 typedef ::cob_3d_mapping_msgs::ModifyMapRequest_<std::allocator<void> > ModifyMapRequest; 00250 00251 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapRequest> ModifyMapRequestPtr; 00252 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapRequest const> ModifyMapRequestConstPtr; 00253 00254 00255 template <class ContainerAllocator> 00256 struct ModifyMapResponse_ { 00257 typedef ModifyMapResponse_<ContainerAllocator> Type; 00258 00259 ModifyMapResponse_() 00260 : OutMap() 00261 { 00262 } 00263 00264 ModifyMapResponse_(const ContainerAllocator& _alloc) 00265 : OutMap(_alloc) 00266 { 00267 } 00268 00269 typedef ::cob_3d_mapping_msgs::ShapeArray_<ContainerAllocator> _OutMap_type; 00270 ::cob_3d_mapping_msgs::ShapeArray_<ContainerAllocator> OutMap; 00271 00272 00273 private: 00274 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/ModifyMapResponse"; } 00275 public: 00276 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00277 00278 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00279 00280 private: 00281 static const char* __s_getMD5Sum_() { return "8a1c921c83cb652598badd9952c1507e"; } 00282 public: 00283 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00284 00285 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00286 00287 private: 00288 static const char* __s_getServerMD5Sum_() { return "33901de7f0436bee5dfb9d6c5f821ba5"; } 00289 public: 00290 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00291 00292 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00293 00294 private: 00295 static const char* __s_getMessageDefinition_() { return "cob_3d_mapping_msgs/ShapeArray OutMap\n\ 00296 \n\ 00297 ================================================================================\n\ 00298 MSG: cob_3d_mapping_msgs/ShapeArray\n\ 00299 # An array of poses with a header for global reference.\n\ 00300 \n\ 00301 Header header\n\ 00302 \n\ 00303 cob_3d_mapping_msgs/Shape[] shapes\n\ 00304 ================================================================================\n\ 00305 MSG: std_msgs/Header\n\ 00306 # Standard metadata for higher-level stamped data types.\n\ 00307 # This is generally used to communicate timestamped data \n\ 00308 # in a particular coordinate frame.\n\ 00309 # \n\ 00310 # sequence ID: consecutively increasing ID \n\ 00311 uint32 seq\n\ 00312 #Two-integer timestamp that is expressed as:\n\ 00313 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00314 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00315 # time-handling sugar is provided by the client library\n\ 00316 time stamp\n\ 00317 #Frame this data is associated with\n\ 00318 # 0: no frame\n\ 00319 # 1: global frame\n\ 00320 string frame_id\n\ 00321 \n\ 00322 ================================================================================\n\ 00323 MSG: cob_3d_mapping_msgs/Shape\n\ 00324 Header header\n\ 00325 \n\ 00326 uint8 POLYGON=0\n\ 00327 uint8 LINE=1\n\ 00328 uint8 CURVED=2\n\ 00329 uint8 MESH=3\n\ 00330 uint8 OTHER=4\n\ 00331 uint8 CYLINDER=5\n\ 00332 # potential extensions: SPHERE, CYLINDER, BOX\n\ 00333 \n\ 00334 uint8 type\n\ 00335 \n\ 00336 \n\ 00337 int32 id\n\ 00338 # define shape parameters\n\ 00339 # for plane\n\ 00340 # normal vector = params[0],params[1],params[2]\n\ 00341 # d = params[3]\n\ 00342 # for line\n\ 00343 # direction vector = params[0],params[1],params[2]\n\ 00344 #\n\ 00345 #for cylinder\n\ 00346 # symmetry axis = params[0],params[1],params[2]\n\ 00347 # z axis = params[3], params[4], params[5]\n\ 00348 # origin = params[6], params[7], params[8]\n\ 00349 # radius = params[9]\n\ 00350 # \n\ 00351 float64[] params\n\ 00352 \n\ 00353 sensor_msgs/PointCloud2[] points\n\ 00354 \n\ 00355 #### define mesh ####\n\ 00356 # each three entries form a triangle; indices of points are stored\n\ 00357 int32[] vertices\n\ 00358 \n\ 00359 geometry_msgs/Point32 centroid\n\ 00360 std_msgs/ColorRGBA color\n\ 00361 bool[] holes\n\ 00362 \n\ 00363 ================================================================================\n\ 00364 MSG: sensor_msgs/PointCloud2\n\ 00365 # This message holds a collection of N-dimensional points, which may\n\ 00366 # contain additional information such as normals, intensity, etc. The\n\ 00367 # point data is stored as a binary blob, its layout described by the\n\ 00368 # contents of the \"fields\" array.\n\ 00369 \n\ 00370 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00371 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00372 # camera depth sensors such as stereo or time-of-flight.\n\ 00373 \n\ 00374 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00375 # points).\n\ 00376 Header header\n\ 00377 \n\ 00378 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00379 # 1 and width is the length of the point cloud.\n\ 00380 uint32 height\n\ 00381 uint32 width\n\ 00382 \n\ 00383 # Describes the channels and their layout in the binary data blob.\n\ 00384 PointField[] fields\n\ 00385 \n\ 00386 bool is_bigendian # Is this data bigendian?\n\ 00387 uint32 point_step # Length of a point in bytes\n\ 00388 uint32 row_step # Length of a row in bytes\n\ 00389 uint8[] data # Actual point data, size is (row_step*height)\n\ 00390 \n\ 00391 bool is_dense # True if there are no invalid points\n\ 00392 \n\ 00393 ================================================================================\n\ 00394 MSG: sensor_msgs/PointField\n\ 00395 # This message holds the description of one point entry in the\n\ 00396 # PointCloud2 message format.\n\ 00397 uint8 INT8 = 1\n\ 00398 uint8 UINT8 = 2\n\ 00399 uint8 INT16 = 3\n\ 00400 uint8 UINT16 = 4\n\ 00401 uint8 INT32 = 5\n\ 00402 uint8 UINT32 = 6\n\ 00403 uint8 FLOAT32 = 7\n\ 00404 uint8 FLOAT64 = 8\n\ 00405 \n\ 00406 string name # Name of field\n\ 00407 uint32 offset # Offset from start of point struct\n\ 00408 uint8 datatype # Datatype enumeration, see above\n\ 00409 uint32 count # How many elements in the field\n\ 00410 \n\ 00411 ================================================================================\n\ 00412 MSG: geometry_msgs/Point32\n\ 00413 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00414 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00415 # \n\ 00416 # This recommendation is to promote interoperability. \n\ 00417 #\n\ 00418 # This message is designed to take up less space when sending\n\ 00419 # lots of points at once, as in the case of a PointCloud. \n\ 00420 \n\ 00421 float32 x\n\ 00422 float32 y\n\ 00423 float32 z\n\ 00424 ================================================================================\n\ 00425 MSG: std_msgs/ColorRGBA\n\ 00426 float32 r\n\ 00427 float32 g\n\ 00428 float32 b\n\ 00429 float32 a\n\ 00430 \n\ 00431 "; } 00432 public: 00433 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00434 00435 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00436 00437 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00438 { 00439 ros::serialization::OStream stream(write_ptr, 1000000000); 00440 ros::serialization::serialize(stream, OutMap); 00441 return stream.getData(); 00442 } 00443 00444 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00445 { 00446 ros::serialization::IStream stream(read_ptr, 1000000000); 00447 ros::serialization::deserialize(stream, OutMap); 00448 return stream.getData(); 00449 } 00450 00451 ROS_DEPRECATED virtual uint32_t serializationLength() const 00452 { 00453 uint32_t size = 0; 00454 size += ros::serialization::serializationLength(OutMap); 00455 return size; 00456 } 00457 00458 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > Ptr; 00459 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> const> ConstPtr; 00460 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00461 }; // struct ModifyMapResponse 00462 typedef ::cob_3d_mapping_msgs::ModifyMapResponse_<std::allocator<void> > ModifyMapResponse; 00463 00464 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapResponse> ModifyMapResponsePtr; 00465 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::ModifyMapResponse const> ModifyMapResponseConstPtr; 00466 00467 struct ModifyMap 00468 { 00469 00470 typedef ModifyMapRequest Request; 00471 typedef ModifyMapResponse Response; 00472 Request request; 00473 Response response; 00474 00475 typedef Request RequestType; 00476 typedef Response ResponseType; 00477 }; // struct ModifyMap 00478 } // namespace cob_3d_mapping_msgs 00479 00480 namespace ros 00481 { 00482 namespace message_traits 00483 { 00484 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > : public TrueType {}; 00485 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> const> : public TrueType {}; 00486 template<class ContainerAllocator> 00487 struct MD5Sum< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > { 00488 static const char* value() 00489 { 00490 return "c96952e7e16d2fe9667a1835875e82aa"; 00491 } 00492 00493 static const char* value(const ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> &) { return value(); } 00494 static const uint64_t static_value1 = 0xc96952e7e16d2fe9ULL; 00495 static const uint64_t static_value2 = 0x667a1835875e82aaULL; 00496 }; 00497 00498 template<class ContainerAllocator> 00499 struct DataType< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > { 00500 static const char* value() 00501 { 00502 return "cob_3d_mapping_msgs/ModifyMapRequest"; 00503 } 00504 00505 static const char* value(const ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> &) { return value(); } 00506 }; 00507 00508 template<class ContainerAllocator> 00509 struct Definition< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > { 00510 static const char* value() 00511 { 00512 return "uint8 ADD=0\n\ 00513 uint8 MODIFY=1\n\ 00514 uint8 DELETE=2\n\ 00515 \n\ 00516 int32 action\n\ 00517 cob_3d_mapping_msgs/ShapeArray InMap\n\ 00518 \n\ 00519 ================================================================================\n\ 00520 MSG: cob_3d_mapping_msgs/ShapeArray\n\ 00521 # An array of poses with a header for global reference.\n\ 00522 \n\ 00523 Header header\n\ 00524 \n\ 00525 cob_3d_mapping_msgs/Shape[] shapes\n\ 00526 ================================================================================\n\ 00527 MSG: std_msgs/Header\n\ 00528 # Standard metadata for higher-level stamped data types.\n\ 00529 # This is generally used to communicate timestamped data \n\ 00530 # in a particular coordinate frame.\n\ 00531 # \n\ 00532 # sequence ID: consecutively increasing ID \n\ 00533 uint32 seq\n\ 00534 #Two-integer timestamp that is expressed as:\n\ 00535 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00536 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00537 # time-handling sugar is provided by the client library\n\ 00538 time stamp\n\ 00539 #Frame this data is associated with\n\ 00540 # 0: no frame\n\ 00541 # 1: global frame\n\ 00542 string frame_id\n\ 00543 \n\ 00544 ================================================================================\n\ 00545 MSG: cob_3d_mapping_msgs/Shape\n\ 00546 Header header\n\ 00547 \n\ 00548 uint8 POLYGON=0\n\ 00549 uint8 LINE=1\n\ 00550 uint8 CURVED=2\n\ 00551 uint8 MESH=3\n\ 00552 uint8 OTHER=4\n\ 00553 uint8 CYLINDER=5\n\ 00554 # potential extensions: SPHERE, CYLINDER, BOX\n\ 00555 \n\ 00556 uint8 type\n\ 00557 \n\ 00558 \n\ 00559 int32 id\n\ 00560 # define shape parameters\n\ 00561 # for plane\n\ 00562 # normal vector = params[0],params[1],params[2]\n\ 00563 # d = params[3]\n\ 00564 # for line\n\ 00565 # direction vector = params[0],params[1],params[2]\n\ 00566 #\n\ 00567 #for cylinder\n\ 00568 # symmetry axis = params[0],params[1],params[2]\n\ 00569 # z axis = params[3], params[4], params[5]\n\ 00570 # origin = params[6], params[7], params[8]\n\ 00571 # radius = params[9]\n\ 00572 # \n\ 00573 float64[] params\n\ 00574 \n\ 00575 sensor_msgs/PointCloud2[] points\n\ 00576 \n\ 00577 #### define mesh ####\n\ 00578 # each three entries form a triangle; indices of points are stored\n\ 00579 int32[] vertices\n\ 00580 \n\ 00581 geometry_msgs/Point32 centroid\n\ 00582 std_msgs/ColorRGBA color\n\ 00583 bool[] holes\n\ 00584 \n\ 00585 ================================================================================\n\ 00586 MSG: sensor_msgs/PointCloud2\n\ 00587 # This message holds a collection of N-dimensional points, which may\n\ 00588 # contain additional information such as normals, intensity, etc. The\n\ 00589 # point data is stored as a binary blob, its layout described by the\n\ 00590 # contents of the \"fields\" array.\n\ 00591 \n\ 00592 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00593 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00594 # camera depth sensors such as stereo or time-of-flight.\n\ 00595 \n\ 00596 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00597 # points).\n\ 00598 Header header\n\ 00599 \n\ 00600 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00601 # 1 and width is the length of the point cloud.\n\ 00602 uint32 height\n\ 00603 uint32 width\n\ 00604 \n\ 00605 # Describes the channels and their layout in the binary data blob.\n\ 00606 PointField[] fields\n\ 00607 \n\ 00608 bool is_bigendian # Is this data bigendian?\n\ 00609 uint32 point_step # Length of a point in bytes\n\ 00610 uint32 row_step # Length of a row in bytes\n\ 00611 uint8[] data # Actual point data, size is (row_step*height)\n\ 00612 \n\ 00613 bool is_dense # True if there are no invalid points\n\ 00614 \n\ 00615 ================================================================================\n\ 00616 MSG: sensor_msgs/PointField\n\ 00617 # This message holds the description of one point entry in the\n\ 00618 # PointCloud2 message format.\n\ 00619 uint8 INT8 = 1\n\ 00620 uint8 UINT8 = 2\n\ 00621 uint8 INT16 = 3\n\ 00622 uint8 UINT16 = 4\n\ 00623 uint8 INT32 = 5\n\ 00624 uint8 UINT32 = 6\n\ 00625 uint8 FLOAT32 = 7\n\ 00626 uint8 FLOAT64 = 8\n\ 00627 \n\ 00628 string name # Name of field\n\ 00629 uint32 offset # Offset from start of point struct\n\ 00630 uint8 datatype # Datatype enumeration, see above\n\ 00631 uint32 count # How many elements in the field\n\ 00632 \n\ 00633 ================================================================================\n\ 00634 MSG: geometry_msgs/Point32\n\ 00635 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00636 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00637 # \n\ 00638 # This recommendation is to promote interoperability. \n\ 00639 #\n\ 00640 # This message is designed to take up less space when sending\n\ 00641 # lots of points at once, as in the case of a PointCloud. \n\ 00642 \n\ 00643 float32 x\n\ 00644 float32 y\n\ 00645 float32 z\n\ 00646 ================================================================================\n\ 00647 MSG: std_msgs/ColorRGBA\n\ 00648 float32 r\n\ 00649 float32 g\n\ 00650 float32 b\n\ 00651 float32 a\n\ 00652 \n\ 00653 "; 00654 } 00655 00656 static const char* value(const ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> &) { return value(); } 00657 }; 00658 00659 } // namespace message_traits 00660 } // namespace ros 00661 00662 00663 namespace ros 00664 { 00665 namespace message_traits 00666 { 00667 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > : public TrueType {}; 00668 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> const> : public TrueType {}; 00669 template<class ContainerAllocator> 00670 struct MD5Sum< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > { 00671 static const char* value() 00672 { 00673 return "8a1c921c83cb652598badd9952c1507e"; 00674 } 00675 00676 static const char* value(const ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> &) { return value(); } 00677 static const uint64_t static_value1 = 0x8a1c921c83cb6525ULL; 00678 static const uint64_t static_value2 = 0x98badd9952c1507eULL; 00679 }; 00680 00681 template<class ContainerAllocator> 00682 struct DataType< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > { 00683 static const char* value() 00684 { 00685 return "cob_3d_mapping_msgs/ModifyMapResponse"; 00686 } 00687 00688 static const char* value(const ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> &) { return value(); } 00689 }; 00690 00691 template<class ContainerAllocator> 00692 struct Definition< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > { 00693 static const char* value() 00694 { 00695 return "cob_3d_mapping_msgs/ShapeArray OutMap\n\ 00696 \n\ 00697 ================================================================================\n\ 00698 MSG: cob_3d_mapping_msgs/ShapeArray\n\ 00699 # An array of poses with a header for global reference.\n\ 00700 \n\ 00701 Header header\n\ 00702 \n\ 00703 cob_3d_mapping_msgs/Shape[] shapes\n\ 00704 ================================================================================\n\ 00705 MSG: std_msgs/Header\n\ 00706 # Standard metadata for higher-level stamped data types.\n\ 00707 # This is generally used to communicate timestamped data \n\ 00708 # in a particular coordinate frame.\n\ 00709 # \n\ 00710 # sequence ID: consecutively increasing ID \n\ 00711 uint32 seq\n\ 00712 #Two-integer timestamp that is expressed as:\n\ 00713 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00714 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00715 # time-handling sugar is provided by the client library\n\ 00716 time stamp\n\ 00717 #Frame this data is associated with\n\ 00718 # 0: no frame\n\ 00719 # 1: global frame\n\ 00720 string frame_id\n\ 00721 \n\ 00722 ================================================================================\n\ 00723 MSG: cob_3d_mapping_msgs/Shape\n\ 00724 Header header\n\ 00725 \n\ 00726 uint8 POLYGON=0\n\ 00727 uint8 LINE=1\n\ 00728 uint8 CURVED=2\n\ 00729 uint8 MESH=3\n\ 00730 uint8 OTHER=4\n\ 00731 uint8 CYLINDER=5\n\ 00732 # potential extensions: SPHERE, CYLINDER, BOX\n\ 00733 \n\ 00734 uint8 type\n\ 00735 \n\ 00736 \n\ 00737 int32 id\n\ 00738 # define shape parameters\n\ 00739 # for plane\n\ 00740 # normal vector = params[0],params[1],params[2]\n\ 00741 # d = params[3]\n\ 00742 # for line\n\ 00743 # direction vector = params[0],params[1],params[2]\n\ 00744 #\n\ 00745 #for cylinder\n\ 00746 # symmetry axis = params[0],params[1],params[2]\n\ 00747 # z axis = params[3], params[4], params[5]\n\ 00748 # origin = params[6], params[7], params[8]\n\ 00749 # radius = params[9]\n\ 00750 # \n\ 00751 float64[] params\n\ 00752 \n\ 00753 sensor_msgs/PointCloud2[] points\n\ 00754 \n\ 00755 #### define mesh ####\n\ 00756 # each three entries form a triangle; indices of points are stored\n\ 00757 int32[] vertices\n\ 00758 \n\ 00759 geometry_msgs/Point32 centroid\n\ 00760 std_msgs/ColorRGBA color\n\ 00761 bool[] holes\n\ 00762 \n\ 00763 ================================================================================\n\ 00764 MSG: sensor_msgs/PointCloud2\n\ 00765 # This message holds a collection of N-dimensional points, which may\n\ 00766 # contain additional information such as normals, intensity, etc. The\n\ 00767 # point data is stored as a binary blob, its layout described by the\n\ 00768 # contents of the \"fields\" array.\n\ 00769 \n\ 00770 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00771 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00772 # camera depth sensors such as stereo or time-of-flight.\n\ 00773 \n\ 00774 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00775 # points).\n\ 00776 Header header\n\ 00777 \n\ 00778 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00779 # 1 and width is the length of the point cloud.\n\ 00780 uint32 height\n\ 00781 uint32 width\n\ 00782 \n\ 00783 # Describes the channels and their layout in the binary data blob.\n\ 00784 PointField[] fields\n\ 00785 \n\ 00786 bool is_bigendian # Is this data bigendian?\n\ 00787 uint32 point_step # Length of a point in bytes\n\ 00788 uint32 row_step # Length of a row in bytes\n\ 00789 uint8[] data # Actual point data, size is (row_step*height)\n\ 00790 \n\ 00791 bool is_dense # True if there are no invalid points\n\ 00792 \n\ 00793 ================================================================================\n\ 00794 MSG: sensor_msgs/PointField\n\ 00795 # This message holds the description of one point entry in the\n\ 00796 # PointCloud2 message format.\n\ 00797 uint8 INT8 = 1\n\ 00798 uint8 UINT8 = 2\n\ 00799 uint8 INT16 = 3\n\ 00800 uint8 UINT16 = 4\n\ 00801 uint8 INT32 = 5\n\ 00802 uint8 UINT32 = 6\n\ 00803 uint8 FLOAT32 = 7\n\ 00804 uint8 FLOAT64 = 8\n\ 00805 \n\ 00806 string name # Name of field\n\ 00807 uint32 offset # Offset from start of point struct\n\ 00808 uint8 datatype # Datatype enumeration, see above\n\ 00809 uint32 count # How many elements in the field\n\ 00810 \n\ 00811 ================================================================================\n\ 00812 MSG: geometry_msgs/Point32\n\ 00813 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00814 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00815 # \n\ 00816 # This recommendation is to promote interoperability. \n\ 00817 #\n\ 00818 # This message is designed to take up less space when sending\n\ 00819 # lots of points at once, as in the case of a PointCloud. \n\ 00820 \n\ 00821 float32 x\n\ 00822 float32 y\n\ 00823 float32 z\n\ 00824 ================================================================================\n\ 00825 MSG: std_msgs/ColorRGBA\n\ 00826 float32 r\n\ 00827 float32 g\n\ 00828 float32 b\n\ 00829 float32 a\n\ 00830 \n\ 00831 "; 00832 } 00833 00834 static const char* value(const ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> &) { return value(); } 00835 }; 00836 00837 } // namespace message_traits 00838 } // namespace ros 00839 00840 namespace ros 00841 { 00842 namespace serialization 00843 { 00844 00845 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > 00846 { 00847 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00848 { 00849 stream.next(m.action); 00850 stream.next(m.InMap); 00851 } 00852 00853 ROS_DECLARE_ALLINONE_SERIALIZER; 00854 }; // struct ModifyMapRequest_ 00855 } // namespace serialization 00856 } // namespace ros 00857 00858 00859 namespace ros 00860 { 00861 namespace serialization 00862 { 00863 00864 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > 00865 { 00866 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00867 { 00868 stream.next(m.OutMap); 00869 } 00870 00871 ROS_DECLARE_ALLINONE_SERIALIZER; 00872 }; // struct ModifyMapResponse_ 00873 } // namespace serialization 00874 } // namespace ros 00875 00876 namespace ros 00877 { 00878 namespace service_traits 00879 { 00880 template<> 00881 struct MD5Sum<cob_3d_mapping_msgs::ModifyMap> { 00882 static const char* value() 00883 { 00884 return "33901de7f0436bee5dfb9d6c5f821ba5"; 00885 } 00886 00887 static const char* value(const cob_3d_mapping_msgs::ModifyMap&) { return value(); } 00888 }; 00889 00890 template<> 00891 struct DataType<cob_3d_mapping_msgs::ModifyMap> { 00892 static const char* value() 00893 { 00894 return "cob_3d_mapping_msgs/ModifyMap"; 00895 } 00896 00897 static const char* value(const cob_3d_mapping_msgs::ModifyMap&) { return value(); } 00898 }; 00899 00900 template<class ContainerAllocator> 00901 struct MD5Sum<cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > { 00902 static const char* value() 00903 { 00904 return "33901de7f0436bee5dfb9d6c5f821ba5"; 00905 } 00906 00907 static const char* value(const cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> &) { return value(); } 00908 }; 00909 00910 template<class ContainerAllocator> 00911 struct DataType<cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> > { 00912 static const char* value() 00913 { 00914 return "cob_3d_mapping_msgs/ModifyMap"; 00915 } 00916 00917 static const char* value(const cob_3d_mapping_msgs::ModifyMapRequest_<ContainerAllocator> &) { return value(); } 00918 }; 00919 00920 template<class ContainerAllocator> 00921 struct MD5Sum<cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > { 00922 static const char* value() 00923 { 00924 return "33901de7f0436bee5dfb9d6c5f821ba5"; 00925 } 00926 00927 static const char* value(const cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> &) { return value(); } 00928 }; 00929 00930 template<class ContainerAllocator> 00931 struct DataType<cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> > { 00932 static const char* value() 00933 { 00934 return "cob_3d_mapping_msgs/ModifyMap"; 00935 } 00936 00937 static const char* value(const cob_3d_mapping_msgs::ModifyMapResponse_<ContainerAllocator> &) { return value(); } 00938 }; 00939 00940 } // namespace service_traits 00941 } // namespace ros 00942 00943 #endif // COB_3D_MAPPING_MSGS_SERVICE_MODIFYMAP_H 00944