Beispiel #1
0
 public Odometry(std_msgs.Header header, string child_frame_id, geometry_msgs.PoseWithCovariance pose, geometry_msgs.TwistWithCovariance twist)
 {
     this.header         = header;
     this.child_frame_id = child_frame_id;
     this.pose           = pose;
     this.twist          = twist;
 }
Beispiel #2
0
 public Odometry()
 {
     this.header         = new std_msgs.Header();
     this.child_frame_id = "";
     this.pose           = new geometry_msgs.PoseWithCovariance();
     this.twist          = new geometry_msgs.TwistWithCovariance();
 }
Beispiel #3
0
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            geometry_msgs.PoseWithCovariance other = (Messages.geometry_msgs.PoseWithCovariance)____other;

            ret &= pose.Equals(other.pose);
            if (covariance.Length != other.covariance.Length)
            {
                return(false);
            }
            for (int __i__ = 0; __i__ < covariance.Length; __i__++)
            {
                ret &= covariance[__i__] == other.covariance[__i__];
            }
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
Beispiel #4
0
 public PoseWithCovarianceStamped(std_msgs.Header _header, geometry_msgs.PoseWithCovariance _pose)
 {
     header = _header;
     pose   = _pose;
 }
Beispiel #5
0
 public PoseWithCovarianceStamped()
 {
     header = new std_msgs.Header();
     pose   = new geometry_msgs.PoseWithCovariance();
 }
 public PoseWithCovarianceStamped(std_msgs.Header header, geometry_msgs.PoseWithCovariance pose)
 {
     this.header = header;
     this.pose   = pose;
 }
 public PoseWithCovarianceStamped()
 {
     header = new std_msgs.Header();
     pose = new geometry_msgs.PoseWithCovariance();
 }