Commit ef09e0f3 authored by Yann Garcia's avatar Yann Garcia
Browse files

Remove duplicated ETSI_ITS_CDD templates

parent c51f6b09
Loading
Loading
Loading
Loading
+5 −33
Original line number Diff line number Diff line
@@ -320,42 +320,14 @@ module LibItsDenm_Templates {
        ) := {
            latitude := p_latitude,
            longitude := p_longitude,
            positionConfidenceEllipse := m_posConfidenceEllipse,
            positionConfidenceEllipse := m_pos_confidence_ellipse(
                                                                  LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_,
                                                                  LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_,
                                                                  LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_
                                                                  ),
            altitude := m_altitude
        }
        
        /**
         * @desc    Send template for the position confidence
         * @param   p_semiMajorConfidence   The major confidence (Default: 1cm)
         * @param   p_semiMinorConfidence   The minor confidence (Default: 1cm)
         * @param   p_semiMajorOrientation  The major orientation (Default: HeadingValue_wgs84North)
         */
        template (value) PosConfidenceEllipse m_posConfidenceEllipse(
            template (value) SemiAxisLength p_semiMajorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_,
            template (value) SemiAxisLength p_semiMinorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_,
            template (value) HeadingValue p_semiMajorOrientation := LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_
        ) := {
            semiMajorConfidence := p_semiMajorConfidence,
            semiMinorConfidence := p_semiMinorConfidence,
            semiMajorOrientation := p_semiMajorOrientation
        }
        
        /**
         * @desc    Send template for the position confidence
         * @param   p_semiMajorAxisLength   The half of length of the major axis
         * @param   p_semiMinorAxisLength   The half of length of the minor axis
         * @param   p_semiMajorAxisOrientation  The orientation direction of the ellipse major axis of the position accuracy ellipse with regards to the WGS84 north
         */
        template (value) PositionConfidenceEllipse m_positionConfidenceEllipse(
            template (value) SemiAxisLength p_semiMajorAxisLength := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_,
            template (value) SemiAxisLength p_semiMinorAxisLength := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_,
            template (value) Wgs84AngleValue p_semiMajorAxisOrientation := LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_
        ) := {
            semiMajorAxisLength := p_semiMajorAxisLength,
            semiMinorAxisLength := p_semiMinorAxisLength,
            semiMajorAxisOrientation := p_semiMajorAxisOrientation
        }

    } // end positionTemplates
    
    group decentralizedEnvironmentalNotificationMessageTemplates {