public override bool Equals(IRosMessage ____other) { if (____other == null) { return(false); } bool ret = true; object_recognition_msgs.RecognizedObject other = (Messages.object_recognition_msgs.RecognizedObject)____other; ret &= header.Equals(other.header); ret &= type.Equals(other.type); ret &= confidence == other.confidence; if (point_clouds.Length != other.point_clouds.Length) { return(false); } for (int __i__ = 0; __i__ < point_clouds.Length; __i__++) { ret &= point_clouds[__i__].Equals(other.point_clouds[__i__]); } ret &= bounding_mesh.Equals(other.bounding_mesh); if (bounding_contours.Length != other.bounding_contours.Length) { return(false); } for (int __i__ = 0; __i__ < bounding_contours.Length; __i__++) { ret &= bounding_contours[__i__].Equals(other.bounding_contours[__i__]); } ret &= pose.Equals(other.pose); // 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; 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); }