コード例 #1
0
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            nav_msgs.Path other = (Messages.nav_msgs.Path)____other;

            ret &= header.Equals(other.header);
            if (poses.Length != other.poses.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < poses.Length; __i__++)
            {
                ret &= poses[__i__].Equals(other.poses[__i__]);
            }
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
コード例 #2
0
 public GetPlanResponse(nav_msgs.Path plan)
 {
     this.plan = plan;
 }
コード例 #3
0
 public GetPlanResponse()
 {
     this.plan = new nav_msgs.Path();
 }