GetTrajectoryStatesResponse.h 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. // Generated by gencpp from file cartographer_ros_msgs/GetTrajectoryStatesResponse.msg
  2. // DO NOT EDIT!
  3. #ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_GETTRAJECTORYSTATESRESPONSE_H
  4. #define CARTOGRAPHER_ROS_MSGS_MESSAGE_GETTRAJECTORYSTATESRESPONSE_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/StatusResponse.h>
  13. #include <cartographer_ros_msgs/TrajectoryStates.h>
  14. namespace cartographer_ros_msgs
  15. {
  16. template <class ContainerAllocator>
  17. struct GetTrajectoryStatesResponse_
  18. {
  19. typedef GetTrajectoryStatesResponse_<ContainerAllocator> Type;
  20. GetTrajectoryStatesResponse_()
  21. : status()
  22. , trajectory_states() {
  23. }
  24. GetTrajectoryStatesResponse_(const ContainerAllocator& _alloc)
  25. : status(_alloc)
  26. , trajectory_states(_alloc) {
  27. (void)_alloc;
  28. }
  29. typedef ::cartographer_ros_msgs::StatusResponse_<ContainerAllocator> _status_type;
  30. _status_type status;
  31. typedef ::cartographer_ros_msgs::TrajectoryStates_<ContainerAllocator> _trajectory_states_type;
  32. _trajectory_states_type trajectory_states;
  33. typedef boost::shared_ptr< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> > Ptr;
  34. typedef boost::shared_ptr< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> const> ConstPtr;
  35. }; // struct GetTrajectoryStatesResponse_
  36. typedef ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<std::allocator<void> > GetTrajectoryStatesResponse;
  37. typedef boost::shared_ptr< ::cartographer_ros_msgs::GetTrajectoryStatesResponse > GetTrajectoryStatesResponsePtr;
  38. typedef boost::shared_ptr< ::cartographer_ros_msgs::GetTrajectoryStatesResponse const> GetTrajectoryStatesResponseConstPtr;
  39. // constants requiring out of line definition
  40. template<typename ContainerAllocator>
  41. std::ostream& operator<<(std::ostream& s, const ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> & v)
  42. {
  43. ros::message_operations::Printer< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<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::GetTrajectoryStatesResponse_<ContainerAllocator> >
  56. : FalseType
  57. { };
  58. template <class ContainerAllocator>
  59. struct IsFixedSize< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> const>
  60. : FalseType
  61. { };
  62. template <class ContainerAllocator>
  63. struct IsMessage< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  64. : TrueType
  65. { };
  66. template <class ContainerAllocator>
  67. struct IsMessage< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> const>
  68. : TrueType
  69. { };
  70. template <class ContainerAllocator>
  71. struct HasHeader< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  72. : FalseType
  73. { };
  74. template <class ContainerAllocator>
  75. struct HasHeader< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> const>
  76. : FalseType
  77. { };
  78. template<class ContainerAllocator>
  79. struct MD5Sum< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  80. {
  81. static const char* value()
  82. {
  83. return "b9e3b373f17df088ee6dcd817b79dff0";
  84. }
  85. static const char* value(const ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator>&) { return value(); }
  86. static const uint64_t static_value1 = 0xb9e3b373f17df088ULL;
  87. static const uint64_t static_value2 = 0xee6dcd817b79dff0ULL;
  88. };
  89. template<class ContainerAllocator>
  90. struct DataType< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  91. {
  92. static const char* value()
  93. {
  94. return "cartographer_ros_msgs/GetTrajectoryStatesResponse";
  95. }
  96. static const char* value(const ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator>&) { return value(); }
  97. };
  98. template<class ContainerAllocator>
  99. struct Definition< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  100. {
  101. static const char* value()
  102. {
  103. return "cartographer_ros_msgs/StatusResponse status\n\
  104. cartographer_ros_msgs/TrajectoryStates trajectory_states\n\
  105. \n\
  106. \n\
  107. ================================================================================\n\
  108. MSG: cartographer_ros_msgs/StatusResponse\n\
  109. # Copyright 2018 The Cartographer Authors\n\
  110. #\n\
  111. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  112. # you may not use this file except in compliance with the License.\n\
  113. # You may obtain a copy of the License at\n\
  114. #\n\
  115. # http://www.apache.org/licenses/LICENSE-2.0\n\
  116. #\n\
  117. # Unless required by applicable law or agreed to in writing, software\n\
  118. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  119. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  120. # See the License for the specific language governing permissions and\n\
  121. # limitations under the License.\n\
  122. \n\
  123. # A common message type to indicate the outcome of a service call.\n\
  124. uint8 code\n\
  125. string message\n\
  126. \n\
  127. ================================================================================\n\
  128. MSG: cartographer_ros_msgs/TrajectoryStates\n\
  129. # Copyright 2018 The Cartographer Authors\n\
  130. #\n\
  131. # Licensed under the Apache License, Version 2.0 (the 'License');\n\
  132. # you may not use this file except in compliance with the License.\n\
  133. # You may obtain a copy of the License at\n\
  134. #\n\
  135. # http://www.apache.org/licenses/LICENSE-2.0\n\
  136. #\n\
  137. # Unless required by applicable law or agreed to in writing, software\n\
  138. # distributed under the License is distributed on an 'AS IS' BASIS,\n\
  139. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  140. # See the License for the specific language governing permissions and\n\
  141. # limitations under the License.\n\
  142. \n\
  143. uint8 ACTIVE = 0\n\
  144. uint8 FINISHED = 1\n\
  145. uint8 FROZEN = 2\n\
  146. uint8 DELETED = 3\n\
  147. \n\
  148. std_msgs/Header header\n\
  149. int32[] trajectory_id\n\
  150. uint8[] trajectory_state\n\
  151. \n\
  152. ================================================================================\n\
  153. MSG: std_msgs/Header\n\
  154. # Standard metadata for higher-level stamped data types.\n\
  155. # This is generally used to communicate timestamped data \n\
  156. # in a particular coordinate frame.\n\
  157. # \n\
  158. # sequence ID: consecutively increasing ID \n\
  159. uint32 seq\n\
  160. #Two-integer timestamp that is expressed as:\n\
  161. # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
  162. # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
  163. # time-handling sugar is provided by the client library\n\
  164. time stamp\n\
  165. #Frame this data is associated with\n\
  166. # 0: no frame\n\
  167. # 1: global frame\n\
  168. string frame_id\n\
  169. ";
  170. }
  171. static const char* value(const ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator>&) { return value(); }
  172. };
  173. } // namespace message_traits
  174. } // namespace ros
  175. namespace ros
  176. {
  177. namespace serialization
  178. {
  179. template<class ContainerAllocator> struct Serializer< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  180. {
  181. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  182. {
  183. stream.next(m.status);
  184. stream.next(m.trajectory_states);
  185. }
  186. ROS_DECLARE_ALLINONE_SERIALIZER
  187. }; // struct GetTrajectoryStatesResponse_
  188. } // namespace serialization
  189. } // namespace ros
  190. namespace ros
  191. {
  192. namespace message_operations
  193. {
  194. template<class ContainerAllocator>
  195. struct Printer< ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator> >
  196. {
  197. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cartographer_ros_msgs::GetTrajectoryStatesResponse_<ContainerAllocator>& v)
  198. {
  199. s << indent << "status: ";
  200. s << std::endl;
  201. Printer< ::cartographer_ros_msgs::StatusResponse_<ContainerAllocator> >::stream(s, indent + " ", v.status);
  202. s << indent << "trajectory_states: ";
  203. s << std::endl;
  204. Printer< ::cartographer_ros_msgs::TrajectoryStates_<ContainerAllocator> >::stream(s, indent + " ", v.trajectory_states);
  205. }
  206. };
  207. } // namespace message_operations
  208. } // namespace ros
  209. #endif // CARTOGRAPHER_ROS_MSGS_MESSAGE_GETTRAJECTORYSTATESRESPONSE_H