Commit 8052e5a5 authored by garciay's avatar garciay
Browse files

As there is no standard way defined to use ASN.1 named bits in TTCN-3...

As there is no standard way defined to use ASN.1 named bits in TTCN-3 directly, we use const to be compliant with all TTCN-3 tools
parent 5743485a
Loading
Loading
Loading
Loading
+15 −2
Original line number Diff line number Diff line
@@ -15,6 +15,19 @@ module LibItsCam_Templates {
    import from CAM_PDU_Descriptions language "ASN.1:1997" all;
    import from DENM_PDU_Descriptions language "ASN.1:1997" all;
    
	/*
	 * As there is no standard way defined to use ASN.1 named bits in TTCN-3 directly, we use const to be compliant with all TTCN-3 tools
	 */
	group camConst {
		
		/** Turn indication
	 	 */
		const TurnDirection c_turnDirectionRight := '00100000'B; 
		/** Any passenger door
	 	 */
		const DoorOpen c_doorOpen_passenger := '0100'B;
	} // End of group camConst
	
    group camPrimitives {
        
        /**
@@ -330,12 +343,12 @@ module LibItsCam_Templates {
                    yawRateConfidence := 0,
                    exteriorLights := '00000000'B,
                    turnAdvice := {
                        direction := TurnDirection_right_,
                        direction := c_turnDirectionRight,
                        distance := 10
                    },
                    distanceToStopLine := 10,
                    occupancy := 15,
                    doorOpen := DoorOpen_passenger_,
                    doorOpen := c_doorOpen_passenger,
                    posConfidenceEllipse := {
                        semiMajorConfidence := 7,
                        semiMinorConfidence := 8,