Skip to content
Snippets Groups Projects
Commit 9b4e79aa authored by fischer's avatar fischer
Browse files

added CAM TCs

parent 44a7f27c
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,16 @@ module LibItsCam_Functions { ...@@ -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
......
...@@ -7,6 +7,55 @@ ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment