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; nav_msgs.SetMap.Request other = (Messages.nav_msgs.SetMap.Request)____other; ret &= map.Equals(other.map); ret &= initial_pose.Equals(other.initial_pose); return(ret); }