LandmarkList.h 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. // Generated by gencpp from file cartographer_ros_msgs/LandmarkList.msg
  2. // DO NOT EDIT!
  3. #ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_LANDMARKLIST_H
  4. #define CARTOGRAPHER_ROS_MSGS_MESSAGE_LANDMARKLIST_H
  5. #include <string>
  6. #include <vector>
  7. #include <map>
  8. #include <ros/types.h>
  9. #include <ros/serialization.h>
  10. #include <ros/builtin_message_traits.h>
  11. #include <ros/message_operations.h>
  12. #include <std_msgs/Header.h>
  13. #include <cartographer_ros_msgs/LandmarkEntry.h>
  14. namespace cartographer_ros_msgs
  15. {
  16. template <class ContainerAllocator>
  17. struct LandmarkList_
  18. {
  19. typedef LandmarkList_<ContainerAllocator> Type;
  20. LandmarkList_()
  21. : header()
  22. , landmarks() {
  23. }
  24. LandmarkList_(const ContainerAllocator& _alloc)
  25. : header(_alloc)
  26. , landmarks(_alloc) {
  27. (void)_alloc;
  28. }
  29. typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
  30. _header_type header;
  31. typedef std::vector< ::cartographer_ros_msgs::LandmarkEntry_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cartographer_ros_msgs::LandmarkEntry_<ContainerAllocator> >::other > _landmarks_type;
  32. _landmarks_type landmarks;
  33. typedef boost::shared_ptr< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> > Ptr;
  34. typedef boost::shared_ptr< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> const> ConstPtr;
  35. }; // struct LandmarkList_
  36. typedef ::cartographer_ros_msgs::LandmarkList_<std::allocator<void> > LandmarkList;
  37. typedef boost::shared_ptr< ::cartographer_ros_msgs::LandmarkList > LandmarkListPtr;
  38. typedef boost::shared_ptr< ::cartographer_ros_msgs::LandmarkList const> LandmarkListConstPtr;
  39. // constants requiring out of line definition
  40. template<typename ContainerAllocator>
  41. std::ostream& operator<<(std::ostream& s, const ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> & v)
  42. {
  43. ros::message_operations::Printer< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >::stream(s, "", v);
  44. return s;
  45. }
  46. } // namespace cartographer_ros_msgs
  47. namespace ros
  48. {
  49. namespace message_traits
  50. {
  51. // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
  52. // {'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'cartographer_ros_msgs': ['/home/youchen/Documents/catkin_ws/src/cartographer_ros/cartographer_ros_msgs/msg'], 'geometry_msgs': ['/opt/ros/melodic/share/geometry_msgs/cmake/../msg']}
  53. // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
  54. template <class ContainerAllocator>
  55. struct IsFixedSize< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  56. : FalseType
  57. { };
  58. template <class ContainerAllocator>
  59. struct IsFixedSize< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> const>
  60. : FalseType
  61. { };
  62. template <class ContainerAllocator>
  63. struct IsMessage< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  64. : TrueType
  65. { };
  66. template <class ContainerAllocator>
  67. struct IsMessage< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> const>
  68. : TrueType
  69. { };
  70. template <class ContainerAllocator>
  71. struct HasHeader< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  72. : TrueType
  73. { };
  74. template <class ContainerAllocator>
  75. struct HasHeader< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> const>
  76. : TrueType
  77. { };
  78. template<class ContainerAllocator>
  79. struct MD5Sum< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  80. {
  81. static const char* value()
  82. {
  83. return "322e3fb6b49d8fcd97544b4896b0ae66";
  84. }
  85. static const char* value(const ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator>&) { return value(); }
  86. static const uint64_t static_value1 = 0x322e3fb6b49d8fcdULL;
  87. static const uint64_t static_value2 = 0x97544b4896b0ae66ULL;
  88. };
  89. template<class ContainerAllocator>
  90. struct DataType< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  91. {
  92. static const char* value()
  93. {
  94. return "cartographer_ros_msgs/LandmarkList";
  95. }
  96. static const char* value(const ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator>&) { return value(); }
  97. };
  98. template<class ContainerAllocator>
  99. struct Definition< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  100. {
  101. static const char* value()
  102. {
  103. return "# Copyright 2018 The Cartographer Authors\n\
  104. #\n\
  105. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  106. # you may not use this file except in compliance with the License.\n\
  107. # You may obtain a copy of the License at\n\
  108. #\n\
  109. # http://www.apache.org/licenses/LICENSE-2.0\n\
  110. #\n\
  111. # Unless required by applicable law or agreed to in writing, software\n\
  112. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  113. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  114. # See the License for the specific language governing permissions and\n\
  115. # limitations under the License.\n\
  116. \n\
  117. std_msgs/Header header\n\
  118. cartographer_ros_msgs/LandmarkEntry[] landmarks\n\
  119. \n\
  120. ================================================================================\n\
  121. MSG: std_msgs/Header\n\
  122. # Standard metadata for higher-level stamped data types.\n\
  123. # This is generally used to communicate timestamped data \n\
  124. # in a particular coordinate frame.\n\
  125. # \n\
  126. # sequence ID: consecutively increasing ID \n\
  127. uint32 seq\n\
  128. #Two-integer timestamp that is expressed as:\n\
  129. # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
  130. # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
  131. # time-handling sugar is provided by the client library\n\
  132. time stamp\n\
  133. #Frame this data is associated with\n\
  134. # 0: no frame\n\
  135. # 1: global frame\n\
  136. string frame_id\n\
  137. \n\
  138. ================================================================================\n\
  139. MSG: cartographer_ros_msgs/LandmarkEntry\n\
  140. # 2018 The Cartographer Authors\n\
  141. #\n\
  142. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  143. # you may not use this file except in compliance with the License.\n\
  144. # You may obtain a copy of the License at\n\
  145. #\n\
  146. # http://www.apache.org/licenses/LICENSE-2.0\n\
  147. #\n\
  148. # Unless required by applicable law or agreed to in writing, software\n\
  149. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  150. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  151. # See the License for the specific language governing permissions and\n\
  152. # limitations under the License.\n\
  153. \n\
  154. string id\n\
  155. geometry_msgs/Pose tracking_from_landmark_transform\n\
  156. float64 translation_weight\n\
  157. float64 rotation_weight\n\
  158. \n\
  159. ================================================================================\n\
  160. MSG: geometry_msgs/Pose\n\
  161. # A representation of pose in free space, composed of position and orientation. \n\
  162. Point position\n\
  163. Quaternion orientation\n\
  164. \n\
  165. ================================================================================\n\
  166. MSG: geometry_msgs/Point\n\
  167. # This contains the position of a point in free space\n\
  168. float64 x\n\
  169. float64 y\n\
  170. float64 z\n\
  171. \n\
  172. ================================================================================\n\
  173. MSG: geometry_msgs/Quaternion\n\
  174. # This represents an orientation in free space in quaternion form.\n\
  175. \n\
  176. float64 x\n\
  177. float64 y\n\
  178. float64 z\n\
  179. float64 w\n\
  180. ";
  181. }
  182. static const char* value(const ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator>&) { return value(); }
  183. };
  184. } // namespace message_traits
  185. } // namespace ros
  186. namespace ros
  187. {
  188. namespace serialization
  189. {
  190. template<class ContainerAllocator> struct Serializer< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  191. {
  192. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  193. {
  194. stream.next(m.header);
  195. stream.next(m.landmarks);
  196. }
  197. ROS_DECLARE_ALLINONE_SERIALIZER
  198. }; // struct LandmarkList_
  199. } // namespace serialization
  200. } // namespace ros
  201. namespace ros
  202. {
  203. namespace message_operations
  204. {
  205. template<class ContainerAllocator>
  206. struct Printer< ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator> >
  207. {
  208. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cartographer_ros_msgs::LandmarkList_<ContainerAllocator>& v)
  209. {
  210. s << indent << "header: ";
  211. s << std::endl;
  212. Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
  213. s << indent << "landmarks[]" << std::endl;
  214. for (size_t i = 0; i < v.landmarks.size(); ++i)
  215. {
  216. s << indent << " landmarks[" << i << "]: ";
  217. s << std::endl;
  218. s << indent;
  219. Printer< ::cartographer_ros_msgs::LandmarkEntry_<ContainerAllocator> >::stream(s, indent + " ", v.landmarks[i]);
  220. }
  221. }
  222. };
  223. } // namespace message_operations
  224. } // namespace ros
  225. #endif // CARTOGRAPHER_ROS_MSGS_MESSAGE_LANDMARKLIST_H