Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
19ba9213
Commit
19ba9213
authored
Jan 12, 2015
by
berge
Browse files
Merged revision(s) 1050-1081 from branches/STF484_VALIDATION
parent
64925c67
Changes
21
Hide whitespace changes
Inline
Side-by-side
asn1/MAP_SPAT/
MAP_SPAT
.asn
→
asn1/MAP_SPAT/
DSRC_REG_D
.asn
View file @
19ba9213
-- ############################################################################
-- ############################################################################
--
-- This is the ASN.1 definition used in the J2735 ballot of Nov 04th 2014.
-- It includes the messages SPAT, MapData and the related data frames and
-- data elements for usage within European region.
--
-- The definiton of the ASN.1 included in this document is identified by
-- the Version: 1.0.
-- The element "msgSubID" in the messages MapData and SPAT are used for
-- identification of the ASN.1 definition for Region D (e.g. Europe) and are
-- set to the integer value = 1.
--
-- The data elements of the messages SPAT and MapData are harmonized
-- with the data elements from the data dictionary ETSI TS 102 894-2 V1.1.15.
--
-- The message set for SPAT and MapData has been harmonized for usage in
-- diffrerent international regions. Some data elements include regional
-- enhancements. If no enhancement is defined, the regional ASN.1 extension
-- points to an empty data element of the Module "REGION".
-- If regional enhancements are defined the regional ASN.1 extension points
-- to a data element of the specific region. For Europe the ASN.1 extensions
-- are defined in the module REG-D.
DSRC DEFINITIONS AUTOMATIC TAGS::= BEGIN
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- ############################################################################
-- ############################################################################
-- ############################################################################
-- ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
--
-- Start of entries from table Dialogs...
-- This table typicaly contains dialog and operational exchange entries.
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- Begin module: DSRC
--
-- ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
-- ############################################################################
DSRC DEFINITIONS AUTOMATIC TAGS::= BEGIN
-- Table contains no entries.
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- =============================================================================
--
-- Start of entries from table Messages...
-- This table typicaly contains message entries.
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- Imports from Modules:
-- ITS-Container: ETSI common Data Dictionary
-- REGION: Generic or empty regional data elements.
-- RED_D: Region D extension (e.g Europe).
--
-- =============================================================================
IMPORTS
Latitude, Longitude, SpeedConfidence
FROM ITS-Container
Reg-AdvisorySpeed,Reg-ComputedLane, Reg-GenericLane, Reg-Intersection,
Reg-LaneAttributes, Reg-LaneDataAttribute,
Reg-MovementEvent, Reg-MovementState, Reg-NodeAttribute,
Reg-NodeOffsetPoint, Reg-RoadSegment, Reg-SignalControlZone, Reg-SPAT
FROM REGION
IMPORTS Longitude, Latitude FROM ITS-Container
Reg-AdvisorySpeed, Reg-ComputedLane, Reg-ConnectionManeuverAssist, Reg-GenericLane,
Reg-Intersection, Reg-IntersectionState, Reg-LaneAttributes, Reg-LaneDataAttribute, Reg-MapData,
Reg-MovementEvent, Reg-MovementState, Reg-NodeAttribute, Reg-NodeOffsetPoint,
Reg-Position3D, Reg-RestrictionUserType, Reg-RoadSegment, Reg-SignalControlZone, Reg-SPAT FROM EU;
Reg-MapData, Reg-ConnectionManeuverAssist, Reg-IntersectionState,
Reg-Position3D, Reg-RestrictionUserType
FROM REG-D;
-- MSG_MapData (MAP) (Desc Name) Record 1
MapData ::= SEQUENCE {
-- =============================================================================
-- MSG_MapData (MAP) (Desc Name) Record 6
--
-- Region D: different usage of the following elements within Europe:
--
-- msgSubID: Set to integer 1 for identification of this actual ASN.1 definition
-- of the MapData message.
--
-- layerType: Based on the value of the "LayerType" the topological description
-- for "intersection" or "roadSegments" is used. The usage of both
-- "intersection" and "roadSegments" are not forseen in Europe.
--
-- msgIssueRevision: Not used in Region D (e.g. Europe)
--
-- layerID: Used for logical fragmentation of MapData
--
-- dataParameters: Not used in Region D (e.g. Europe)
--
-- crc: not used in Region D (e.g. in Europe)
--
MapData ::= SEQUENCE {
msgID DSRCmsgID2,
msgSubID DSRCmsgSubID OPTIONAL,
msgIssueRevision MsgCount,
msgSubID DSRCmsgSubID OPTIONAL,
-- Region D: Version of ASN.1 definition
msgIssueRevision MsgCount,
-- Region D: msgIssueRevision
-- is not used Region D (e.g. Europe)
layerType LayerType OPTIONAL,
layerID LayerID OPTIONAL,
intersections IntersectionGeometryList OPTIONAL,
-- All Intersection definitions
...
...
@@ -41,83 +105,104 @@ MapData ::= SEQUENCE {
-- All roadway descriptions
dataParameters DataParameters OPTIONAL,
-- Any meta data regarding the map contents
-- Region D: dataParameters
-- is not used in Region D (e.g. Europe)
restrictionList RestrictionClassList OPTIONAL,
-- Any restriction ID tables which have
-- established for these map entries
-- established for these map entries.
regional RegionalMapData OPTIONAL,
-- regional extensions
-- regional extensions.
crc MsgCRC OPTIONAL,
-- The crc may be provided by other layers
-- and when encoding in UPER is not to be used
-- Region D: crc
-- is not used in Region D (e.g. Europe)
... -- # LOCAL_CONTENT
}
-- MSG_SignalPhaseAndTiming Message (SPAT) (Desc Name) Record 2
SpatData ::= SEQUENCE {
-- =============================================================================
-- MSG_SignalPhaseAndTiming Message (SPAT) (Desc Name) Record 14
--
-- Region D: different usage of the following elements within Europe:
--
-- msgSubID: Set to integer 1 for identification of this actual ASN.1 definition
-- of the SPAT message.
--
SPAT ::= SEQUENCE {
msgID DSRCmsgID2,
msgSubID DSRCmsgSubID OPTIONAL,
msgSubID DSRCmsgSubID OPTIONAL,
-- Region D: Version of ASN.1 definition
name DescriptiveName OPTIONAL,
-- human readable name for this collection
-- to be used only in debug mode
intersections IntersectionStateList,
-- sets of SPAT data (one per intersection)
-- If PrioritizationResponse data is required, it is found
-- in the RegionalSPAT entry below
regional RegionalSPAT OPTIONAL, -- regional extensions
... -- # LOCAL_CONTENT
}
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
--
-- Start of entries from table Data_Frames...
-- This table
typicaly
contains data frame entries.
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
--
-- DF_AdvisorySpeed (Desc Name) Record
1
-- This table contains data frame entries.
-- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-_-_-_-_-_-_-_-_-_-_
-- ============================================================================
-- DF_AdvisorySpeed (Desc Name) Record
3
AdvisorySpeed ::= SEQUENCE {
type AdvisorySpeedType,
-- the type of advisory which this is.
speed SpeedAdvice,
-- the speed in units of 0.1 m/s
-- when expressed in MPH this shall be rounded
-- to the closest integer value
-- optional use only when a regional speed is provided
-- Fritz: This is in conflict to the ETSI DCC
-- Fritz: A change request is ongoing at SAE balloting process
-- confidence SpeedConfidence OPTIONAL,
confidence SpeedAdviceConfidence OPTIONAL,
speed SpeedAdvice OPTIONAL,
-- See Remarks under the SpeedAdvice entry for
-- converting and transmitting a speed expressed
-- in MPH to units of 0.1 m/s
-- This element is optional ONLY when superceded
-- by the presence of a regional speed element found in
-- RegionalAdvisorySpeed
confidence SpeedConfidence OPTIONAL,
-- A confidence value for the above speed
distance ZoneLength OPTIONAL,
-- Unit = 1 meter, 0 = no queue
-- The distance from the stop-line for above speed
-- Unit = 1 meter,
-- The distance indicates the region for which the advised speed
-- is recommended, it is specified upstream from the stop bar
-- along the connected egressing lane
class RestrictionClassID OPTIONAL,
-- the vehicle types to which it applies
-- when absent, the AdvisorySpeed applies to
-- all motor vehicle types
regional RegionalAdvisorySpeed OPTIONAL,
-- regional extensions
...
}
-- DF_AdvisorySpeedList (Desc Name) Record 1=1
AdvisorySpeedList ::= SEQUENCE (SIZE(1..16)) OF AdvisorySpeed
-- DF_ApproachGroup (Desc Name) Record 2
ApproachGroup ::= SEQUENCE {
ingres ApproachID,
egress ApproachID
}
-- The value zero to be used when no valid value is available
-- =============================================================================
-- DF_AdvisorySpeedList (Desc Name) Record 4
AdvisorySpeedList ::= SEQUENCE (SIZE(1..16)) OF AdvisorySpeed
-- DF_ComputedLane (Desc Name) Record 3
-- =============================================================================
-- DF_ComputedLane CHANGED (Desc Name) Record 10
ComputedLane ::= SEQUENCE {
-- Data needed to created a computed lane
referenceLaneId LaneID,
-- the lane ID upon which this
-- computed lane will be based
-- Lane Offset in X and Y direction
offsetXaxis CHOICE {
small DrivenLineOffsetSm,
...
...
@@ -138,6 +223,7 @@ ComputedLane ::= SEQUENCE {
-- A path rotation value for the entire lane
-- Observe that this rotates the existing orientation
-- of the referenced lane, it does not replace it.
-- Lane Path Scale (zooming)
scaleXaxis Scale-B12 OPTIONAL,
scaleYaxis Scale-B12 OPTIONAL,
...
...
@@ -151,38 +237,46 @@ ComputedLane ::= SEQUENCE {
-- regional extensions
...
}
-- DF_ConnectingLane (Desc Name) Record 4
-- =============================================================================
-- DF_ConnectingLane (Desc Name) Record 12
ConnectingLane ::= SEQUENCE {
lane LaneID,
--
i
ndex of the connecting lane
lane LaneID, --
I
ndex of the connecting lane
maneuver AllowedManeuvers OPTIONAL
-- the Maneuver between between
--
t
he
enclosing lane and this lan
e
-- at the stop line to connect them
-- Region D: Not Used in Europe
--
T
he
information within "maneuver" is not precis
e
-- Use "connectsTo" for maneuver description
}
-- DF_Connection (Desc Name) Record 5
Connection ::= SEQUENCE {
-- =============================================================================
-- DF_Connection (Desc Name) Record 13
Connection ::= SEQUENCE {
-- The subject lane connecting to this lane is:
connectingLane ConnectingLane,
-- The index of the connecting lane and also
-- the maneuver from the current lane to it
remoteIntersection IntersectionReferenceID OPTIONAL,
-- This entry is only used when the
-- indicated connecting lane belongs
-- to another intersection layout. This
-- provides a means to create meshes of lanes
-- SPAT mapping details at the stop line are:
signalGroup SignalGroupID OPTIONAL,
-- The matching signal group send by
-- the SPAT message for this lane/maneuver
-- Shall be present unless the connectingLane
-- has not signal group (is un-signalized)
userClass RestrictionClassID OPTIONAL,
-- The Restriction Class of users this applies to
-- The use of some lane/maneuver and SignalGroupID
-- pairings are restricted to selected users
-- when absent, the SignalGroupID applies to all
-- Movement assist details are given by:
connectionID LaneConnectionID OPTIONAL
-- An optional connection index used to
...
...
@@ -191,51 +285,64 @@ Connection ::= SEQUENCE {
-- the index may be shared with other
-- connections if the clearance data is common
}
-- DF_ConnectionManeuverAssist (Desc Name) Record 6
ConnectionManeuverAssist ::= SEQUENCE {
-- =============================================================================
-- DF_ConnectionManeuverAssist (Desc Name) Record 14
ConnectionManeuverAssist ::= SEQUENCE {
connectionID LaneConnectionID,
-- the common connectionID used by all lanes to which
-- this data applies
-- (this value traces to ConnectsTo entries in lanes)
-- Expected Clearance Information
queueLength ZoneLength OPTIONAL,
-- Unit = 1 meter, 0 = no queue
-- The current tail of the queue as measured from
-- the stop-line along the lane center line
-- The distance from the stop line to the back
-- edge of the last vehicle in the queue,
-- as measured along the lane center line.
availableStorageLength ZoneLength OPTIONAL,
-- Unit = 1 meter, 0 = no queue
-- Area (e.g. beginning from the stop-line up to a
-- given distance against traffic flow direction)
-- with high probability for successfully executing
-- the connection maneuver between the two lanes.
-- Unit = 1 meter, 0 = no space remains
-- Distance (e.g. beginning from the downstream
-- stop-line up to a given distance) with a high
-- probability for successfully executing the
-- connection maneuver between the two lanes
-- during the current cycle.
-- Used for enhancing the awareness of vehicles
-- to anticipate if they can pass the stop line
-- of the lane. Used for optimizing the green wave,
-- due to knowledge of vehicles waiting in front
-- of a red light (downstream)
-- of a red light (downstream)
.
-- The element nextTime in TimeChangeDetails
-- in the containing data frame contains the next
-- timemark at which an active phase is expected,
-- a form of storage flush interval
-- a form of storage flush interval.
waitOnStop WaitOnStopline OPTIONAL,
-- If "true", the vehicles on this specific connecting
-- maneuver have to stop on the stop-line and not
-- to enter the collision area
pedBicycleDetect PedestrianBicycleDetect OPTIONAL,
-- true if ANY ped or bicycles are detected crossing
-- the above lanes. Set to false ONLY i
s
there is a
-- the above lanes. Set to false ONLY i
f
there is a
-- high certainty that there are none present,
-- else element is not sent.
-- otherwise element is not sent.
regional RegionalConnectionManeuverAssist OPTIONAL,
-- regional extensions
... -- # LOCAL_CONTENT
}
-- =============================================================================
-- DF_ConnectsToList (Desc Name) Record 15
ConnectsToList ::= SEQUENCE (SIZE(1..16)) OF Connection
-- DF_ConnectsToList (Desc Name) Record 7
ConnectsToList ::= SEQUENCE (SIZE(1..16)) OF Connection
-- DF_DataParameters (Desc Name) Record 8
-- =============================================================================
-- DF_DataParameters (Desc Name) Record 16
DataParameters ::= SEQUENCE {
processMethod IA5String(SIZE(1..255)) OPTIONAL,
processAgency IA5String(SIZE(1..255)) OPTIONAL,
...
...
@@ -243,24 +350,32 @@ DataParameters ::= SEQUENCE {
geoidUsed IA5String(SIZE(1..255)) OPTIONAL,
... -- # LOCAL_CONTENT
}
-- DF_EnabledLaneList (Desc Name) Record 9
-- =============================================================================
-- DF_EnabledLaneList (Desc Name) Record 23
EnabledLaneList ::= SEQUENCE (SIZE(1..16)) OF LaneID
-- The unique ID numbers for each
-- lane object which is 'active'
-- as part of the dynamic map contents.
-- DF_GenericLane (Desc Name) Record 10
GenericLane ::= SEQUENCE {
-- =============================================================================
-- DF_GenericLane CHANGED (Desc Name) Record 26
GenericLane ::= SEQUENCE {
laneID LaneID,
-- The unique ID number assigned
-- to this lane object
name DescriptiveName OPTIONAL,
-- often for debug use only
-- but at times used to name ped crossings
ingressApproach ApproachID OPTIONAL, -- inbound
egressApproach ApproachID OPTIONAL, -- outbound
-- Approach IDs to which this lane belongs
laneAttributes LaneAttributes,
-- All Attribute information about
-- the basic selected lane type
...
...
@@ -268,96 +383,109 @@ GenericLane ::= SEQUENCE {
-- and Type Specific Attributes
-- These Attributes are 'lane - global' that is,
-- they are true for the entire length of the lane
maneuvers AllowedManeuvers OPTIONAL,
-- the permitted maneuvers for this lane
-- Region D: Not used e.g. in Europe!
-- The information within "maneuvers" is not precise
-- Use the "connectsTo" element for maneuver direction description
nodeList NodeList2,
-- Lane spatial path information as well as
-- various Attribute information along the node path
-- Attributes found here are more general and may
-- come and go over the length of the lane.
connectsTo ConnectsToList OPTIONAL,
-- a list of other lanes and their signal group IDs
-- each connecting lane and its signal group ID
-- is given, therefore this element provides the
-- information formally in "signalGroups" in prior
-- editions.
overlays OverlayLaneList OPTIONAL,
-- A list of any lanes which have spatial paths that
-- overlay (run on top of, and not simply cross)
-- the path of this lane when used
regional RegionalGenericLane OPTIONAL,
-- regional extensions
...
}
-- DF_OverlayLaneList (Desc Name) Record 10-1
OverlayLaneList ::= SEQUENCE (SIZE(1..5)) OF LaneID
-- The unique ID numbers for any lane object which have
-- spatial paths that overlay (run on top of, and not
-- simply cross with) the current lane.
-- Such as a train path that overlays a motor vehicle
-- lane object for a roadway segment.
-- DF_IntersectionGeometry (Desc Name) Record 11
IntersectionGeometry ::= SEQUENCE {
-- =============================================================================
-- DF_IntersectionGeometry CHANGED (Desc Name) Record 28
IntersectionGeometry ::= SEQUENCE {
name DescriptiveName OPTIONAL,
-- For debug use only
id IntersectionReferenceID,
-- A globally unique value set,
-- consisting of a regionID and
-- intersection ID assignment
revision MsgCount,
revision MsgCount,
-- Region D:
-- The actual valid revision of the intersection geometry.
-- The revision Remains the if geometry is not changed.
-- The revision of the geometry is related to the revision of
-- the intersection state (see "DF_IntersectionState").
-- Required default values about lane descriptions follow
refPoint Position3D-2, -- The reference from which subsequent
-- data points are offset until a new
-- point is used.
laneWidth LaneWidth OPTIONAL,
-- Reference width used by all subsequent
-- lanes unless a new width is given
-- lanes unless a new width is given.
speedLimits SpeedLimitList OPTIONAL,
-- Reference regulatory speed limits
-- used by all subsequent
-- lanes unless a new speed is given
-- See Remarks under the SpeedAdvice entry
-- for converting and transmitting a speed
-- expressed in MPH to units of 0.1 m/s
-- Complete details regarding each lane type in this intersection
laneSet LaneList, -- Data about one or more lanes
-- (all lane data is found here)
-- Data describing how to use and request preemption and
-- priority services from this intersection (if supported)
-- NOTE Additonal data may be added in the next release of the
-- standard at this point to handle this concept
preemptPriorityData PreemptPriorityList OPTIONAL,
-- data about one or more regional
-- preempt or priority zones
-- Region D: preemptPriorityData
-- is not used in Region D (e.g. Europe)
regional RegionalIntersection OPTIONAL,
-- regional message content to be placed here
...
}
-- DF_IntersectionGeometryList (Desc Name) Record 11-2
IntersectionGeometryList ::= SEQUENCE (SIZE(1..32)) OF IntersectionGeometry
-- DF_PreemptPriorityList (Desc Name) Record 11-3
PreemptPriorityList ::= SEQUENCE (SIZE(1..32)) OF RegionalSignalControlZone
-- =============================================================================
-- DF_IntersectionGeometryList (Desc Name) Record 29
IntersectionGeometryList ::= SEQUENCE (SIZE(1..32)) OF IntersectionGeometry
-- DF_IntersectionReferenceID (Desc Name) Record 11-4
IntersectionReferenceID ::= SEQUENCE {
region RegionalID OPTIONAL,
-- =============================================================================
-- DF_IntersectionReferenceID CHANGED (Desc Name) Record 30
IntersectionReferenceID ::= SEQUENCE {
region RoadRegulatorID OPTIONAL,
-- a globally unique regional assignment value
-- typical assigned to a regional DOT authority
-- the value zero shall be used for testing needs
id IntersectionID
-- a unique mapping to the intersection
-- in question within the above region of use
}
-- DF_IntersectionState (Desc Name) Record 12
IntersectionState ::= SEQUENCE {
-- =============================================================================
-- DF_IntersectionState CHANGED (Desc Name) Record 31
IntersectionState ::= SEQUENCE {
name DescriptiveName OPTIONAL,
-- human readable name for intersection
-- to be used only in debug mode
-- to be used only in debug mode.
id IntersectionReferenceID,
-- A globally unique value set, consisting of a
-- regionID and intersection ID assignment
...
...
@@ -365,29 +493,38 @@ IntersectionState ::= SEQUENCE {
-- intersection MAP in question
-- which provides complete location
-- and approach/move/lane data
revision MsgCount,
status IntersectionStatusObject,
-- general status of the controller(s)
moy MinuteOfTheYear OPTIONAL,
-- Minute of current UTC year
-- used only with messages to be archived
timeStamp DSecond2 OPTIONAL,
-- the mSec point in the current UTC minute that
-- this message was constructed
enabledLanes EnabledLaneList OPTIONAL,
-- a list of lanes where the RevocableLane bit
-- has been set which are now active and
-- therefore part of the current intersection
states MovementList,
-- Each Movement is given in turn
-- and contains its signal phase state,
-- mapping to the lanes it applies to, and
-- point in time it will end, and it
-- may contain both active and future states
maneuverAssistList ManeuverAssistList OPTIONAL,
-- Assist data
priority SignalControlState OPTIONAL,
-- the active priority state data, if present
preempt SignalControlState OPTIONAL,
-- the active preemption state data, if present
...
...
@@ -396,13 +533,14 @@ IntersectionState ::= SEQUENCE {
...
}
-- DF_IntersectionStateList (Desc Name) Record 12-2
IntersectionStateList ::= SEQUENCE (SIZE(1..32)) OF IntersectionState
-- =============================================================================
-- DF_IntersectionStateList (Desc Name) Record 32
IntersectionStateList ::= SEQUENCE (SIZE(1..32)) OF IntersectionState
-- DE_DSecond2 (Desc Name) Record 12-3
DSecond2 ::= INTEGER (0..65535) -- units of miliseconds
-- DF_LaneAttributes (Desc Name) Record 13
-- =============================================================================
-- DF_LaneAttributes (Desc Name) Record 34
LaneAttributes ::= SEQUENCE {
directionalUse LaneDirection, -- directions of lane use
sharedWith LaneSharing, -- co-users of the lane path
...
...
@@ -410,88 +548,125 @@ LaneAttributes ::= SEQUENCE {
regional RegionalLaneAttributes OPTIONAL