public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            object_recognition_msgs.ObjectInformation other = (Messages.object_recognition_msgs.ObjectInformation)____other;

            ret &= name == other.name;
            ret &= ground_truth_mesh.Equals(other.ground_truth_mesh);
            ret &= ground_truth_point_cloud.Equals(other.ground_truth_point_cloud);
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            map_msgs.PointCloud2Update other = (Messages.map_msgs.PointCloud2Update)____other;

            ret &= header.Equals(other.header);
            ret &= type == other.type;
            ret &= points.Equals(other.points);
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
Esempio n. 3
0
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            pcl_msgs.PolygonMesh other = (Messages.pcl_msgs.PolygonMesh)____other;

            ret &= header.Equals(other.header);
            ret &= cloud.Equals(other.cloud);
            if (polygons.Length != other.polygons.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < polygons.Length; __i__++)
            {
                ret &= polygons[__i__].Equals(other.polygons[__i__]);
            }
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }