123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- // Generated by gencpp from file common_msgs/NavGoalRequest.msg
- // DO NOT EDIT!
- #ifndef COMMON_MSGS_MESSAGE_NAVGOALREQUEST_H
- #define COMMON_MSGS_MESSAGE_NAVGOALREQUEST_H
- #include <string>
- #include <vector>
- #include <memory>
- #include <ros/types.h>
- #include <ros/serialization.h>
- #include <ros/builtin_message_traits.h>
- #include <ros/message_operations.h>
- #include <common_msgs/TaskInfo.h>
- #include <geometry_msgs/PoseStamped.h>
- namespace common_msgs
- {
- template <class ContainerAllocator>
- struct NavGoalRequest_
- {
- typedef NavGoalRequest_<ContainerAllocator> Type;
- NavGoalRequest_()
- : task_info()
- , point() {
- }
- NavGoalRequest_(const ContainerAllocator& _alloc)
- : task_info(_alloc)
- , point(_alloc) {
- (void)_alloc;
- }
- typedef ::common_msgs::TaskInfo_<ContainerAllocator> _task_info_type;
- _task_info_type task_info;
- typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _point_type;
- _point_type point;
- typedef boost::shared_ptr< ::common_msgs::NavGoalRequest_<ContainerAllocator> > Ptr;
- typedef boost::shared_ptr< ::common_msgs::NavGoalRequest_<ContainerAllocator> const> ConstPtr;
- }; // struct NavGoalRequest_
- typedef ::common_msgs::NavGoalRequest_<std::allocator<void> > NavGoalRequest;
- typedef boost::shared_ptr< ::common_msgs::NavGoalRequest > NavGoalRequestPtr;
- typedef boost::shared_ptr< ::common_msgs::NavGoalRequest const> NavGoalRequestConstPtr;
- // constants requiring out of line definition
- template<typename ContainerAllocator>
- std::ostream& operator<<(std::ostream& s, const ::common_msgs::NavGoalRequest_<ContainerAllocator> & v)
- {
- ros::message_operations::Printer< ::common_msgs::NavGoalRequest_<ContainerAllocator> >::stream(s, "", v);
- return s;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator==(const ::common_msgs::NavGoalRequest_<ContainerAllocator1> & lhs, const ::common_msgs::NavGoalRequest_<ContainerAllocator2> & rhs)
- {
- return lhs.task_info == rhs.task_info &&
- lhs.point == rhs.point;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator!=(const ::common_msgs::NavGoalRequest_<ContainerAllocator1> & lhs, const ::common_msgs::NavGoalRequest_<ContainerAllocator2> & rhs)
- {
- return !(lhs == rhs);
- }
- } // namespace common_msgs
- namespace ros
- {
- namespace message_traits
- {
- template <class ContainerAllocator>
- struct IsFixedSize< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- : FalseType
- { };
- template <class ContainerAllocator>
- struct IsFixedSize< ::common_msgs::NavGoalRequest_<ContainerAllocator> const>
- : FalseType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::common_msgs::NavGoalRequest_<ContainerAllocator> const>
- : TrueType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- : FalseType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::common_msgs::NavGoalRequest_<ContainerAllocator> const>
- : FalseType
- { };
- template<class ContainerAllocator>
- struct MD5Sum< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "b610470afc16409fe270131f00e709eb";
- }
- static const char* value(const ::common_msgs::NavGoalRequest_<ContainerAllocator>&) { return value(); }
- static const uint64_t static_value1 = 0xb610470afc16409fULL;
- static const uint64_t static_value2 = 0xe270131f00e709ebULL;
- };
- template<class ContainerAllocator>
- struct DataType< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "common_msgs/NavGoalRequest";
- }
- static const char* value(const ::common_msgs::NavGoalRequest_<ContainerAllocator>&) { return value(); }
- };
- template<class ContainerAllocator>
- struct Definition< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "#任务信息\n"
- "TaskInfo task_info\n"
- "geometry_msgs/PoseStamped point\n"
- "\n"
- "================================================================================\n"
- "MSG: common_msgs/TaskInfo\n"
- "#任务id\n"
- "string task_id\n"
- "#任务类型\n"
- "int32 task_type\n"
- "#子任务类型\n"
- "int32 sub_task_type\n"
- "\n"
- "================================================================================\n"
- "MSG: geometry_msgs/PoseStamped\n"
- "# A Pose with reference coordinate frame and timestamp\n"
- "Header header\n"
- "Pose pose\n"
- "\n"
- "================================================================================\n"
- "MSG: std_msgs/Header\n"
- "# Standard metadata for higher-level stamped data types.\n"
- "# This is generally used to communicate timestamped data \n"
- "# in a particular coordinate frame.\n"
- "# \n"
- "# sequence ID: consecutively increasing ID \n"
- "uint32 seq\n"
- "#Two-integer timestamp that is expressed as:\n"
- "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
- "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
- "# time-handling sugar is provided by the client library\n"
- "time stamp\n"
- "#Frame this data is associated with\n"
- "string frame_id\n"
- "\n"
- "================================================================================\n"
- "MSG: geometry_msgs/Pose\n"
- "# A representation of pose in free space, composed of position and orientation. \n"
- "Point position\n"
- "Quaternion orientation\n"
- "\n"
- "================================================================================\n"
- "MSG: geometry_msgs/Point\n"
- "# This contains the position of a point in free space\n"
- "float64 x\n"
- "float64 y\n"
- "float64 z\n"
- "\n"
- "================================================================================\n"
- "MSG: geometry_msgs/Quaternion\n"
- "# This represents an orientation in free space in quaternion form.\n"
- "\n"
- "float64 x\n"
- "float64 y\n"
- "float64 z\n"
- "float64 w\n"
- ;
- }
- static const char* value(const ::common_msgs::NavGoalRequest_<ContainerAllocator>&) { return value(); }
- };
- } // namespace message_traits
- } // namespace ros
- namespace ros
- {
- namespace serialization
- {
- template<class ContainerAllocator> struct Serializer< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- {
- template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
- {
- stream.next(m.task_info);
- stream.next(m.point);
- }
- ROS_DECLARE_ALLINONE_SERIALIZER
- }; // struct NavGoalRequest_
- } // namespace serialization
- } // namespace ros
- namespace ros
- {
- namespace message_operations
- {
- template<class ContainerAllocator>
- struct Printer< ::common_msgs::NavGoalRequest_<ContainerAllocator> >
- {
- template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::NavGoalRequest_<ContainerAllocator>& v)
- {
- s << indent << "task_info: ";
- s << std::endl;
- Printer< ::common_msgs::TaskInfo_<ContainerAllocator> >::stream(s, indent + " ", v.task_info);
- s << indent << "point: ";
- s << std::endl;
- Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.point);
- }
- };
- } // namespace message_operations
- } // namespace ros
- #endif // COMMON_MSGS_MESSAGE_NAVGOALREQUEST_H
|