public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (position_ == null) { position_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(position_); break; } case 18: { if (orientation_ == null) { orientation_ = new global::Apollo.Common.Quaternion(); } input.ReadMessage(orientation_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (positionStdDev_ == null) { positionStdDev_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(positionStdDev_); break; } case 18: { if (orientationStdDev_ == null) { orientationStdDev_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(orientationStdDev_); break; } case 26: { if (linearVelocityStdDev_ == null) { linearVelocityStdDev_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearVelocityStdDev_); break; } case 34: { if (linearAccelerationStdDev_ == null) { linearAccelerationStdDev_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearAccelerationStdDev_); break; } case 42: { if (angularVelocityStdDev_ == null) { angularVelocityStdDev_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(angularVelocityStdDev_); break; } } } }
public void MergeFrom(IntegMeasure other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } Header.MergeFrom(other.Header); } if (other.MeasureType != 0) { MeasureType = other.MeasureType; } if (other.FrameType != 0) { FrameType = other.FrameType; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.Point3D(); } Position.MergeFrom(other.Position); } if (other.velocity_ != null) { if (velocity_ == null) { velocity_ = new global::Apollo.Common.Point3D(); } Velocity.MergeFrom(other.Velocity); } if (other.Yaw != 0D) { Yaw = other.Yaw; } if (other.ZoneId != 0) { ZoneId = other.ZoneId; } if (other.IsHaveVariance != false) { IsHaveVariance = other.IsHaveVariance; } if (other.IsGnssDoubleAntenna != false) { IsGnssDoubleAntenna = other.IsGnssDoubleAntenna; } measureCovar_.Add(other.measureCovar_); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } input.ReadMessage(header_); break; } case 17: { MeasurementTime = input.ReadDouble(); break; } case 29: { MeasurementSpan = input.ReadFloat(); break; } case 34: { if (linearAcceleration_ == null) { linearAcceleration_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearAcceleration_); break; } case 42: { if (angularVelocity_ == null) { angularVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(angularVelocity_); break; } } } }
public void MergeFrom(Uncertainty other) { if (other == null) { return; } if (other.positionStdDev_ != null) { if (positionStdDev_ == null) { positionStdDev_ = new global::Apollo.Common.Point3D(); } PositionStdDev.MergeFrom(other.PositionStdDev); } if (other.orientationStdDev_ != null) { if (orientationStdDev_ == null) { orientationStdDev_ = new global::Apollo.Common.Point3D(); } OrientationStdDev.MergeFrom(other.OrientationStdDev); } if (other.linearVelocityStdDev_ != null) { if (linearVelocityStdDev_ == null) { linearVelocityStdDev_ = new global::Apollo.Common.Point3D(); } LinearVelocityStdDev.MergeFrom(other.LinearVelocityStdDev); } if (other.linearAccelerationStdDev_ != null) { if (linearAccelerationStdDev_ == null) { linearAccelerationStdDev_ = new global::Apollo.Common.Point3D(); } LinearAccelerationStdDev.MergeFrom(other.LinearAccelerationStdDev); } if (other.angularVelocityStdDev_ != null) { if (angularVelocityStdDev_ == null) { angularVelocityStdDev_ = new global::Apollo.Common.Point3D(); } AngularVelocityStdDev.MergeFrom(other.AngularVelocityStdDev); } }
public void MergeFrom(IntegSinsPva other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } Header.MergeFrom(other.Header); } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.PointLLH(); } Position.MergeFrom(other.Position); } if (other.velocity_ != null) { if (velocity_ == null) { velocity_ = new global::Apollo.Common.Point3D(); } Velocity.MergeFrom(other.Velocity); } if (other.attitude_ != null) { if (attitude_ == null) { attitude_ = new global::Apollo.Common.Point3D(); } Attitude.MergeFrom(other.Attitude); } pvaCovar_.Add(other.pvaCovar_); if (other.InitAndAlignment != false) { InitAndAlignment = other.InitAndAlignment; } }
public void MergeFrom(Imu other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } Header.MergeFrom(other.Header); } if (other.MeasurementTime != 0D) { MeasurementTime = other.MeasurementTime; } if (other.MeasurementSpan != 0F) { MeasurementSpan = other.MeasurementSpan; } if (other.linearAcceleration_ != null) { if (linearAcceleration_ == null) { linearAcceleration_ = new global::Apollo.Common.Point3D(); } LinearAcceleration.MergeFrom(other.LinearAcceleration); } if (other.angularVelocity_ != null) { if (angularVelocity_ == null) { angularVelocity_ = new global::Apollo.Common.Point3D(); } AngularVelocity.MergeFrom(other.AngularVelocity); } }
public void MergeFrom(Transform other) { if (other == null) { return; } if (other.translation_ != null) { if (translation_ == null) { translation_ = new global::Apollo.Common.Point3D(); } Translation.MergeFrom(other.Translation); } if (other.rotation_ != null) { if (rotation_ == null) { rotation_ = new global::Apollo.Common.Quaternion(); } Rotation.MergeFrom(other.Rotation); } }
public void MergeFrom(Pose other) { if (other == null) { return; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.Point3D(); } Position.MergeFrom(other.Position); } if (other.orientation_ != null) { if (orientation_ == null) { orientation_ = new global::Apollo.Common.Quaternion(); } Orientation.MergeFrom(other.Orientation); } }
public void MergeFrom(Ins other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } Header.MergeFrom(other.Header); } if (other.MeasurementTime != 0D) { MeasurementTime = other.MeasurementTime; } if (other.Type != 0) { Type = other.Type; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.PointLLH(); } Position.MergeFrom(other.Position); } if (other.eulerAngles_ != null) { if (eulerAngles_ == null) { eulerAngles_ = new global::Apollo.Common.Point3D(); } EulerAngles.MergeFrom(other.EulerAngles); } if (other.linearVelocity_ != null) { if (linearVelocity_ == null) { linearVelocity_ = new global::Apollo.Common.Point3D(); } LinearVelocity.MergeFrom(other.LinearVelocity); } if (other.angularVelocity_ != null) { if (angularVelocity_ == null) { angularVelocity_ = new global::Apollo.Common.Point3D(); } AngularVelocity.MergeFrom(other.AngularVelocity); } if (other.linearAcceleration_ != null) { if (linearAcceleration_ == null) { linearAcceleration_ = new global::Apollo.Common.Point3D(); } LinearAcceleration.MergeFrom(other.LinearAcceleration); } positionCovariance_.Add(other.positionCovariance_); eulerAnglesCovariance_.Add(other.eulerAnglesCovariance_); linearVelocityCovariance_.Add(other.linearVelocityCovariance_); angularVelocityCovariance_.Add(other.angularVelocityCovariance_); linearAccelerationCovariance_.Add(other.linearAccelerationCovariance_); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (position_ == null) { position_ = new global::Apollo.Common.PointENU(); } input.ReadMessage(position_); break; } case 18: { if (orientation_ == null) { orientation_ = new global::Apollo.Common.Quaternion(); } input.ReadMessage(orientation_); break; } case 26: { if (linearVelocity_ == null) { linearVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearVelocity_); break; } case 34: { if (linearAcceleration_ == null) { linearAcceleration_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearAcceleration_); break; } case 42: { if (angularVelocity_ == null) { angularVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(angularVelocity_); break; } case 49: { Heading = input.ReadDouble(); break; } case 58: { if (linearAccelerationVrf_ == null) { linearAccelerationVrf_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearAccelerationVrf_); break; } case 66: { if (angularVelocityVrf_ == null) { angularVelocityVrf_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(angularVelocityVrf_); break; } case 74: { if (eulerAngles_ == null) { eulerAngles_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(eulerAngles_); break; } } } }
public void MergeFrom(Pose other) { if (other == null) { return; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.PointENU(); } Position.MergeFrom(other.Position); } if (other.orientation_ != null) { if (orientation_ == null) { orientation_ = new global::Apollo.Common.Quaternion(); } Orientation.MergeFrom(other.Orientation); } if (other.linearVelocity_ != null) { if (linearVelocity_ == null) { linearVelocity_ = new global::Apollo.Common.Point3D(); } LinearVelocity.MergeFrom(other.LinearVelocity); } if (other.linearAcceleration_ != null) { if (linearAcceleration_ == null) { linearAcceleration_ = new global::Apollo.Common.Point3D(); } LinearAcceleration.MergeFrom(other.LinearAcceleration); } if (other.angularVelocity_ != null) { if (angularVelocity_ == null) { angularVelocity_ = new global::Apollo.Common.Point3D(); } AngularVelocity.MergeFrom(other.AngularVelocity); } if (other.Heading != 0D) { Heading = other.Heading; } if (other.linearAccelerationVrf_ != null) { if (linearAccelerationVrf_ == null) { linearAccelerationVrf_ = new global::Apollo.Common.Point3D(); } LinearAccelerationVrf.MergeFrom(other.LinearAccelerationVrf); } if (other.angularVelocityVrf_ != null) { if (angularVelocityVrf_ == null) { angularVelocityVrf_ = new global::Apollo.Common.Point3D(); } AngularVelocityVrf.MergeFrom(other.AngularVelocityVrf); } if (other.eulerAngles_ != null) { if (eulerAngles_ == null) { eulerAngles_ = new global::Apollo.Common.Point3D(); } EulerAngles.MergeFrom(other.EulerAngles); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { Id = input.ReadInt32(); break; } case 18: { if (relativePosition_ == null) { relativePosition_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(relativePosition_); break; } case 26: { if (relativeVelocity_ == null) { relativeVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(relativeVelocity_); break; } case 33: { Rcs = input.ReadDouble(); break; } case 40: { Movable = input.ReadBool(); break; } case 49: { Width = input.ReadDouble(); break; } case 57: { Length = input.ReadDouble(); break; } case 65: { Height = input.ReadDouble(); break; } case 73: { Theta = input.ReadDouble(); break; } case 82: { if (absolutePosition_ == null) { absolutePosition_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(absolutePosition_); break; } case 90: { if (absoluteVelocity_ == null) { absoluteVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(absoluteVelocity_); break; } case 96: { Count = input.ReadInt32(); break; } case 104: { MovingFramesCount = input.ReadInt32(); break; } } } }
public void MergeFrom(RadarObstacle other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.relativePosition_ != null) { if (relativePosition_ == null) { relativePosition_ = new global::Apollo.Common.Point3D(); } RelativePosition.MergeFrom(other.RelativePosition); } if (other.relativeVelocity_ != null) { if (relativeVelocity_ == null) { relativeVelocity_ = new global::Apollo.Common.Point3D(); } RelativeVelocity.MergeFrom(other.RelativeVelocity); } if (other.Rcs != 0D) { Rcs = other.Rcs; } if (other.Movable != false) { Movable = other.Movable; } if (other.Width != 0D) { Width = other.Width; } if (other.Length != 0D) { Length = other.Length; } if (other.Height != 0D) { Height = other.Height; } if (other.Theta != 0D) { Theta = other.Theta; } if (other.absolutePosition_ != null) { if (absolutePosition_ == null) { absolutePosition_ = new global::Apollo.Common.Point3D(); } AbsolutePosition.MergeFrom(other.AbsolutePosition); } if (other.absoluteVelocity_ != null) { if (absoluteVelocity_ == null) { absoluteVelocity_ = new global::Apollo.Common.Point3D(); } AbsoluteVelocity.MergeFrom(other.AbsoluteVelocity); } if (other.Count != 0) { Count = other.Count; } if (other.MovingFramesCount != 0) { MovingFramesCount = other.MovingFramesCount; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } input.ReadMessage(header_); break; } case 18: { if (position_ == null) { position_ = new global::Apollo.Common.PointLLH(); } input.ReadMessage(position_); break; } case 26: { if (velocity_ == null) { velocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(velocity_); break; } case 34: { if (attitude_ == null) { attitude_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(attitude_); break; } case 42: case 41: { pvaCovar_.AddEntriesFrom(input, _repeated_pvaCovar_codec); break; } case 48: { InitAndAlignment = input.ReadBool(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } input.ReadMessage(header_); break; } case 16: { measureType_ = (global::Apollo.Localization.IntegMeasure.Types.MeasureType)input.ReadEnum(); break; } case 24: { frameType_ = (global::Apollo.Localization.IntegMeasure.Types.FrameType)input.ReadEnum(); break; } case 34: { if (position_ == null) { position_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(position_); break; } case 42: { if (velocity_ == null) { velocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(velocity_); break; } case 49: { Yaw = input.ReadDouble(); break; } case 56: { ZoneId = input.ReadInt32(); break; } case 64: { IsHaveVariance = input.ReadBool(); break; } case 72: { IsGnssDoubleAntenna = input.ReadBool(); break; } case 82: case 81: { measureCovar_.AddEntriesFrom(input, _repeated_measureCovar_codec); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (header_ == null) { header_ = new global::Apollo.Common.Header(); } input.ReadMessage(header_); break; } case 17: { MeasurementTime = input.ReadDouble(); break; } case 24: { type_ = (global::Apollo.Drivers.Gnss.Ins.Types.Type)input.ReadEnum(); break; } case 34: { if (position_ == null) { position_ = new global::Apollo.Common.PointLLH(); } input.ReadMessage(position_); break; } case 42: { if (eulerAngles_ == null) { eulerAngles_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(eulerAngles_); break; } case 50: { if (linearVelocity_ == null) { linearVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearVelocity_); break; } case 58: { if (angularVelocity_ == null) { angularVelocity_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(angularVelocity_); break; } case 66: { if (linearAcceleration_ == null) { linearAcceleration_ = new global::Apollo.Common.Point3D(); } input.ReadMessage(linearAcceleration_); break; } case 74: case 77: { positionCovariance_.AddEntriesFrom(input, _repeated_positionCovariance_codec); break; } case 82: case 85: { eulerAnglesCovariance_.AddEntriesFrom(input, _repeated_eulerAnglesCovariance_codec); break; } case 90: case 93: { linearVelocityCovariance_.AddEntriesFrom(input, _repeated_linearVelocityCovariance_codec); break; } case 98: case 101: { angularVelocityCovariance_.AddEntriesFrom(input, _repeated_angularVelocityCovariance_codec); break; } case 106: case 109: { linearAccelerationCovariance_.AddEntriesFrom(input, _repeated_linearAccelerationCovariance_codec); break; } } } }