// Generated by gencpp from file common_msgs/CreateMapInfo.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_CREATEMAPINFO_H #define COMMON_MSGS_MESSAGE_CREATEMAPINFO_H #include #include #include #include #include #include #include #include #include namespace common_msgs { template struct CreateMapInfo_ { typedef CreateMapInfo_ Type; CreateMapInfo_() : trajectory_list() , points() { } CreateMapInfo_(const ContainerAllocator& _alloc) : trajectory_list(_alloc) , points(_alloc) { (void)_alloc; } typedef std::vector< ::common_msgs::Trajectory_ , typename std::allocator_traits::template rebind_alloc< ::common_msgs::Trajectory_ >> _trajectory_list_type; _trajectory_list_type trajectory_list; typedef std::vector< ::common_msgs::Beacon_ , typename std::allocator_traits::template rebind_alloc< ::common_msgs::Beacon_ >> _points_type; _points_type points; typedef boost::shared_ptr< ::common_msgs::CreateMapInfo_ > Ptr; typedef boost::shared_ptr< ::common_msgs::CreateMapInfo_ const> ConstPtr; }; // struct CreateMapInfo_ typedef ::common_msgs::CreateMapInfo_ > CreateMapInfo; typedef boost::shared_ptr< ::common_msgs::CreateMapInfo > CreateMapInfoPtr; typedef boost::shared_ptr< ::common_msgs::CreateMapInfo const> CreateMapInfoConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::CreateMapInfo_ & v) { ros::message_operations::Printer< ::common_msgs::CreateMapInfo_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::CreateMapInfo_ & lhs, const ::common_msgs::CreateMapInfo_ & rhs) { return lhs.trajectory_list == rhs.trajectory_list && lhs.points == rhs.points; } template bool operator!=(const ::common_msgs::CreateMapInfo_ & lhs, const ::common_msgs::CreateMapInfo_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::CreateMapInfo_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::CreateMapInfo_ const> : FalseType { }; template struct IsMessage< ::common_msgs::CreateMapInfo_ > : TrueType { }; template struct IsMessage< ::common_msgs::CreateMapInfo_ const> : TrueType { }; template struct HasHeader< ::common_msgs::CreateMapInfo_ > : FalseType { }; template struct HasHeader< ::common_msgs::CreateMapInfo_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::CreateMapInfo_ > { static const char* value() { return "ed8281449c9197545708fe13ac5a6094"; } static const char* value(const ::common_msgs::CreateMapInfo_&) { return value(); } static const uint64_t static_value1 = 0xed8281449c919754ULL; static const uint64_t static_value2 = 0x5708fe13ac5a6094ULL; }; template struct DataType< ::common_msgs::CreateMapInfo_ > { static const char* value() { return "common_msgs/CreateMapInfo"; } static const char* value(const ::common_msgs::CreateMapInfo_&) { return value(); } }; template struct Definition< ::common_msgs::CreateMapInfo_ > { static const char* value() { return "Trajectory[] trajectory_list\n" "Beacon[] points\n" "================================================================================\n" "MSG: common_msgs/Trajectory\n" "string id\n" "geometry_msgs/Vector3[] trajectory\n" "================================================================================\n" "MSG: geometry_msgs/Vector3\n" "# This represents a vector in free space. \n" "# It is only meant to represent a direction. Therefore, it does not\n" "# make sense to apply a translation to it (e.g., when applying a \n" "# generic rigid transformation to a Vector3, tf2 will only apply the\n" "# rotation). If you want your data to be translatable too, use the\n" "# geometry_msgs/Point message instead.\n" "\n" "float64 x\n" "float64 y\n" "float64 z\n" "================================================================================\n" "MSG: common_msgs/Beacon\n" "string id\n" "int32 type\n" "geometry_msgs/PoseStamped point\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::CreateMapInfo_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::CreateMapInfo_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.trajectory_list); stream.next(m.points); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct CreateMapInfo_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::CreateMapInfo_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::CreateMapInfo_& v) { s << indent << "trajectory_list[]" << std::endl; for (size_t i = 0; i < v.trajectory_list.size(); ++i) { s << indent << " trajectory_list[" << i << "]: "; s << std::endl; s << indent; Printer< ::common_msgs::Trajectory_ >::stream(s, indent + " ", v.trajectory_list[i]); } s << indent << "points[]" << std::endl; for (size_t i = 0; i < v.points.size(); ++i) { s << indent << " points[" << i << "]: "; s << std::endl; s << indent; Printer< ::common_msgs::Beacon_ >::stream(s, indent + " ", v.points[i]); } } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_CREATEMAPINFO_H