示例#1
0
        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: {
                    action_ = (global::Apollo.Planning.DrivingAction)input.ReadEnum();
                    break;
                }
                }
            }
        }
示例#2
0
        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: {
                    InsStatus = input.ReadUInt32();
                    break;
                }

                case 24: {
                    PosType = input.ReadUInt32();
                    break;
                }
                }
            }
        }
示例#3
0
        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: {
                    type_ = (global::Apollo.Drivers.Gnss.InsStatus.Types.Type)input.ReadEnum();
                    break;
                }
                }
            }
        }
示例#4
0
 public void MergeFrom(IntersectionTrafficLightData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.currentLaneTrafficlight_ != null)
     {
         if (currentLaneTrafficlight_ == null)
         {
             currentLaneTrafficlight_ = new global::Apollo.V2X.CurrentLaneTrafficLight();
         }
         CurrentLaneTrafficlight.MergeFrom(other.CurrentLaneTrafficlight);
     }
     if (other.IntersectionId != 0)
     {
         IntersectionId = other.IntersectionId;
     }
 }
示例#5
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    Integer = input.ReadInt32();
                    break;
                }

                case 18: {
                    Text = input.ReadString();
                    break;
                }

                case 26: {
                    if (header_ == null)
                    {
                        header_ = new global::Apollo.Common.Header();
                    }
                    input.ReadMessage(header_);
                    break;
                }
                }
            }
        }
示例#6
0
 public void MergeFrom(LocalizationStatus other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.FusionStatus != 0)
     {
         FusionStatus = other.FusionStatus;
     }
     if (other.GnssStatus != 0)
     {
         GnssStatus = other.GnssStatus;
     }
     if (other.LidarStatus != 0)
     {
         LidarStatus = other.LidarStatus;
     }
     if (other.MeasurementTime != 0D)
     {
         MeasurementTime = other.MeasurementTime;
     }
     if (other.StateMessage.Length != 0)
     {
         StateMessage = other.StateMessage;
     }
 }
示例#7
0
 public void MergeFrom(CompressedImage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.FrameId.Length != 0)
     {
         FrameId = other.FrameId;
     }
     if (other.Format.Length != 0)
     {
         Format = other.Format;
     }
     if (other.Data.Length != 0)
     {
         Data = other.Data;
     }
     if (other.MeasurementTime != 0D)
     {
         MeasurementTime = other.MeasurementTime;
     }
 }
示例#8
0
        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:
                case 21: {
                    ranges_.AddEntriesFrom(input, _repeated_ranges_codec);
                    break;
                }
                }
            }
        }
示例#9
0
 public void MergeFrom(SystemStatus other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     hmiModules_.Add(other.hmiModules_);
     components_.Add(other.components_);
     if (other.PassengerMsg.Length != 0)
     {
         PassengerMsg = other.PassengerMsg;
     }
     if (other.SafetyModeTriggerTime != 0D)
     {
         SafetyModeTriggerTime = other.SafetyModeTriggerTime;
     }
     if (other.RequireEmergencyStop != false)
     {
         RequireEmergencyStop = other.RequireEmergencyStop;
     }
     if (other.IsRealtimeInSimulation != false)
     {
         IsRealtimeInSimulation = other.IsRealtimeInSimulation;
     }
 }
示例#10
0
 public void MergeFrom(GnssStatus other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.SolutionCompleted != false)
     {
         SolutionCompleted = other.SolutionCompleted;
     }
     if (other.SolutionStatus != 0)
     {
         SolutionStatus = other.SolutionStatus;
     }
     if (other.PositionType != 0)
     {
         PositionType = other.PositionType;
     }
     if (other.NumSats != 0)
     {
         NumSats = other.NumSats;
     }
 }
示例#11
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    radarObstacle_.AddEntriesFrom(input, _map_radarObstacle_codec);
                    break;
                }

                case 18: {
                    if (header_ == null)
                    {
                        header_ = new global::Apollo.Common.Header();
                    }
                    input.ReadMessage(header_);
                    break;
                }

                case 24: {
                    errorCode_ = (global::Apollo.Common.ErrorCode)input.ReadEnum();
                    break;
                }
                }
            }
        }
示例#12
0
 public void MergeFrom(StreamStatus other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.InsStreamType != 0)
     {
         InsStreamType = other.InsStreamType;
     }
     if (other.RtkStreamInType != 0)
     {
         RtkStreamInType = other.RtkStreamInType;
     }
     if (other.RtkStreamOutType != 0)
     {
         RtkStreamOutType = other.RtkStreamOutType;
     }
 }
示例#13
0
 public void MergeFrom(TransformStamped other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.ChildFrameId.Length != 0)
     {
         ChildFrameId = other.ChildFrameId;
     }
     if (other.transform_ != null)
     {
         if (transform_ == null)
         {
             transform_ = new global::Apollo.Transform.Transform();
         }
         Transform.MergeFrom(other.Transform);
     }
 }
示例#14
0
        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 (localization_ == null)
                    {
                        localization_ = new global::Apollo.Localization.Pose();
                    }
                    input.ReadMessage(localization_);
                    break;
                }
                }
            }
        }
示例#15
0
 public void MergeFrom(DriveEvent other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.Event.Length != 0)
     {
         Event = other.Event;
     }
     if (other.location_ != null)
     {
         if (location_ == null)
         {
             location_ = new global::Apollo.Localization.Pose();
         }
         Location.MergeFrom(other.Location);
     }
     type_.Add(other.type_);
 }
示例#16
0
 public void MergeFrom(VelodyneScan other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.Model != 0)
     {
         Model = other.Model;
     }
     if (other.Mode != 0)
     {
         Mode = other.Mode;
     }
     firingPkts_.Add(other.firingPkts_);
     positioningPkts_.Add(other.positioningPkts_);
     if (other.Sn.Length != 0)
     {
         Sn = other.Sn;
     }
     if (other.Basetime != 0UL)
     {
         Basetime = other.Basetime;
     }
 }
示例#17
0
        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: {
                    FrameId = input.ReadString();
                    break;
                }

                case 25: {
                    MeasurementTime = input.ReadDouble();
                    break;
                }

                case 32: {
                    Height = input.ReadUInt32();
                    break;
                }

                case 40: {
                    Width = input.ReadUInt32();
                    break;
                }

                case 50: {
                    Encoding = input.ReadString();
                    break;
                }

                case 56: {
                    Step = input.ReadUInt32();
                    break;
                }

                case 66: {
                    Data = input.ReadBytes();
                    break;
                }
                }
            }
        }
示例#18
0
        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: {
                    Id = input.ReadUInt32();
                    break;
                }

                case 26: {
                    Label = input.ReadString();
                    break;
                }

                case 33: {
                    Score = input.ReadDouble();
                    break;
                }

                case 42: {
                    if (bbox_ == null)
                    {
                        bbox_ = new global::Apollo.Common.BoundingBox3D();
                    }
                    input.ReadMessage(bbox_);
                    break;
                }

                case 50: {
                    if (velocity_ == null)
                    {
                        velocity_ = new global::Apollo.Common.Twist();
                    }
                    input.ReadMessage(velocity_);
                    break;
                }
                }
            }
        }
示例#19
0
 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_);
 }
示例#20
0
        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 (hdmap_ == null)
                    {
                        hdmap_ = new global::Apollo.Hdmap.Map();
                    }
                    input.ReadMessage(hdmap_);
                    break;
                }

                case 26: {
                    navigationPath_.AddEntriesFrom(input, _map_navigationPath_codec);
                    break;
                }

                case 34: {
                    if (laneMarker_ == null)
                    {
                        laneMarker_ = new global::Apollo.Perception.LaneMarkers();
                    }
                    input.ReadMessage(laneMarker_);
                    break;
                }

                case 42: {
                    if (localization_ == null)
                    {
                        localization_ = new global::Apollo.Localization.LocalizationEstimate();
                    }
                    input.ReadMessage(localization_);
                    break;
                }
                }
            }
        }
示例#21
0
        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: {
                    model_ = (global::Apollo.Drivers.Velodyne.Model)input.ReadEnum();
                    break;
                }

                case 24: {
                    mode_ = (global::Apollo.Drivers.Velodyne.Mode)input.ReadEnum();
                    break;
                }

                case 34: {
                    firingPkts_.AddEntriesFrom(input, _repeated_firingPkts_codec);
                    break;
                }

                case 42: {
                    positioningPkts_.AddEntriesFrom(input, _repeated_positioningPkts_codec);
                    break;
                }

                case 50: {
                    Sn = input.ReadString();
                    break;
                }

                case 56: {
                    Basetime = input.ReadUInt64();
                    break;
                }
                }
            }
        }
示例#22
0
        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: {
                    FrameId = input.ReadString();
                    break;
                }

                case 24: {
                    IsDense = input.ReadBool();
                    break;
                }

                case 34: {
                    point_.AddEntriesFrom(input, _repeated_point_codec);
                    break;
                }

                case 41: {
                    MeasurementTime = input.ReadDouble();
                    break;
                }

                case 48: {
                    Width = input.ReadUInt32();
                    break;
                }

                case 56: {
                    Height = input.ReadUInt32();
                    break;
                }
                }
            }
        }
示例#23
0
        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 34: {
                    PassengerMsg = input.ReadString();
                    break;
                }

                case 41: {
                    SafetyModeTriggerTime = input.ReadDouble();
                    break;
                }

                case 48: {
                    RequireEmergencyStop = input.ReadBool();
                    break;
                }

                case 58: {
                    hmiModules_.AddEntriesFrom(input, _map_hmiModules_codec);
                    break;
                }

                case 66: {
                    components_.AddEntriesFrom(input, _map_components_codec);
                    break;
                }

                case 72: {
                    IsRealtimeInSimulation = input.ReadBool();
                    break;
                }
                }
            }
        }
示例#24
0
 public void MergeFrom(LocalizationEstimate other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     if (other.pose_ != null)
     {
         if (pose_ == null)
         {
             pose_ = new global::Apollo.Localization.Pose();
         }
         Pose.MergeFrom(other.Pose);
     }
     if (other.uncertainty_ != null)
     {
         if (uncertainty_ == null)
         {
             uncertainty_ = new global::Apollo.Localization.Uncertainty();
         }
         Uncertainty.MergeFrom(other.Uncertainty);
     }
     if (other.MeasurementTime != 0D)
     {
         MeasurementTime = other.MeasurementTime;
     }
     trajectoryPoint_.Add(other.trajectoryPoint_);
     if (other.msfStatus_ != null)
     {
         if (msfStatus_ == null)
         {
             msfStatus_ = new global::Apollo.Localization.MsfStatus();
         }
         MsfStatus.MergeFrom(other.MsfStatus);
     }
     if (other.sensorStatus_ != null)
     {
         if (sensorStatus_ == null)
         {
             sensorStatus_ = new global::Apollo.Localization.MsfSensorMsgStatus();
         }
         SensorStatus.MergeFrom(other.SensorStatus);
     }
 }
示例#25
0
        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;
                }
                }
            }
        }
示例#26
0
        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: {
                    fusionStatus_ = (global::Apollo.Localization.MeasureState)input.ReadEnum();
                    break;
                }

                case 24: {
                    gnssStatus_ = (global::Apollo.Localization.MeasureState)input.ReadEnum();
                    break;
                }

                case 32: {
                    lidarStatus_ = (global::Apollo.Localization.MeasureState)input.ReadEnum();
                    break;
                }

                case 41: {
                    MeasurementTime = input.ReadDouble();
                    break;
                }

                case 50: {
                    StateMessage = input.ReadString();
                    break;
                }
                }
            }
        }
示例#27
0
 public void MergeFrom(NavigationInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     navigationPath_.Add(other.navigationPath_);
 }
示例#28
0
 public void MergeFrom(MonitorMessage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     item_.Add(other.item_);
 }
示例#29
0
 public void MergeFrom(Detection3DArray other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     detections_.Add(other.detections_);
 }
示例#30
0
 public void MergeFrom(Ultrasonic other)
 {
     if (other == null)
     {
         return;
     }
     if (other.header_ != null)
     {
         if (header_ == null)
         {
             header_ = new global::Apollo.Common.Header();
         }
         Header.MergeFrom(other.Header);
     }
     ranges_.Add(other.ranges_);
 }