/** * @author ETSI / STF405 * @version $URL$ * $Id$ * @desc Module containing base template definitions for CAM * */ 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 p_camMsg) := { msgIn := p_camMsg }; template CamReq m_camReq (in template CoopAwareness p_camMsg) := { msgOut := p_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 := * } } }; template CoopAwareness mw_camMsg_basicIRS := { protocolVersion := 0, messageID := 0, generationTime := ?, stationId := ?, referencePosition := { longitude := ?, latitude := ?, elevation := ?, heading := omit, streetName := *, positionConfidence := {stationary := NULL}, elevationConfidence := {stationary := NULL}, roadSegmentID := * }, stationCharacteristics := {false, false, false}, profile := {basicIRS := NULL} }; template CoopAwareness mw_camMsg_emergencyVehicle := { protocolVersion := 0, messageID := 0, generationTime := ?, stationId := ?, referencePosition := ?, stationCharacteristics := {true, false, true}, profile := { emergencyVehicle := { vehicleType := ?, lightBarInUse := *, sireneInUse := *, emergencyResponseType := ?, stationLength := ?, stationLengthConfidence := *, stationWidth := ?, stationWidthConfidence := *, vehicleSpeed := ?, vehicleSpeedConfidence := ?, longAcceleration := ?, accelerationControl := ?, exteriorLights := ?, turnAdvice := *, distanceToStopLine := *, occupancy := *, doorOpen := *, posConfidenceEllipse := ?, curvature := ?, curvatureGradient := *, crashStatus := *, headingConfidence := ?, dangerousGoods := * } } } template CoopAwareness mw_camMsg_publicTransportVehicle := { protocolVersion := 0, messageID := 0, generationTime := ?, stationId := ?, referencePosition := ?, stationCharacteristics := {true, false, true}, profile := { publicTransportVehicle := { vehicleType := ?, publicVehicleType := ?, stationLength := ?, stationLengthConfidence := *, stationWidth := ?, stationWidthConfidence := *, vehicleSpeed := ?, vehicleSpeedConfidence := ?, longAcceleration := ?, accelerationControl := ?, exteriorLights := ?, pTLineDescription := *, turnAdvice := *, distanceToStopLine := *, occupancy := *, scheduleDeviation := *, trafficLightPriority := *, doorOpen := *, posConfidenceEllipse := ?, curvature := ?, curvatureGradient := *, crashStatus := *, headingConfidence := ?, dangerousGoods := * } } } } // end LibItsCam_Templates