StartTrajectoryRequest.h 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. // Generated by gencpp from file cartographer_ros_msgs/StartTrajectoryRequest.msg
  2. // DO NOT EDIT!
  3. #ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_STARTTRAJECTORYREQUEST_H
  4. #define CARTOGRAPHER_ROS_MSGS_MESSAGE_STARTTRAJECTORYREQUEST_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 <cartographer_ros_msgs/TrajectoryOptions.h>
  13. #include <cartographer_ros_msgs/SensorTopics.h>
  14. namespace cartographer_ros_msgs
  15. {
  16. template <class ContainerAllocator>
  17. struct StartTrajectoryRequest_
  18. {
  19. typedef StartTrajectoryRequest_<ContainerAllocator> Type;
  20. StartTrajectoryRequest_()
  21. : options()
  22. , topics() {
  23. }
  24. StartTrajectoryRequest_(const ContainerAllocator& _alloc)
  25. : options(_alloc)
  26. , topics(_alloc) {
  27. (void)_alloc;
  28. }
  29. typedef ::cartographer_ros_msgs::TrajectoryOptions_<ContainerAllocator> _options_type;
  30. _options_type options;
  31. typedef ::cartographer_ros_msgs::SensorTopics_<ContainerAllocator> _topics_type;
  32. _topics_type topics;
  33. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> > Ptr;
  34. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> const> ConstPtr;
  35. }; // struct StartTrajectoryRequest_
  36. typedef ::cartographer_ros_msgs::StartTrajectoryRequest_<std::allocator<void> > StartTrajectoryRequest;
  37. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryRequest > StartTrajectoryRequestPtr;
  38. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryRequest const> StartTrajectoryRequestConstPtr;
  39. // constants requiring out of line definition
  40. template<typename ContainerAllocator>
  41. std::ostream& operator<<(std::ostream& s, const ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> & v)
  42. {
  43. ros::message_operations::Printer< ::cartographer_ros_msgs::StartTrajectoryRequest_<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': False}
  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::StartTrajectoryRequest_<ContainerAllocator> >
  56. : FalseType
  57. { };
  58. template <class ContainerAllocator>
  59. struct IsFixedSize< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> const>
  60. : FalseType
  61. { };
  62. template <class ContainerAllocator>
  63. struct IsMessage< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  64. : TrueType
  65. { };
  66. template <class ContainerAllocator>
  67. struct IsMessage< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> const>
  68. : TrueType
  69. { };
  70. template <class ContainerAllocator>
  71. struct HasHeader< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  72. : FalseType
  73. { };
  74. template <class ContainerAllocator>
  75. struct HasHeader< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> const>
  76. : FalseType
  77. { };
  78. template<class ContainerAllocator>
  79. struct MD5Sum< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  80. {
  81. static const char* value()
  82. {
  83. return "0780da312468afe59b45454db35b17ed";
  84. }
  85. static const char* value(const ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator>&) { return value(); }
  86. static const uint64_t static_value1 = 0x0780da312468afe5ULL;
  87. static const uint64_t static_value2 = 0x9b45454db35b17edULL;
  88. };
  89. template<class ContainerAllocator>
  90. struct DataType< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  91. {
  92. static const char* value()
  93. {
  94. return "cartographer_ros_msgs/StartTrajectoryRequest";
  95. }
  96. static const char* value(const ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator>&) { return value(); }
  97. };
  98. template<class ContainerAllocator>
  99. struct Definition< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  100. {
  101. static const char* value()
  102. {
  103. return "\n\
  104. \n\
  105. \n\
  106. \n\
  107. \n\
  108. \n\
  109. \n\
  110. \n\
  111. \n\
  112. \n\
  113. \n\
  114. \n\
  115. \n\
  116. \n\
  117. cartographer_ros_msgs/TrajectoryOptions options\n\
  118. cartographer_ros_msgs/SensorTopics topics\n\
  119. \n\
  120. ================================================================================\n\
  121. MSG: cartographer_ros_msgs/TrajectoryOptions\n\
  122. # Copyright 2016 The Cartographer Authors\n\
  123. #\n\
  124. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  125. # you may not use this file except in compliance with the License.\n\
  126. # You may obtain a copy of the License at\n\
  127. #\n\
  128. # http://www.apache.org/licenses/LICENSE-2.0\n\
  129. #\n\
  130. # Unless required by applicable law or agreed to in writing, software\n\
  131. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  132. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  133. # See the License for the specific language governing permissions and\n\
  134. # limitations under the License.\n\
  135. \n\
  136. string tracking_frame\n\
  137. string published_frame\n\
  138. string odom_frame\n\
  139. bool provide_odom_frame\n\
  140. bool use_odometry\n\
  141. bool use_nav_sat\n\
  142. bool use_landmarks\n\
  143. bool publish_frame_projected_to_2d\n\
  144. int32 num_laser_scans\n\
  145. int32 num_multi_echo_laser_scans\n\
  146. int32 num_subdivisions_per_laser_scan\n\
  147. int32 num_point_clouds\n\
  148. float64 rangefinder_sampling_ratio\n\
  149. float64 odometry_sampling_ratio\n\
  150. float64 fixed_frame_pose_sampling_ratio\n\
  151. float64 imu_sampling_ratio\n\
  152. float64 landmarks_sampling_ratio\n\
  153. \n\
  154. # This is a binary-encoded\n\
  155. # 'cartographer.mapping.proto.TrajectoryBuilderOptions' proto.\n\
  156. string trajectory_builder_options_proto\n\
  157. \n\
  158. ================================================================================\n\
  159. MSG: cartographer_ros_msgs/SensorTopics\n\
  160. # Copyright 2016 The Cartographer Authors\n\
  161. #\n\
  162. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  163. # you may not use this file except in compliance with the License.\n\
  164. # You may obtain a copy of the License at\n\
  165. #\n\
  166. # http://www.apache.org/licenses/LICENSE-2.0\n\
  167. #\n\
  168. # Unless required by applicable law or agreed to in writing, software\n\
  169. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  170. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  171. # See the License for the specific language governing permissions and\n\
  172. # limitations under the License.\n\
  173. \n\
  174. string laser_scan_topic\n\
  175. string multi_echo_laser_scan_topic\n\
  176. string point_cloud2_topic\n\
  177. string imu_topic\n\
  178. string odometry_topic\n\
  179. string nav_sat_fix_topic\n\
  180. string landmark_topic\n\
  181. ";
  182. }
  183. static const char* value(const ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator>&) { return value(); }
  184. };
  185. } // namespace message_traits
  186. } // namespace ros
  187. namespace ros
  188. {
  189. namespace serialization
  190. {
  191. template<class ContainerAllocator> struct Serializer< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  192. {
  193. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  194. {
  195. stream.next(m.options);
  196. stream.next(m.topics);
  197. }
  198. ROS_DECLARE_ALLINONE_SERIALIZER
  199. }; // struct StartTrajectoryRequest_
  200. } // namespace serialization
  201. } // namespace ros
  202. namespace ros
  203. {
  204. namespace message_operations
  205. {
  206. template<class ContainerAllocator>
  207. struct Printer< ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator> >
  208. {
  209. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cartographer_ros_msgs::StartTrajectoryRequest_<ContainerAllocator>& v)
  210. {
  211. s << indent << "options: ";
  212. s << std::endl;
  213. Printer< ::cartographer_ros_msgs::TrajectoryOptions_<ContainerAllocator> >::stream(s, indent + " ", v.options);
  214. s << indent << "topics: ";
  215. s << std::endl;
  216. Printer< ::cartographer_ros_msgs::SensorTopics_<ContainerAllocator> >::stream(s, indent + " ", v.topics);
  217. }
  218. };
  219. } // namespace message_operations
  220. } // namespace ros
  221. #endif // CARTOGRAPHER_ROS_MSGS_MESSAGE_STARTTRAJECTORYREQUEST_H