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

            sensor_msgs.Image other = (Messages.sensor_msgs.Image)____other;

            ret &= header.Equals(other.header);
            ret &= height == other.height;
            ret &= width == other.width;
            ret &= encoding == other.encoding;
            ret &= is_bigendian == other.is_bigendian;
            ret &= step == other.step;
            if (data.Length != other.data.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < data.Length; __i__++)
            {
                ret &= data[__i__] == other.data[__i__];
            }
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
Ejemplo n.º 2
0
 public DisparityImage(std_msgs.Header header, sensor_msgs.Image image, float f, float T, sensor_msgs.RegionOfInterest valid_window, float min_disparity, float max_disparity, float delta_d)
 {
     this.header        = header;
     this.image         = image;
     this.f             = f;
     this.T             = T;
     this.valid_window  = valid_window;
     this.min_disparity = min_disparity;
     this.max_disparity = max_disparity;
     this.delta_d       = delta_d;
 }
Ejemplo n.º 3
0
 public DisparityImage()
 {
     this.header        = new std_msgs.Header();
     this.image         = new sensor_msgs.Image();
     this.f             = 0.0f;
     this.T             = 0.0f;
     this.valid_window  = new sensor_msgs.RegionOfInterest();
     this.min_disparity = 0.0f;
     this.max_disparity = 0.0f;
     this.delta_d       = 0.0f;
 }