Commit 9b4e79aa authored by fischer's avatar fischer
Browse files

added CAM TCs

parent 44a7f27c
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -11,6 +11,16 @@ module LibItsCam_Functions {
    import from LibIts_TestSystem all;
    import from LibIts_TestSystem all;
    import from LibIts_Interface all; 
    import from LibIts_Interface all; 
      
      
    /**
     * @desc 	Initialize the IUT
     * @remark	No specific actions specified in the base standard
     * @param	none
     */    
    function f_initialState() {
        
        //         
    } // end f_ptcCamUp
    
    /**
    /**
     * @desc 	Create Facility component and map CAM port
     * @desc 	Create Facility component and map CAM port
     * @remark	Only used when ItsFa is a PTC
     * @remark	Only used when ItsFa is a PTC
+50 −1
Original line number Original line Diff line number Diff line
@@ -7,6 +7,55 @@
 */
 */
module LibItsCam_Templates {
module LibItsCam_Templates {
    
    
	import from CAM_PDU_Descriptions language "ASN.1:1997" all;
    import from LibIts_Interface all;
    
    
    
    
	template CamInd mw_camInd (in template CoopAwareness camMsg) := { msgIn := camMsg };

	template CamReq mw_camReq (in template CoopAwareness camMsg) := { msgOut := camMsg };
	    
	template CoopAwareness mw_camMsg_any := {
		protocolVersion :=?,
    	messageID := ?,
    	generationTime := ?,
    	stationId := ?,
    	referencePosition := ?,
    	stationCharacteristics := ?,
    	profile := ?
	};
	 
	template CoopAwareness mw_camMsg_basicVehicle := {
		protocolVersion := 0,
		messageID := 0,
		generationTime := ?,
		stationId := ?,
		referencePosition := ?,
		stationCharacteristics := {true, true, true},
		profile := {
			basicVehicle := {
				vehicleType := ?,
				stationLength := ?,
				stationLengthConfidence := *,
				stationWidth := ?,
				stationWidthConfidence := *,
				vehicleSpeed := ?,
				vehicleSpeedConfidence := ?,
				longAcceleration := ?,
				accelerationControl := ?,
				exteriorLights := ?,
				turnAdvice := *,
				distanceToStopLine := *,
				occupancy := *,
				doorOpen := *,
				posConfidenceEllipse := ?,
				curvature := ?,
				curvatureGradient := *,
				crashStatus := *,
				headingConfidence := ?,
				dangerousGoods := *
			}
		}
	}
	 
} // end LibItsCam_Templates
} // end LibItsCam_Templates
 No newline at end of file