// Generated by gencpp from file common_msgs/LocateInfo.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_LOCATEINFO_H #define COMMON_MSGS_MESSAGE_LOCATEINFO_H #include #include #include #include #include #include #include #include namespace common_msgs { template struct LocateInfo_ { typedef LocateInfo_ Type; LocateInfo_() : pose() , locate_status(0) , error_code(0) , message() { } LocateInfo_(const ContainerAllocator& _alloc) : pose(_alloc) , locate_status(0) , error_code(0) , message(_alloc) { (void)_alloc; } typedef ::geometry_msgs::PoseStamped_ _pose_type; _pose_type pose; typedef int8_t _locate_status_type; _locate_status_type locate_status; typedef int64_t _error_code_type; _error_code_type error_code; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _message_type; _message_type message; typedef boost::shared_ptr< ::common_msgs::LocateInfo_ > Ptr; typedef boost::shared_ptr< ::common_msgs::LocateInfo_ const> ConstPtr; }; // struct LocateInfo_ typedef ::common_msgs::LocateInfo_ > LocateInfo; typedef boost::shared_ptr< ::common_msgs::LocateInfo > LocateInfoPtr; typedef boost::shared_ptr< ::common_msgs::LocateInfo const> LocateInfoConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::LocateInfo_ & v) { ros::message_operations::Printer< ::common_msgs::LocateInfo_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::LocateInfo_ & lhs, const ::common_msgs::LocateInfo_ & rhs) { return lhs.pose == rhs.pose && lhs.locate_status == rhs.locate_status && lhs.error_code == rhs.error_code && lhs.message == rhs.message; } template bool operator!=(const ::common_msgs::LocateInfo_ & lhs, const ::common_msgs::LocateInfo_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::LocateInfo_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::LocateInfo_ const> : FalseType { }; template struct IsMessage< ::common_msgs::LocateInfo_ > : TrueType { }; template struct IsMessage< ::common_msgs::LocateInfo_ const> : TrueType { }; template struct HasHeader< ::common_msgs::LocateInfo_ > : FalseType { }; template struct HasHeader< ::common_msgs::LocateInfo_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::LocateInfo_ > { static const char* value() { return "b6bc02691055cc41c1e2c643c115cc87"; } static const char* value(const ::common_msgs::LocateInfo_&) { return value(); } static const uint64_t static_value1 = 0xb6bc02691055cc41ULL; static const uint64_t static_value2 = 0xc1e2c643c115cc87ULL; }; template struct DataType< ::common_msgs::LocateInfo_ > { static const char* value() { return "common_msgs/LocateInfo"; } static const char* value(const ::common_msgs::LocateInfo_&) { return value(); } }; template struct Definition< ::common_msgs::LocateInfo_ > { static const char* value() { return "#机器人位置姿态\n" "geometry_msgs/PoseStamped pose\n" "#定位状态, 0 -定位失败, 1 -定位成功\n" "int8 locate_status\n" "#任务执行错误码(无错时为0)\n" "int64 error_code\n" "#描述\n" "string message\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::LocateInfo_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::LocateInfo_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.pose); stream.next(m.locate_status); stream.next(m.error_code); stream.next(m.message); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct LocateInfo_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::LocateInfo_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::LocateInfo_& v) { s << indent << "pose: "; s << std::endl; Printer< ::geometry_msgs::PoseStamped_ >::stream(s, indent + " ", v.pose); s << indent << "locate_status: "; Printer::stream(s, indent + " ", v.locate_status); s << indent << "error_code: "; Printer::stream(s, indent + " ", v.error_code); s << indent << "message: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.message); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_LOCATEINFO_H