Exemplo n.º 1
0
        public override bool Equals(RosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret   = true;
            var  other = ____other as Messages.rosgraph_msgs.Log;

            if (other == null)
            {
                return(false);
            }
            ret &= header.Equals(other.header);
            ret &= level == other.level;
            ret &= name == other.name;
            ret &= msg == other.msg;
            ret &= file == other.file;
            ret &= function == other.function;
            ret &= line == other.line;
            if (topics.Length != other.topics.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < topics.Length; __i__++)
            {
                ret &= topics[__i__] == other.topics[__i__];
            }
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
Exemplo n.º 2
0
        public override bool Equals(RosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret   = true;
            var  other = ____other as Messages.actionlib_msgs.GoalStatusArray;

            if (other == null)
            {
                return(false);
            }
            ret &= header.Equals(other.header);
            if (status_list.Length != other.status_list.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < status_list.Length; __i__++)
            {
                ret &= status_list[__i__].Equals(other.status_list[__i__]);
            }
            // 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;
            MotorCommand other = (MotorCommand)____other;

            ret &= header.Equals(other.header);
            ret &= force.Equals(other.force);
            ret &= torque.Equals(other.torque);
            ret &= frequency.Equals(other.frequency);
            ret &= voltage.Equals(other.voltage);
            return(ret);
        }
Exemplo n.º 4
0
        public override bool Equals(RosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret   = true;
            var  other = ____other as Messages.geometry_msgs.TransformStamped;

            if (other == null)
            {
                return(false);
            }
            ret &= header.Equals(other.header);
            ret &= child_frame_id == other.child_frame_id;
            ret &= transform.Equals(other.transform);
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }