Example #1
0
 public void MergeFrom(PoseWithCovariance other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pose_ != null)
     {
         if (pose_ == null)
         {
             pose_ = new global::Pose();
         }
         Pose.MergeFrom(other.Pose);
     }
 }
Example #2
0
    public void MergeFrom(pb::CodedInputStream input)
    {
        uint tag;

        while ((tag = input.ReadTag()) != 0)
        {
            switch (tag)
            {
            default:
                input.SkipLastField();
                break;

            case 10: {
                if (pose_ == null)
                {
                    pose_ = new global::Pose();
                }
                input.ReadMessage(pose_);
                break;
            }
            }
        }
    }