NavGoalRequest.h 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. // Generated by gencpp from file common_msgs/NavGoalRequest.msg
  2. // DO NOT EDIT!
  3. #ifndef COMMON_MSGS_MESSAGE_NAVGOALREQUEST_H
  4. #define COMMON_MSGS_MESSAGE_NAVGOALREQUEST_H
  5. #include <string>
  6. #include <vector>
  7. #include <memory>
  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 <common_msgs/TaskInfo.h>
  13. #include <geometry_msgs/PoseStamped.h>
  14. namespace common_msgs
  15. {
  16. template <class ContainerAllocator>
  17. struct NavGoalRequest_
  18. {
  19. typedef NavGoalRequest_<ContainerAllocator> Type;
  20. NavGoalRequest_()
  21. : task_info()
  22. , point() {
  23. }
  24. NavGoalRequest_(const ContainerAllocator& _alloc)
  25. : task_info(_alloc)
  26. , point(_alloc) {
  27. (void)_alloc;
  28. }
  29. typedef ::common_msgs::TaskInfo_<ContainerAllocator> _task_info_type;
  30. _task_info_type task_info;
  31. typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _point_type;
  32. _point_type point;
  33. typedef boost::shared_ptr< ::common_msgs::NavGoalRequest_<ContainerAllocator> > Ptr;
  34. typedef boost::shared_ptr< ::common_msgs::NavGoalRequest_<ContainerAllocator> const> ConstPtr;
  35. }; // struct NavGoalRequest_
  36. typedef ::common_msgs::NavGoalRequest_<std::allocator<void> > NavGoalRequest;
  37. typedef boost::shared_ptr< ::common_msgs::NavGoalRequest > NavGoalRequestPtr;
  38. typedef boost::shared_ptr< ::common_msgs::NavGoalRequest const> NavGoalRequestConstPtr;
  39. // constants requiring out of line definition
  40. template<typename ContainerAllocator>
  41. std::ostream& operator<<(std::ostream& s, const ::common_msgs::NavGoalRequest_<ContainerAllocator> & v)
  42. {
  43. ros::message_operations::Printer< ::common_msgs::NavGoalRequest_<ContainerAllocator> >::stream(s, "", v);
  44. return s;
  45. }
  46. template<typename ContainerAllocator1, typename ContainerAllocator2>
  47. bool operator==(const ::common_msgs::NavGoalRequest_<ContainerAllocator1> & lhs, const ::common_msgs::NavGoalRequest_<ContainerAllocator2> & rhs)
  48. {
  49. return lhs.task_info == rhs.task_info &&
  50. lhs.point == rhs.point;
  51. }
  52. template<typename ContainerAllocator1, typename ContainerAllocator2>
  53. bool operator!=(const ::common_msgs::NavGoalRequest_<ContainerAllocator1> & lhs, const ::common_msgs::NavGoalRequest_<ContainerAllocator2> & rhs)
  54. {
  55. return !(lhs == rhs);
  56. }
  57. } // namespace common_msgs
  58. namespace ros
  59. {
  60. namespace message_traits
  61. {
  62. template <class ContainerAllocator>
  63. struct IsFixedSize< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  64. : FalseType
  65. { };
  66. template <class ContainerAllocator>
  67. struct IsFixedSize< ::common_msgs::NavGoalRequest_<ContainerAllocator> const>
  68. : FalseType
  69. { };
  70. template <class ContainerAllocator>
  71. struct IsMessage< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  72. : TrueType
  73. { };
  74. template <class ContainerAllocator>
  75. struct IsMessage< ::common_msgs::NavGoalRequest_<ContainerAllocator> const>
  76. : TrueType
  77. { };
  78. template <class ContainerAllocator>
  79. struct HasHeader< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  80. : FalseType
  81. { };
  82. template <class ContainerAllocator>
  83. struct HasHeader< ::common_msgs::NavGoalRequest_<ContainerAllocator> const>
  84. : FalseType
  85. { };
  86. template<class ContainerAllocator>
  87. struct MD5Sum< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  88. {
  89. static const char* value()
  90. {
  91. return "b610470afc16409fe270131f00e709eb";
  92. }
  93. static const char* value(const ::common_msgs::NavGoalRequest_<ContainerAllocator>&) { return value(); }
  94. static const uint64_t static_value1 = 0xb610470afc16409fULL;
  95. static const uint64_t static_value2 = 0xe270131f00e709ebULL;
  96. };
  97. template<class ContainerAllocator>
  98. struct DataType< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  99. {
  100. static const char* value()
  101. {
  102. return "common_msgs/NavGoalRequest";
  103. }
  104. static const char* value(const ::common_msgs::NavGoalRequest_<ContainerAllocator>&) { return value(); }
  105. };
  106. template<class ContainerAllocator>
  107. struct Definition< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  108. {
  109. static const char* value()
  110. {
  111. return "#任务信息\n"
  112. "TaskInfo task_info\n"
  113. "geometry_msgs/PoseStamped point\n"
  114. "\n"
  115. "================================================================================\n"
  116. "MSG: common_msgs/TaskInfo\n"
  117. "#任务id\n"
  118. "string task_id\n"
  119. "#任务类型\n"
  120. "int32 task_type\n"
  121. "#子任务类型\n"
  122. "int32 sub_task_type\n"
  123. "\n"
  124. "================================================================================\n"
  125. "MSG: geometry_msgs/PoseStamped\n"
  126. "# A Pose with reference coordinate frame and timestamp\n"
  127. "Header header\n"
  128. "Pose pose\n"
  129. "\n"
  130. "================================================================================\n"
  131. "MSG: std_msgs/Header\n"
  132. "# Standard metadata for higher-level stamped data types.\n"
  133. "# This is generally used to communicate timestamped data \n"
  134. "# in a particular coordinate frame.\n"
  135. "# \n"
  136. "# sequence ID: consecutively increasing ID \n"
  137. "uint32 seq\n"
  138. "#Two-integer timestamp that is expressed as:\n"
  139. "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
  140. "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
  141. "# time-handling sugar is provided by the client library\n"
  142. "time stamp\n"
  143. "#Frame this data is associated with\n"
  144. "string frame_id\n"
  145. "\n"
  146. "================================================================================\n"
  147. "MSG: geometry_msgs/Pose\n"
  148. "# A representation of pose in free space, composed of position and orientation. \n"
  149. "Point position\n"
  150. "Quaternion orientation\n"
  151. "\n"
  152. "================================================================================\n"
  153. "MSG: geometry_msgs/Point\n"
  154. "# This contains the position of a point in free space\n"
  155. "float64 x\n"
  156. "float64 y\n"
  157. "float64 z\n"
  158. "\n"
  159. "================================================================================\n"
  160. "MSG: geometry_msgs/Quaternion\n"
  161. "# This represents an orientation in free space in quaternion form.\n"
  162. "\n"
  163. "float64 x\n"
  164. "float64 y\n"
  165. "float64 z\n"
  166. "float64 w\n"
  167. ;
  168. }
  169. static const char* value(const ::common_msgs::NavGoalRequest_<ContainerAllocator>&) { return value(); }
  170. };
  171. } // namespace message_traits
  172. } // namespace ros
  173. namespace ros
  174. {
  175. namespace serialization
  176. {
  177. template<class ContainerAllocator> struct Serializer< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  178. {
  179. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  180. {
  181. stream.next(m.task_info);
  182. stream.next(m.point);
  183. }
  184. ROS_DECLARE_ALLINONE_SERIALIZER
  185. }; // struct NavGoalRequest_
  186. } // namespace serialization
  187. } // namespace ros
  188. namespace ros
  189. {
  190. namespace message_operations
  191. {
  192. template<class ContainerAllocator>
  193. struct Printer< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
  194. {
  195. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::NavGoalRequest_<ContainerAllocator>& v)
  196. {
  197. s << indent << "task_info: ";
  198. s << std::endl;
  199. Printer< ::common_msgs::TaskInfo_<ContainerAllocator> >::stream(s, indent + " ", v.task_info);
  200. s << indent << "point: ";
  201. s << std::endl;
  202. Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.point);
  203. }
  204. };
  205. } // namespace message_operations
  206. } // namespace ros
  207. #endif // COMMON_MSGS_MESSAGE_NAVGOALREQUEST_H