// Generated by gencpp from file common_msgs/StartCollectMapRequest.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_STARTCOLLECTMAPREQUEST_H #define COMMON_MSGS_MESSAGE_STARTCOLLECTMAPREQUEST_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 <geometry_msgs/Pose.h> namespace common_msgs { template <class ContainerAllocator> struct StartCollectMapRequest_ { typedef StartCollectMapRequest_<ContainerAllocator> Type; StartCollectMapRequest_() : map_path() , type(0) , pose() { } StartCollectMapRequest_(const ContainerAllocator& _alloc) : map_path(_alloc) , type(0) , pose(_alloc) { (void)_alloc; } typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _map_path_type; _map_path_type map_path; typedef int32_t _type_type; _type_type type; typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type; _pose_type pose; typedef boost::shared_ptr< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> const> ConstPtr; }; // struct StartCollectMapRequest_ typedef ::common_msgs::StartCollectMapRequest_<std::allocator<void> > StartCollectMapRequest; typedef boost::shared_ptr< ::common_msgs::StartCollectMapRequest > StartCollectMapRequestPtr; typedef boost::shared_ptr< ::common_msgs::StartCollectMapRequest const> StartCollectMapRequestConstPtr; // constants requiring out of line definition template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::common_msgs::StartCollectMapRequest_<ContainerAllocator> & v) { ros::message_operations::Printer< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> >::stream(s, "", v); return s; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator==(const ::common_msgs::StartCollectMapRequest_<ContainerAllocator1> & lhs, const ::common_msgs::StartCollectMapRequest_<ContainerAllocator2> & rhs) { return lhs.map_path == rhs.map_path && lhs.type == rhs.type && lhs.pose == rhs.pose; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator!=(const ::common_msgs::StartCollectMapRequest_<ContainerAllocator1> & lhs, const ::common_msgs::StartCollectMapRequest_<ContainerAllocator2> & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> const> : FalseType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > { static const char* value() { return "6f1ce6f32060e2d4399ccaabe6edd567"; } static const char* value(const ::common_msgs::StartCollectMapRequest_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0x6f1ce6f32060e2d4ULL; static const uint64_t static_value2 = 0x399ccaabe6edd567ULL; }; template<class ContainerAllocator> struct DataType< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > { static const char* value() { return "common_msgs/StartCollectMapRequest"; } static const char* value(const ::common_msgs::StartCollectMapRequest_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > { static const char* value() { return "\n" "string map_path\n" "#建图类型\n" "int32 type\n" "#位姿(仅在建图类型为“1-续扫”时生效)\n" "geometry_msgs/Pose pose\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::StartCollectMapRequest_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.map_path); stream.next(m.type); stream.next(m.pose); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct StartCollectMapRequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::common_msgs::StartCollectMapRequest_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::StartCollectMapRequest_<ContainerAllocator>& v) { s << indent << "map_path: "; Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.map_path); s << indent << "type: "; Printer<int32_t>::stream(s, indent + " ", v.type); s << indent << "pose: "; s << std::endl; Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_STARTCOLLECTMAPREQUEST_H