// Generated by gencpp from file common_msgs/EvaluateMapResponse.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_EVALUATEMAPRESPONSE_H #define COMMON_MSGS_MESSAGE_EVALUATEMAPRESPONSE_H #include #include #include #include #include #include #include #include namespace common_msgs { template struct EvaluateMapResponse_ { typedef EvaluateMapResponse_ Type; EvaluateMapResponse_() : result(0) , map_quality(0) , map_range(0.0) , drift_odom(0) , drift_imu(0) , pose() { } EvaluateMapResponse_(const ContainerAllocator& _alloc) : result(0) , map_quality(0) , map_range(0.0) , drift_odom(0) , drift_imu(0) , pose(_alloc) { (void)_alloc; } typedef int32_t _result_type; _result_type result; typedef int16_t _map_quality_type; _map_quality_type map_quality; typedef float _map_range_type; _map_range_type map_range; typedef int16_t _drift_odom_type; _drift_odom_type drift_odom; typedef int16_t _drift_imu_type; _drift_imu_type drift_imu; typedef std::vector< ::geometry_msgs::Pose_ , typename std::allocator_traits::template rebind_alloc< ::geometry_msgs::Pose_ >> _pose_type; _pose_type pose; typedef boost::shared_ptr< ::common_msgs::EvaluateMapResponse_ > Ptr; typedef boost::shared_ptr< ::common_msgs::EvaluateMapResponse_ const> ConstPtr; }; // struct EvaluateMapResponse_ typedef ::common_msgs::EvaluateMapResponse_ > EvaluateMapResponse; typedef boost::shared_ptr< ::common_msgs::EvaluateMapResponse > EvaluateMapResponsePtr; typedef boost::shared_ptr< ::common_msgs::EvaluateMapResponse const> EvaluateMapResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::EvaluateMapResponse_ & v) { ros::message_operations::Printer< ::common_msgs::EvaluateMapResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::EvaluateMapResponse_ & lhs, const ::common_msgs::EvaluateMapResponse_ & rhs) { return lhs.result == rhs.result && lhs.map_quality == rhs.map_quality && lhs.map_range == rhs.map_range && lhs.drift_odom == rhs.drift_odom && lhs.drift_imu == rhs.drift_imu && lhs.pose == rhs.pose; } template bool operator!=(const ::common_msgs::EvaluateMapResponse_ & lhs, const ::common_msgs::EvaluateMapResponse_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::EvaluateMapResponse_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::EvaluateMapResponse_ const> : FalseType { }; template struct IsMessage< ::common_msgs::EvaluateMapResponse_ > : TrueType { }; template struct IsMessage< ::common_msgs::EvaluateMapResponse_ const> : TrueType { }; template struct HasHeader< ::common_msgs::EvaluateMapResponse_ > : FalseType { }; template struct HasHeader< ::common_msgs::EvaluateMapResponse_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::EvaluateMapResponse_ > { static const char* value() { return "0545fc3eb74d78ba62782d66a1d2f7c9"; } static const char* value(const ::common_msgs::EvaluateMapResponse_&) { return value(); } static const uint64_t static_value1 = 0x0545fc3eb74d78baULL; static const uint64_t static_value2 = 0x62782d66a1d2f7c9ULL; }; template struct DataType< ::common_msgs::EvaluateMapResponse_ > { static const char* value() { return "common_msgs/EvaluateMapResponse"; } static const char* value(const ::common_msgs::EvaluateMapResponse_&) { return value(); } }; template struct Definition< ::common_msgs::EvaluateMapResponse_ > { static const char* value() { return "int32 result\n" "int16 map_quality\n" "float32 map_range\n" "int16 drift_odom\n" "int16 drift_imu\n" "#x,y为位置,z为该点的建图质量\n" "geometry_msgs/Pose[] pose #z=0表示正常,z=-1表示劣质点, z=-2表示不可用点\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::EvaluateMapResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::EvaluateMapResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.result); stream.next(m.map_quality); stream.next(m.map_range); stream.next(m.drift_odom); stream.next(m.drift_imu); stream.next(m.pose); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct EvaluateMapResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::EvaluateMapResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::EvaluateMapResponse_& v) { s << indent << "result: "; Printer::stream(s, indent + " ", v.result); s << indent << "map_quality: "; Printer::stream(s, indent + " ", v.map_quality); s << indent << "map_range: "; Printer::stream(s, indent + " ", v.map_range); s << indent << "drift_odom: "; Printer::stream(s, indent + " ", v.drift_odom); s << indent << "drift_imu: "; Printer::stream(s, indent + " ", v.drift_imu); s << indent << "pose[]" << std::endl; for (size_t i = 0; i < v.pose.size(); ++i) { s << indent << " pose[" << i << "]: "; s << std::endl; s << indent; Printer< ::geometry_msgs::Pose_ >::stream(s, indent + " ", v.pose[i]); } } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_EVALUATEMAPRESPONSE_H