ITS-Container.asn 199 KB
Newer Older
tijinkj's avatar
tijinkj committed
-- Draft CDD  ASN.1 module Release 2 (Version 3)
-- Based on the official version available at @https://forge.etsi.org/rep/ITS/asn1/cdd_ts102894_2
-- prepared by Jasja Tijink for ETSI TC ITS WG1 (date 13.01.2022)
-- Note: some descriptions of the data type still need to be harmonized and cleaned up.

Denis Filatov's avatar
Denis Filatov committed
ITS-Container {
tijinkj's avatar
tijinkj committed
itu-t (0) identified-organization (4) etsi (0) itsDomain (5) wg1 (1) ts (102894) cdd (2) version3 (3) 
Denis Filatov's avatar
Denis Filatov committed
}

DEFINITIONS AUTOMATIC TAGS ::=

BEGIN
tijinkj's avatar
tijinkj committed
------------------------------------------
-- Specification of CDD Data Elements: 
------------------------------------------
tijinkj's avatar
tijinkj committed
/** 
 * This DE indicates a change of acceleration.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 * - `accelerate` if the acceleration is positive.
 * - `decelerate` if the acceleration is negative.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category Kinematics information
*/
AccelerationChange::= ENUMERATED { accelerate, decelerate } -- tbd add values and/or extension?
Denis Filatov's avatar
Denis Filatov committed

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE reprents the absolute accuracy of a reported vehicle acceleration value with a  confidence level of 95%. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The value shall be set to:
 * - `1` if the acceleration accuracy is equal to or less than 0,1 m/s2.
 * - `n (n > 1 and n < 100)` if the acceleration accuracy is equal to or less than n × 0,1 m/s2.
 * - `100` if the acceleration accuracy is equal to or less than 10 m/s2.
 * - `101` if the acceleration accuracy is out of range i.e. greater than 10 m/s2.
 * - `102` if the data is unavailable.
Denis Filatov's avatar
Denis Filatov committed
 *
 *
tijinkj's avatar
tijinkj committed
 * @note: The fact that an acceleration value is received with confidence set to 'unavailable(102)' can be caused by several reasons, such as:
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * In all 3 cases above, the reported acceleration value may be valid and used by the application.
 * 
 * If an acceleration value is received and its confidence is set to `outOfRange(101)`, it means that the value is not valid and therefore cannot be trusted. Such value is not useful for the application.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @unit 0,1 m/s2
 * @category Kinematics information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
AccelerationConfidence ::= INTEGER {pointOneMeterPerSecSquared(1), outOfRange(101), unavailable(102)} (0 .. 102)
Denis Filatov's avatar
Denis Filatov committed

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates the current controlling mechanism for longitudinal movement of the vehicle.
 * The data may be provided via the in-vehicle network. It indicates whether a specific in-vehicle
 * acceleration control system is engaged or not. Currently, this DE includes the information of the
 * vehicle brake pedal, gas pedal, emergency brake system, collision warning system, adaptive cruise
 * control system, cruise control system and speed limiter system.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The corresponding bit shall be set to 1 under the following conditions:
 * - 0 `brakePedalEngaged`      : Driver is stepping on the brake pedal,
 * - 1 `gasPedalEngaged`        : Driver is stepping on the gas pedal,
 * - 2 `emergencyBrakeEngaged`  : emergency brake system is engaged,
 * - 3 `collisionWarningEngaged`: collision warning system is engaged,
 * - 4 `accEngaged`             : ACC is engaged,
 * - 5 `cruiseControlEngaged`   : cruise control is engaged,
 * - 6 `speedLimiterEngaged`    : speed limiter is engaged.
 * - 7                          : reserved for future use
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * Otherwise (for example when the corresponding system is not available due to non equipped system
 * or information is unavailable), the corresponding bit shall be set to _0_.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @note: The system engagement condition is OEM specific and therefore out of scope of the present document.
 * @category: Kinematics information
 */
AccelerationControl ::= BIT STRING {
    brakePedalEngaged (0),
    gasPedalEngaged (1),
    emergencyBrakeEngaged (2),
    collisionWarningEngaged (3),
    accEngaged (4),
    cruiseControlEngaged (5),
    speedLimiterEngaged (6)
} (SIZE(7))

/** 
 * This DE represents the value of an acceleration component in a defined coordinate system.
 * The DE shall be set to `161` if the information is not available.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @unit 0,1 m/s2
 * @category: Kinematics information
*/
AccelerationValue ::= INTEGER {
    pointOneMeterPerSecSquared       (1),
    minusPointOneMeterPerSecSquared  (-1),
    unavailable                      (161)  
} (-160 .. 161)


/**
 * This DE indicates an access technology.
 *
 * The following values are specified:
 * - `0`: any access technology class (see clause 7 of TS 103 724).
 * - `1`: ITS-G5 access technology class.
 * - `2`: LTE-V2X access technology class.
 * - `3`: NR-V2X access technology class.
 * 
 * @category: Communication information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
AccessTechnologyClass ::= ENUMERATED {
   any(0), 
   itsg5Class(1), 
   ltev2xClass(2), 
   nrv2xClass(3),
   ...
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause code of the @ref CauseCode `accident`.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 * - 0 `unavailable`                        : in case the information on the sub cause of the accident is unavailable,
 * - 1 `multiVehicleAccident`               : in case more than two vehicles are involved in accident,
 * - 2 `heavyAccident`                      : in case the airbag of the vehicle involved in the accident is triggered, 
 *                                            the accident requires important rescue and/or recovery work,
 * - 3 `accidentInvolvingLorry`             : in case the accident involves a lorry,
 * - 4 `accidentInvolvingBus`               : in case the accident involves a bus,
 * - 5 `accidentInvolvingHazardousMaterials`: in case the accident involves hazardous material,
 * - 6 `accidentOnOppositeLane`             : in case the accident happens on opposite lanes,
 * - 7 `unsecuredAccident`                  : in case the accident is not secured,
 * - 8 `assistanceRequested`                : in case rescue and assistance are requested,
 * - 9-255 reserved for future usage. 
 * @category: Traffic information
 */
AccidentSubCauseCode ::= INTEGER {
    unavailable(0),
    multiVehicleAccident(1),
    heavyAccident(2),
    accidentInvolvingLorry(3),
    accidentInvolvingBus(4),
    accidentInvolvingHazardousMaterials(5),
    accidentOnOppositeLane(6),
    unsecuredAccident(7),
    assistanceRequested(8)
} (0..255)

/**
 * This DE represents the value of the sub cause code of the @ref CauseCode `adverseWeatherCondition-Adhesion`. 
 * 
 * The sub causes are described as following:
 * - 0 `unavailable`     : in case information on the cause of the low road adhesion is unavailable
 * - 1 `heavyFrostOnRoad`: in case the low road adhesion is due to heavy frost on the road
 * - 2 `fuelOnRoad`      : in case the low road adhesion is due to fuel on the road
 * - 3 `mudOnRoad`       : in case the low road adhesion is due to mud on the road
 * - 4 `snowOnRoad`      : in case the low road adhesion is due to snow on the road
 * - 5 `iceOnRoad`       : in case the low road adhesion is due to ice on the road
 * - 6 `blackIceOnRoad`  : in case the low road adhesion is due to black ice on the road
 * - 7 `oilOnRoad`       : in case the low road adhesion is due to oil on the road
 * - 8 `looseChippings`  : in case the low road adhesion is due to loose gravel or stone fragments detached from a road surface or from a hazard
 * - 9 `instantBlackIce` : in case the low road adhesion is due to instant black ice on the road surface
 * - 10 `roadsSalted`    : when the low road adhesion is due to salted road
 * - 11-255 reserved for future usage
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Traffic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
AdverseWeatherCondition-AdhesionSubCauseCode ::= INTEGER {
    unavailable(0),
    heavyFrostOnRoad(1),
    fuelOnRoad(2),
    mudOnRoad(3),
    snowOnRoad(4),
    iceOnRoad(5),
    blackIceOnRoad(6),
    oilOnRoad(7),
    looseChippings(8),
    instantBlackIce(9),
    roadsSalted(10)
} (0..255)
Denis Filatov's avatar
Denis Filatov committed

/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause codes of the @ref CauseCode `adverseWeatherCondition-ExtremeWeatherCondition`.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The sub causes are described as following:
 * - 0 `unavailable` : in case information on the type of extreme weather condition is unavailable
 * - 1 `strongWinds` : in case the type of extreme weather condition is strong wind
 * - 2 `damagingHail`: in case the type of extreme weather condition is damaging hail
 * - 3 `hurricane`   : in case the type of extreme weather condition is hurricane
 * - 4 `thunderstorm`: in case the type of extreme weather condition is thunderstorm
 * - 5 `tornado`     : in case the type of extreme weather condition is tornado
 * - 6 `blizzard`    : in case the type of extreme weather condition is blizzard
 * - 7-255 reserved for future usage
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Traffic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode ::= INTEGER {
    unavailable(0),
    strongWinds(1),
    damagingHail(2),
    hurricane(3),
    thunderstorm(4),
    tornado(5),
    blizzard(6)
} (0..255)
Denis Filatov's avatar
Denis Filatov committed

/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause codes of the @ref CauseCode `adverseWeatherCondition-Precipitation`. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The sub causes are described as following:
 * - 0 `unavailable`: in case information on the type of precipitation is unavailable
 * - 1 `heavyRain`: in case the type of precipitation is heavy rain
 * - 2 `heavySnowfall`: in case the type of precipitation is heavy snow fall
 * - 3 `softHail`: in case the type of precipitation is soft hail
 * - 4-255 reserved for future usage
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Traffic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
AdverseWeatherCondition-PrecipitationSubCauseCode ::= INTEGER {
    unavailable(0),
    heavyRain(1),
    heavySnowfall(2),
    softHail(3)
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause codes of the @ref CauseCode `adverseWeatherCondition-Visibility`.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The sub causes are described as following:
 * - 0 `unavailable`    : in case information on the cause of low visibility is unavailable
 * - 1 `fog`            : in case the cause of low visibility is fog
 * - 2 `smoke`          : in case the cause of low visibility is smoke
 * - 3 `heavySnowfall`  : in case the cause of low visibility is heavy snow fall
 * - 4 `heavyRain`      : in case the cause of low visibility is heavy rain
 * - 5 `heavyHail`      : in case the cause of low visibility is heavy hail
 * - 6 `lowSunGlare`    : in case the cause of low visibility is sun glare
 * - 7 `sandstorms`     : in case the cause of low visibility is sand storm
 * - 8 `swarmsOfInsects`: in case the cause of low visibility is swarm of insects
 * - 9-255 reserved for future usage
 *
 * @category: Traffic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
AdverseWeatherCondition-VisibilitySubCauseCode ::= INTEGER {
    unavailable(0),
    fog(1),
    smoke(2),
    heavySnowfall(3),
    heavyRain(4),
    heavyHail(5),
    lowSunGlare(6),
    sandstorms(7),
    swarmsOfInsects(8)
} (0..255)
Denis Filatov's avatar
Denis Filatov committed

/**
tijinkj's avatar
tijinkj committed
 * This DE represents the absolute accuracy of an altitude value of a geographical point for a confidence level of 95%.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @note: The fact that an altitude value is received with confidence set to `unavailable(15)` can be caused
 * by several reasons, such as:
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
 * In all 3 cases above, the reported altitude value may be valid and used by the application.
 * 
 * @note: If an altitude value is received and its confidence is set to `outOfRange(14)`, it means that the reported 
 * altitude value is not valid and therefore cannot be trusted. Such value is not useful for the application.
 *
 * The value shall be set to: 
 *   - 0 `alt-000-01` if the altitude accuracy is equal to or less than 0,01 metre
 *   - 1 `alt-000-02` if the altitude accuracy is equal to or less than 0,02 metre
 *   - 2 `alt-000-05` if the altitude accuracy is equal to or less than 0,05 metre            
 *   - 3 `alt-000-10` if the altitude accuracy is equal to or less than 0,1 metre             
 *   - 4 `alt-000-20` if the altitude accuracy is equal to or less than 0,2 metre             
 *   - 5 `alt-000-50` if the altitude accuracy is equal to or less than 0,5 metre             
 *   - 6 `alt-001-00` if the altitude accuracy is equal to or less than 1 metre               
 *   - 7 `alt-002-00` if the altitude accuracy is equal to or less than 2 metres              
 *   - 8 `alt-005-00` if the altitude accuracy is equal to or less than 5 metres              
 *   - 9 `alt-010-00` if the altitude accuracy is equal to or less than 10 metres             
 *   - 10 `alt-020-00` if the altitude accuracy is equal to or less than 20 metres            
 *   - 11 `alt-050-00` if the altitude accuracy is equal to or less than 50 metres            
 *   - 12 `alt-100-00` if the altitude accuracy is equal to or less than 100 metres           
 *   - 13 `alt-200-00` if the altitude accuracy is equal to or less than 200 metres           
 *   - 14 `outOfRange` if the altitude accuracy is out of range, i.e. greater than 200 metres 
 *   - 15 `unavailable` if the altitude accuracy information is unavailable                    
 *
 * @category: GeoReference information
 */
Denis Filatov's avatar
Denis Filatov committed
AltitudeConfidence ::= ENUMERATED {
Denis Filatov's avatar
Denis Filatov committed
    alt-000-01 (0),
    alt-000-02 (1),
    alt-000-05 (2),
    alt-000-10 (3),
    alt-000-20 (4),
    alt-000-50 (5),
    alt-001-00 (6),
    alt-002-00 (7),
    alt-005-00 (8),
    alt-010-00 (9),
    alt-020-00 (10),
    alt-050-00 (11),
    alt-100-00 (12),
    alt-200-00 (13),
    outOfRange (14),
    unavailable (15)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the altitude value in a WGS84 co-ordinate system.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified: 
 * - When the information is not available, the DE shall be set to _800 001_.
 * - For altitude equal or greater than _8 000 m_, the DE shall be set to _800 000_.
 * - For altitude equal or less than _-1 000_ m, the DE shall be set to  _100 000_.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @unit: 0.1 meter
Denis Filatov's avatar
Denis Filatov committed
 * @category: GeoReference information
 */
tijinkj's avatar
tijinkj committed
AltitudeValue ::= INTEGER {
    referenceEllipsoidSurface(0),
    oneCentimeter(1),
    unavailable(800001)
} (-100000..800001)
tijinkj's avatar
tijinkj committed
/** @brief Angle Confidence
 * The absolute accuracy of an angle value for a predefined confidence level of 95 %.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The value shall be set to: 
 *  zeroPointOneDegree  (1),
 *  oneDegree           (10),
 *  outOfRange          (126),  --< if the  accuracy is out of range, i.e. greater than
 *                               --< 12,5 degrees. A corresponding reported angle value shall be
 *                               --< considered invalid and cannot be trusted.
 *   unavailable         (127)   --< if the accuracy information is not available
 * @unit 0,1 degrees
 * @category: Kinematics information
*/
AngleConfidence ::= INTEGER {
    zeroPointOneDegree  (1),
    oneDegree           (10),
    outOfRange          (126),
    unavailable         (127)   
} (1..127)

/** 
 * This DE represents the absolute accuracy of a reported angular speed value for a confidence level of 95%.
 * For correlation computation, maximum interval levels shall be assumed.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 *     degSec-000-01 (0),  --< if the accuracy is equal to or less than 0,01 degree/second
 *     degSec-000-05 (1),  --< 1 if the accuracy is equal to or less than 0,05 degrees/second
 *     degSec-000-10 (2),  --< if the accuracy is equal to or less than 0,1 degree/second
 *     degSec-001-00 (3),  --< 3 if the accuracy is equal to or less than 1 degree/second
 *     degSec-005-00 (4),  --< if the accuracy is equal to or less than 5 degrees/second
 *     degSec-010-00 (5),  --< if the accuracy is equal to or less than 10 degrees/second
 *     degSec-100-00 (6),  --< if the accuracy is equal to or less than 100 degrees/second
 *     outOfRange (7),     --< if the accuracy is out of range, i.e. greater than 100 degrees/second
 *     unavailable (8)     --< if the accuracy information is unavailable
 * 
 * @category: Kinematics information
*/
AngularSpeedConfidence ::= ENUMERATED {
    degSec-000-01 (0), 
    degSec-000-05 (1),  
    degSec-000-10 (2), 
    degSec-001-00 (3), 
    degSec-005-00 (4),  
    degSec-010-00 (5), 
    degSec-100-00 (6), 
    outOfRange (7),   
    unavailable (8)   
tijinkj's avatar
tijinkj committed
/** 
 * Tis DE represents the absolute accuracy of a reported angular acceleration value for a  confidence level of 95%.
 * For correlation computation, maximum interval levels shall be assumed.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 *   degSecSquared-000-01 (0),  --< if the accuracy is equal to or less than 0,01 degree/second^2
 *   degSecSquared-000-05 (1),  --< 1 if the accuracy is equal to or less than 0,05 degrees/second^2
 *   degSecSquared-000-10 (2),  --< if the accuracy is equal to or less than 0,1 degree/second^2
 *   degSecSquared-001-00 (3),  --< 3 if the accuracy is equal to or less than 1 degree/second^2
 *   degSecSquared-005-00 (4),  --< if the accuracy is equal to or less than 5 degrees/second^2
 *   degSecSquared-010-00 (5),  --< if the accuracy is equal to or less than 10 degrees/second^2
 *   degSecSquared-100-00 (6),  --< if the accuracy is equal to or less than 100 degrees/second^2
 *   outOfRange (7),     --< if the accuracy is out of range, i.e. greater than 100 degrees/second^2
 *   unavailable (8)     --< if the accuracy information is unavailable
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Kinematics information
*/
AngularAccelerationConfidence ::= ENUMERATED {
    degSecSquared-000-01 (0), 
    degSecSquared-000-05 (1), 
    degSecSquared-000-10 (2),  
    degSecSquared-001-00 (3), 
    degSecSquared-005-00 (4),  
    degSecSquared-010-00 (5),  
    degSecSquared-100-00 (6),  
    outOfRange (7),     
    unavailable (8)   
tijinkj's avatar
tijinkj committed
/** 
 * This DE represenst an angle value described in a local Cartesian coordinate system, counted positive in
 * a right-hand local coordinate system from the abscissa.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @unit 0,1 degrees
 * @category: Kinematics information
*/
CartesianAngleValue ::= INTEGER {
    zeroPointOneDegree  (1),
    oneDegree           (10),
    unavailable         (3601)
} (0..3601)

/** 
 * This DE represents an angular speed value described in a local Cartesian coordinate system, counted positive in
 * a right-hand local coordinate system from the abscissa.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @unit 0,01 degrees/s
 * @category: Kinematics information
*/
CartesianAngularSpeedValue ::= INTEGER {
    noSpeed                             (0),
    oneDegreePerSecondAntiClockwise     (100),
    oneDegreePerSecondClockwise         (-100)
} (-32766..32767)

/** 
 * This DE represents an angular acceleration value described in a local Cartesian coordinate system, counted positive in
 * a right-hand local coordinate system from the abscissa.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @unit 0,01 degrees/s^2 (degrees per second squared)
 * @category: Kinematics information
*/
CartesianAngularAccelerationValue ::= INTEGER {
    noAcceleration                             (0),
    oneDegreePerSecondSquaredAntiClockwise     (100),
    oneDegreePerSecondSquaredClockwise         (-100)
} (-32766..32767)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 *The DE represents the value of the cause code of an event. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The following values are specified:
Denis Filatov's avatar
Denis Filatov committed
 * - 0  reserved for future use,
 * - 1 `trafficCondition`                    : the type of event is an abnormal traffic condition,
 * - 2 `accident`                            : the type of event is a road accident,
 * - 3 `roadworks`                           : the type of event is roadwork,
 * - 4 reserved for future usage,
 * - 5 `impassability`                       : the type of event is unmanaged road blocking, referring to any
 *                                             blocking of a road, partial or total, which has not been adequately
 *                                             secured and signposted,
 * - 6 `adverseWeatherCondition-Adhesion`    : the type of event is low adhesion,
 * - 7 `aquaplaning`                         : danger of aquaplaning on the road,
 * - 8 reserved for future usage,
 * - 9 `hazardousLocation-SurfaceCondition`  : the type of event is abnormal road surface condition,
 * - 10 `hazardousLocation-ObstacleOnTheRoad`: the type of event is obstacle on the road,
 * - 11 `hazardousLocation-AnimalOnTheRoad`  : the type of event is animal on the road,
 * - 12 `humanPresenceOnTheRoad`             : the type of event is human presence on the road,
 * - 13 reserved for future usage,
 * - 14 `wrongWayDriving`                    : the type of the event is vehicle driving in wrong way,
 * - 15 `rescueAndRecoveryWorkInProgress`    : the type of event is rescue and recovery work for accident or for a road hazard in progress,
 * - 16 reserved for future usage,
 * - 17 `adverseWeatherCondition-ExtremeWeatherCondition`: the type of event is extreme weather condition,
 * - 18 `adverseWeatherCondition-Visibility`             : the type of event is low visibility,
 * - 19 `adverseWeatherCondition-Precipitation`          : the type of event is precipitation,
 * - 20-25 reserved for future usage,
 * - 26 `slowVehicle`                        : the type of event is slow vehicle driving on the road,
 * - 27 `dangerousEndOfQueue`                : the type of event is dangerous end of vehicle queue,
 * - 28-90 are reserved for future usage,
 * - 91 `vehicleBreakdown`                   : the type of event is break down vehicle on the road,
 * - 92 `postCrash`                          : the type of event is a detected crash,
 * - 93 `humanProblem`                       : the type of event is human health problem in vehicles involved in traffic,
 * - 94 `stationaryVehicle`                  : the type of event is stationary vehicle,
 * - 95 `emergencyVehicleApproaching`        : the type of event is approaching vehicle operating emergency mission,
 * - 96 `hazardousLocation-DangerousCurve`   : the type of event is dangerous curve,
 * - 97 `collisionRisk`                      : the type of event is a collision risk,
 * - 98 `signalViolation`                    : the type of event is signal violation,
 * - 99 `dangerousSituation`                 : the type of event is dangerous situation in which autonomous safety system in vehicle is activated,
 * - 100-255 are reserved for future usage.
 *
 * @category: Traffic information
 */
Denis Filatov's avatar
Denis Filatov committed
CauseCodeType ::= INTEGER {
Denis Filatov's avatar
Denis Filatov committed
    reserved (0),
    trafficCondition (1),
    accident (2),
    roadworks (3),
Denis Filatov's avatar
Denis Filatov committed
    impassability (5),
Denis Filatov's avatar
Denis Filatov committed
    adverseWeatherCondition-Adhesion (6),
Denis Filatov's avatar
Denis Filatov committed
    aquaplannning (7),
Denis Filatov's avatar
Denis Filatov committed
    hazardousLocation-SurfaceCondition (9),
    hazardousLocation-ObstacleOnTheRoad (10),
    hazardousLocation-AnimalOnTheRoad (11),
    humanPresenceOnTheRoad (12),
    wrongWayDriving (14),
    rescueAndRecoveryWorkInProgress (15),
    adverseWeatherCondition-ExtremeWeatherCondition (17),
    adverseWeatherCondition-Visibility (18),
    adverseWeatherCondition-Precipitation (19),
tijinkj's avatar
tijinkj committed
    violence (20),
Denis Filatov's avatar
Denis Filatov committed
    slowVehicle (26),
    dangerousEndOfQueue (27),
    vehicleBreakdown (91),
    postCrash (92),
    humanProblem (93),
    stationaryVehicle (94),
    emergencyVehicleApproaching (95),
    hazardousLocation-DangerousCurve (96),
    collisionRisk (97),
    signalViolation (98),
    dangerousSituation (99)
Denis Filatov's avatar
Denis Filatov committed
} (0..255)

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the value of a cartesian coordinate.
 *
 * @unit 0,01 m
*/
CartesianCoordinate::= INTEGER (-32768..32767)
-- a range of +- 327.68 meters. 1cm unit

/**
 * This DE represents the ID of a CEN DSRC tolling zone. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Infrastructure information, Communication information
 */
CenDsrcTollingZoneID ::= ProtectedZoneID -- tbd to be deleted?

/**
 * This DE represents the size of a cluster in terms of number of contained entities: known members in the  cluster + 1 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: tbd
 */
ClusterCardinalitySize   ::= INTEGER {unavailable(0), onlyLeader(1)} (0..255) --tbd make more generic?

/**
 * Identifier of a  cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: tbd
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ClusterId ::= INTEGER(0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause codes of the @ref CauseCode `collisionRisk`.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 * - 0 `unavailable`              : in case information on the type of collision risk is unavailable,
 * - 1 `longitudinalCollisionRisk`: in case the type of detected collision risk is longitudinal collision risk, 
 *                                  e.g. forward collision or face to face collision,
 * - 2 `crossingCollisionRisk`    : in case the type of detected collision risk is crossing collision risk,
 * - 3 `lateralCollisionRisk`     : in case the type of detected collision risk is lateral collision risk,
 * - 4 `vulnerableRoadUser`       : in case the type of detected collision risk involves vulnerable road users
 *                                  e.g. pedestrians or bicycles,
 * - 5-255 reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates the reason why a cluster leader intends to break up the cluster.
 * 
 * The following values are specified:
 * - notProvided                        (0),
 * - clusteringPurposeCompleted         (1),
 * - leaderMovedOutOfClusterBoundingBox (2),    
 * - joiningAnotherCluster              (3),
 * - enteringLowRiskAreaBasedOnMaps     (4),
 * - receptionOfCpmContainingCluster    (5),
 * - max(15)                                     
Denis Filatov's avatar
Denis Filatov committed
 *
 */
tijinkj's avatar
tijinkj committed
ClusterBreakupReason ::= ENUMERATED {
    notProvided                        (0),
    clusteringPurposeCompleted         (1),
    leaderMovedOutOfClusterBoundingBox (2),    
    joiningAnotherCluster              (3),
    enteringLowRiskAreaBasedOnMaps     (4),
    receptionOfCpmContainingCluster    (5),
    max(15)                                                                 
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates the reason why a cluster participant is leaving the cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
 * The following values are specified:
 * - notProvided                   (0),
 * - clusterLeaderLost             (1),    
 * - clusterDisbandedByLeader      (2),    
 * - outOfClusterBoundingBox       (3),    
 * - outOfClusterSpeedRange        (4),
 * - joiningAnotherCluster         (5),
 * - cancelledJoin                 (6),
 * - failedJoin                    (7),
 * - safetyCondition               (8),
 * - max	(15): The value 15  is  set to  "max" in order to  bound the size  of the encoded field                                
 *
 */
ClusterLeaveReason ::= ENUMERATED {
    notProvided                   (0),
    clusterLeaderLost             (1),    
    clusterDisbandedByLeader      (2),    
    outOfClusterBoundingBox       (3),    
    outOfClusterSpeedRange        (4),
    joiningAnotherCluster         (5),
    cancelledJoin                 (6),
    failedJoin                    (7),
    safetyCondition               (8),
    max(15)            
}

ClusterOpTimestamp::= INTEGER (1..255) --tbd what this is!

/**
 * This DE represents the sub cause codes of the @ref CauseCode `collisionRisk`.
 * 
 * The following values are specified:
 * - 0 `unavailable`              : in case information on the type of collision risk is unavailable,
 * - 1 `longitudinalCollisionRisk`: in case the type of detected collision risk is longitudinal collision risk, 
 *                                  e.g. forward collision or face to face collision,
 * - 2 `crossingCollisionRisk`    : in case the type of detected collision risk is crossing collision risk,
 * - 3 `lateralCollisionRisk`     : in case the type of detected collision risk is lateral collision risk,
 * - 4 `vulnerableRoadUser`       : in case the type of detected collision risk involves vulnerable road users
 *                                  e.g. pedestrians or bicycles,
 * - 5-255 reserved for future usage.
 *
 * @category: Traffic information
 */
CollisionRiskSubCauseCode ::= INTEGER {
    unavailable(0), 
    longitudinalCollisionRisk(1), 
    crossingCollisionRisk(2), 
    lateralCollisionRisk(3), 
    vulnerableRoadUser(4)
}(0..255)

/** 
 * This DE represnents the absolute accuracy of measurement to a confidence level of 95%.
 * @unit 0,01 m
*/
CoordinateConfidence ::= INTEGER {
    zeroPointZeroOneMeter   (1),
    oneMeter                (100),
    outOfRange              (4094),  -- shall be set if the accuracy is out of range
    unavailable             (4095)   -- shall be set if the accuracy data is unavailable
} (0..4095)

/** 
 * This DE represents the Bravais-Pearson correlation value for each cell of a lower triangular correlation matrix.
 * The values is scaled by 100.
 *
 * The following exemplary values are specified. 
 *  full-negative-correlation    (-100),     --< Full negative correlation
 *  no-correlation               (0),        --< If not correlated or unavailable
 *  point-one                    (10),
 *  full-positive-correlation    (100)       --< Full positive correlation
 *
 * @category: Kinematics information
*/
CorrelationRowValue ::= INTEGER {
    full-negative-correlation    (-100),     
    no-correlation               (0),       
    point-one                    (10),
    full-positive-correlation    (100)  
} (-100..100)


/**
 * The DE describes whether the yaw rate is used to calculate the curvature for a reported curvature value.
 * 
 * 
 * The following values are specified:
 * - yawRateUsed: when the yaw rate is used
 * - yawRateNotUsed: when the yaw rate is not ued
 * - unavailable: when the information of curvature calculation mode is unknown.
 *
 * @category: Vehicle information
 */
CurvatureCalculationMode ::= ENUMERATED {yawRateUsed(0), yawRateNotUsed(1), unavailable(2), ...}

/**
 * This DE describes the absolute accuracy range of a reported curvature value for a confidence level of 95%.
 * * 
 * The following values are specified:
 * - 0 if the accuracy is less than or equal to 0,00002 m-1
 * - 1 if the accuracy is less than or equal to 0,0001 m-1
 * - 2 if the accuracy is less than or equal to 0,0005 m-1
 * - 3 if the accuracy is less than or equal to 0,002 m-1
 * - 4 if the accuracy is less than or equal to 0,01 m-1
 * - 5 if the accuracy is less than or equal to 0,1 m-1
 * - 6 if the accuracy is out of range, i.e. greater than 0,1 m-1
 * - 7 if the information is not available
 * 
 * @note:	The fact that a curvature value is received with confidence set to `unavailable(7)` can be caused by
 * several reasons, such as:
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
 * In all 3 cases above, the reported curvature value may be valid and used by the application.
 * If a curvature value is received and its confidence is set to 'outOfRange(6)', it means that the reported curvature value is not valid and therefore cannot be trusted. Such value is not useful for the application.
 */
CurvatureConfidence ::= ENUMERATED {
    onePerMeter-0-00002 (0),
    onePerMeter-0-0001 (1),
    onePerMeter-0-0005 (2),
    onePerMeter-0-002 (3),
    onePerMeter-0-01 (4),
    onePerMeter-0-1 (5),
    outOfRange (6),
    unavailable (7)
}

/**
 * This DE describes vehicle turning curve with the following information:
 * 
 *     Value = 1 / Radius * 10000
 * 
 * wherein radius is the vehicle turning curve radius. 
 * 
 * Positive values indicate a turning curve to the left hand side of the driver.
 * It corresponds to the vehicle coordinate system as defined in ISO 8855 [2].
 *
 * The following exemplary values are explicitly defined:
 * - The value shall be set to `0` when the vehicle is moving straight.
 * - The value shall be set to `1023`, if the information is not available.
 * - For calculated values smaller than `-1023`, the DE shall be set to `-1023`.
 * - For calculated values bigger than `1022`, the DE shall be set to `1022`.
 * 
 * 
 * @note: The present DE is limited to vehicle types as defined in ISO 8855 [2].
 * 
 * @unit 1 over 10 000 metres
 * @category: Vehicle information
 */
CurvatureValue ::= INTEGER {straight(0), unavailable(1023)} (-1023..1023)

/**
 * This DE represents the value of the sub cause codes of the @ref CauseCode `dangerousEndOfQueue`. 
 * 
 * The following value are specified:
 * - 0 `unavailable`     : in case information on the type of dangerous queue is unavailable,
 * - 1 `suddenEndOfQueue`: in case a sudden end of queue is detected, e.g. due to accident or obstacle,
 * - 2 `queueOverHill`   : in case the dangerous end of queue is detected on the road hill,
 * - 3 `queueAroundBend` : in case the dangerous end of queue is detected around the road bend,
 * - 4 `queueInTunnel`   : in case queue is detected in tunnel,
 * - 5-255 reserved for future usage.
 *
 * @category: Traffic information
 */
DangerousEndOfQueueSubCauseCode ::= INTEGER {unavailable(0), suddenEndOfQueue(1), queueOverHill(2), queueAroundBend(3), queueInTunnel(4)} (0..255)

/**
 * This DE indicates the type of the dangerous goods being carried by a heavy vehicle.
 * The value is assigned according to "_class_" and "_division_" definitions of dangerous goods as specified in part II,
 * chapter 2.1.1.1 of European Agreement concerning the International Carriage of Dangerous Goods by Road [i.4].
 * 
 * 
 * @category Vehicle information
 */
DangerousGoodsBasic::= ENUMERATED {
    explosives1(0),
    explosives2(1),
    explosives3(2),
    explosives4(3),
    explosives5(4),
    explosives6(5),
    flammableGases(6),
    nonFlammableGases(7),
    toxicGases(8),
    flammableLiquids(9),
    flammableSolids(10),
    substancesLiableToSpontaneousCombustion(11),
    substancesEmittingFlammableGasesUponContactWithWater(12),
    oxidizingSubstances(13),
    organicPeroxides(14),
    toxicSubstances(15),
    infectiousSubstances(16),
    radioactiveMaterial(17),
    corrosiveSubstances(18),
    miscellaneousDangerousSubstances(19)
}

/**
 * This DE represents the value of the sub cause codes of the @ ref CauseCode `dangerousSituation` 
 * 
 * The following values are specified:
 * - 0 `unavailable`: in case information on the type of dangerous situation is unavailable,
 * - 1 `emergencyElectronicBrakeEngaged`: in case emergency electronic brake is engaged,
 * - 2 `preCrashSystemEngaged`: in case pre-crash system is engaged,
 * - 3 `espEngaged`: in case Electronic Stability Program (ESP) system is engaged,
 * - 4 `absEngaged`: in case Anti-lock braking system (ABS) is engaged,
 * - 5 `aebEngaged`: in case Autonomous Emergency Braking (AEB) system is engaged,
 * - 6 `brakeWarningEngaged`: in case brake warning is engaged,
 * - 7 `collisionRiskWarningEngaged`: in case collision risk warning is engaged,
 * - 8-255: reserved for future usage.
 *
 * @category: Traffic information
 */
DangerousSituationSubCauseCode ::= INTEGER {
    unavailable(0), 
    emergencyElectronicBrakeEngaged(1), 
    preCrashSystemEngaged(2), 
    espEngaged(3), 
    absEngaged(4), 
    ebEngaged(5), 
    brakeWarningEngaged(6), 
    collisionRiskWarningEngaged(7)
} (0..255)

/**
 * This DE represents an offset altitude with regards to a defined altitude value.
 * It may be used to describe a geographical point with regards to a specific reference geographical position.
 *
 * The followig values are specified:
 * - Positive values are used for providing altitude offset above the reference position.
 * - For values equal or greater than _127,99 metres_, the value shall be _12 799_.
 * - Negative values are used for providing altitude offset below the reference position.
 * - When the information is unavailable, the value shall be set to _12 800_.
 *
 * @unit: 0.1 metre
 * @category: GeoReference information
 */
DeltaAltitude ::= INTEGER {
    oneCentimeterUp (1),
    oneCentimeterDown (-1),
    unavailable (12800)
} (-12700..12800)

/**
 * This DE represents an offset latitude with regards to a defined latitude value.
 * It may be used to describe a geographical point with regards to a specific reference geographical position.
 *
 * The followig values are specified:
 * - Positive values are used for providing offset towards the north from the reference position. 
 * - Negative values are used for providing offset towards the south from the reference position.
 * - When the information is unavailable, the value shall be set to _131072_.
 *
 * @unit: 0.1 microdegree
 * @category: GeoReference information
  */
DeltaLatitude ::= INTEGER {
    oneMicrodegreeNorth (10),
    oneMicrodegreeSouth (-10) ,
    unavailable (131072)
} (-131071..131072)

/**
 * This DE represents an offset longitude with regards to a defined longitude value.
 * It may be used to describe a geographical point with regards to a specific reference geographical position.
 *
 * The followig values are specified:
 * - Positive values are used for providing offset towards the east from the reference position.
 * - Negative values are used for providing offset towards the west from the reference position.
 * - When the information is unavailable, the value shall be set to _131072_.
 *
 * @unit: 0.1 microdegree
 * @category: GeoReference information
 */
DeltaLongitude ::= INTEGER {
    oneMicrodegreeEast (10),
    oneMicrodegreeWest (-10),
    unavailable (131072)
} (-131071..131072)

/** 
 * This DE represents a  difference in time with respect to a reference time.
 *
 * @unit 1 ms
*/
DeltaTimeMilliSecond ::= INTEGER {
    oneMilliSecond  (1)
} (-1500..1500)

/** 
 * This DE represents a  difference in time with respect to a reference time.
 *
 * @unit 0,01 s
*/
DeltaTimeHundredthOfSecond::= INTEGER {tenMilliSeconds(1)} (1..65535, ...) 

/** 
 * This DE represents a  difference in time with respect to a reference time.
 *
 * @unit 0,1 s
*/
DeltaTimeTenthOfSecond::= INTEGER {zero(0), hundredMs(1), twoHundredMs(2), unavailable (127)  } (0..127) -- tbd which range?

/** 
 * This DE represents a  difference in time with respect to a reference time.
 *
 * @unit 1 s
*/
DeltaTimeSecond ::= INTEGER { -- tbd

    timeOfDetection(0), 
    oneSecondAfterDetection(1)
} (0..86400)

/**
 * This DE indicates in which direction something is moving.
 *
 * The following values are specified:
 * - forward: it is moving forward
 * - backwards: it is moving backwards
 * - unavailable : the information is unavailable
 *
 * @category: Kinematics information
 */
DriveDirection ::= ENUMERATED {forward (0), backward (1), unavailable (2)}

/**
 * This DE indicates whether a driving lane is open to traffic.
 * 
 * A lane is counted from inside border of the road excluding the hardshoulder. The size of the bit string shall
 * correspond to the total number of the driving lanes in the carriageway.
 * 
 * The numbering is matched to @ref LanePosition.
 * The bit 0 is used to indicate the innermostLane, bit 1 is used to indicate the second lane from inside border.
 * 
 * If a lane is closed to traffic, the corresponding bit shall be set to 1. Otherwise, it shall be set to 0.
 * 
 * @note:	Hard shoulder status is not provided by this DE but in @ref HardShoulderStatus as defined in clause A.29.
 * 
 * @category: Traffic information
 */
DrivingLaneStatus ::= BIT STRING (SIZE (1..13))

/**
 * This DE indicates whether a vehicle (e.g. public transport vehicle, truck) is under the embarkation process.
 * If it is the case, the value shall be set to TRUE, otherwise to FALSE
 *
 * @category: Vehicle information
 */
EmbarkationStatus ::= BOOLEAN

/**
 * This DE indicates the right of priority requested by an operating emergency vehicle.
 * The right-of-priority bit shall be set to 1 if the corresponding right is requested.
 * 
 * @category: Traffic information
 */
EmergencyPriority ::= BIT STRING {
    requestForRightOfWay(0), 
    requestForFreeCrossingAtATrafficLight(1)
} (SIZE(2))

/**
 * This DE represents the value of the sub cause codes of the @ref CauseCode "emergencyVehicleApproaching". 
 * 
 * The sub causes are described as following:
 * - 0 `unavailable`                  : in case further detailed information on the emergency vehicle approaching event 
 *                                      is unavailable,
 * - 1 `emergencyVehicleApproaching`  : in case an operating emergency vehicle is approaching,
 * - 2 `prioritizedVehicleApproaching`: in case a prioritized vehicle (e.g. bus) is approaching,
 * - value 3-255  reserved for future usage.
 *
 * @category: Traffic information
 */
EmergencyVehicleApproachingSubCauseCode ::= INTEGER {
    unavailable(0), 
    emergencyVehicleApproaching(1), 
    prioritizedVehicleApproaching(2)
} (0..255)

/**
 * This DE indicated the type of energy being used and stored in vehicle.
 * - If a storage type is used by the vehicle, the corresponding bit shall be set to `1`.
 * - Otherwise, the corresponding bit shall be set to `0`.
 *
 * @category: Vehicle information
 */
EnergyStorageType ::= BIT STRING {
    hydrogenStorage(0), 
    electricEnergyStorage(1), 
    liquidPropaneGas(2), 
    compressedNaturalGas(3), 
    diesel(4), 
    gasoline(5), 
    ammonia(6)} 
(SIZE(7))

/**
 * This DE describes the status of the exterior light switches of a vehicle.
 * 
 * The value of each bit indicates the state of the switch, which commands the corresponding light.
 * The bit corresponding to a specific light is set to `1`, when the corresponding switch is turned on,
 * either manually by the driver or automatically by a vehicle system. The bit value does not indicate
 * if the corresponding lamps are alight or not.
 * 
 * If a vehicle is not equipped with a certain light or if the light switch status information is not available,
 * the corresponding bit shall be set to `0`.
 * 
 * The `fogLightOn` only indicates the status of the tail fog lamp switch.
 * 
 * As the bit value indicates only the state of the switch, the turn signal and hazard signal bit values shall not
 * alternate with the blinking interval.
 * 
 * For hazard indicator, the `leftTurnSignalOn` (2) and `rightTurnSignalOn` (3) shall be both set to 1.
 * 
 * @category Vehicle information
 */
ExteriorLights ::= BIT STRING {
    lowBeamHeadlightsOn      (0),
    highBeamHeadlightsOn     (1),
    leftTurnSignalOn         (2),
    rightTurnSignalOn        (3),
    daytimeRunningLightsOn   (4),
    reverseLightOn           (5),
    fogLightOn               (6),
    parkingLightsOn          (7)
} (SIZE(8))

/**
 * This DE represents the confidence of the information indicating that an area is not occupied by a traffic participant or obstacle.
 *
 * the following  values are specified:
 * - unknown             (0),    -- if the free space confidence is unknown for the described area
 * - onePercent          (1),
 * - OneHundredPercent   (100),
 * - unavailable         (101)   -- if the confidence could not be computed and does not apply.
 *
 * @category tbd
*/
FreeSpaceConfidence ::= INTEGER {
    unknown             (0),    -- if the free space confidence is unknown for the described area
    onePercent          (1),
    oneHundredPercent   (100),
    unavailable         (101)   -- if the confidence could not be computed and does not apply.
} (0..101)


/**
 * This DE represents a timestamp based on TimestampIts modulo 65 536.
 * This means that generationDeltaTime = TimestampIts mod 65 536.
 *
 * @category Time information
*/
GenerationDeltaTime ::= INTEGER { oneMilliSec(1) } (0..65535)

/**
 * This DE indicates the current status of a hard shoulder: whether it is available for special usage
 * (e.g. for stopping or for driving) or closed for all vehicles.
 * 
 * The following values are specified:
 * - availableForStopping(0): if the hard shoulder is available for stopping in emergency situations. 
 * - closed(1): if the hard shoulder is closed and cannot / shall not be occupied in any case.
 * - availableForDriving(2): if the hard shoulder is available for regular driving.
*
 * 
 * @category: Traffic information
 */
HardShoulderStatus ::= ENUMERATED {
    availableForStopping(0), 
    closed(1), 
    availableForDriving(2)}

/**
 * This DE represents the value of the sub cause code of the @CauseCode `hazardousLocation-AnimalOnTheRoad`.
 * 
 * The following values are specified:
 * - 0 `unavailable`  : in case further detailed information on the animal on the road event is unavailable,
 * - 1 `wildAnimals`  : in case wild animals are detected on the road,
 * - 2 `herdOfAnimals`: in case herd of animals are detected on the road,
 * - 3 `smallAnimals` : in case small size animal is detected on the road,
 * - 4 `largeAnimals` : in case large size animal is detected on the road,
 * - 5-255 reserved for future usage.
 *
 * @category: Traffic information
 */
HazardousLocation-AnimalOnTheRoadSubCauseCode ::= INTEGER {
    unavailable(0), 
    wildAnimals(1), 
    herdOfAnimals(2), 
    smallAnimals(3), 
    largeAnimals(4)} (0..255)

/**
 * This DE represents the sub cause code of the @CauseCode  `hazardousLocation-DangerousCurve`.
 * 
 * The following values are specified:
 * - 0 `unavailable`              : in case further detailed information on the dangerous curve is unavailable,
 * - 1 `dangerousLeftTurnCurve`   : in case the dangerous curve is a left turn curve,
 * - 2 `dangerousRightTurnCurve`  : in case the dangerous curve is a right turn curve,
 * - 3 `multipleCurvesStartingWithUnknownTurningDirection`: in case of multiple curves for which the starting curve turning direction is not known,
 * - 4 `multipleCurvesStartingWithLeftTurn`: in case of multiple curves starting with a left turn curve,
 * - 5 `multipleCurvesStartingWithRightTurn`: in case of multiple curves stating with a right turn curve,
 * - value 6-255 reserved for future usage.
 * 
 * The definition of whether a curve is dangerous may vary according to region and according to vehicle types/mass
 * and vehicle speed driving on the curve. This definition is out of scope of the present document.
 *
 * @category: Traffic information
 */
HazardousLocation-DangerousCurveSubCauseCode ::= INTEGER {
    unavailable(0), 
    dangerousLeftTurnCurve(1), 
    dangerousRightTurnCurve(2), 
    multipleCurvesStartingWithUnknownTurningDirection(3), 
    multipleCurvesStartingWithLeftTurn(4), 
    multipleCurvesStartingWithRightTurn(5)
} (0..255)

/**
 * This DE represents the value of the sub cause code of the @ref CauseCode `hazardousLocation-ObstacleOnTheRoad`. 
 * 
 * The following values are specified:
 * - 0 `unavailable`    : in case further detailed information on the detected obstacle is unavailable,
 * - 1 `shedLoad`       : in case detected obstacle is large amount of obstacles (shedload),
 * - 2 `partsOfVehicles`: in case detected obstacles are parts of vehicles,
 * - 3 `partsOfTyres`   : in case the detected obstacles are parts of tyres,
 * - 4 `bigObjects`     : in case the detected obstacles are big objects,
 * - 5 `fallenTrees`    : in case the detected obstacles are fallen trees,
 * - 6 `hubCaps`        : in case the detected obstacles are hub caps,
 * - 7 `waitingVehicles`: in case the detected obstacles are waiting vehicles,
 * - 8-255 reserved for future usage.
 *
 * @category: Traffic information
 */
HazardousLocation-ObstacleOnTheRoadSubCauseCode ::= INTEGER {
    unavailable(0), 
    shedLoad(1), 
    partsOfVehicles(2), 
    partsOfTyres(3), 
    bigObjects(4), 
    fallenTrees(5), 
    hubCaps(6), 
    waitingVehicles(7)
} (0..255)

/**
 * This DE represents the value of the sub cause code of the @ref CauseCode `hazardousLocation-SurfaceCondition`. 
 * 
 * The sub causes are described as following:
 * - 0 `unavailable`     : in case further detailed information on the road surface condition is unavailable,
 * - 1 `rockfalls`       : in case rock falls are detected on the road surface,
 * - 2 `earthquakeDamage`: in case the road surface is damaged by earthquake,
 * - 3 `sewerCollapse`   : in case of sewer collapse on the road surface,
 * - 4 `subsidence`      : in case road surface is damaged by subsidence,
 * - 5 `snowDrifts`      : in case road surface is damaged due to snow drift,
 * - 6 `stormDamage`     : in case road surface is damaged by strong storm,
 * - 7 `burstPipe`       : in case road surface is damaged due to pipe burst,
 * - 8 `volcanoEruption` : in case road surface is damaged due to volcano eruption,
 * - 9 `fallingIce`      : in case road surface damage is due to falling ice,
 * - 10-255 reserved for future usage.
 *
 * @category: Traffic information
 */
HazardousLocation-SurfaceConditionSubCauseCode ::= INTEGER {
    unavailable(0), 
    rockfalls(1), 
    earthquakeDamage(2), 
    sewerCollapse(3), 
    subsidence(4), 
    snowDrifts(5), 
    stormDamage(6), 
    burstPipe(7), 
    volcanoEruption(8), 
    fallingIce(9), 
    fire(10)
} (0..255)

/**
 * This DE represents the height of the left or right longitude carrier of vehicle from base to top (left or right carrier seen from vehicle
 * rear to front). For values equal to or greater than 99 cm, the DE shall be set to 99.
 * If the value is unavailable, the DE shall be set to 100.
 *
 * @unit 1 centimeter
 * @category Vehicle information
 */
HeightLonCarr ::= INTEGER {
    oneCentimeter(1), 
    unavailable(100)
} (1..100)

/**
 * This DE represents the value of the sub cause code of the @ref CauseCode `humanPresenceOnTheRoad`.
 * 
 * The following values are specified:
 * - 0 `unavailable`          : in case further detailed information on human presence on the road is unavailable,
 * - 1 `childrenOnRoadway`    : in case children are detected on the road event,
 * - 2 `cyclistOnRoadway`     : in case cyclist presence is detected on the road,
 * - 3 `motorcyclistOnRoadway`: in case motorcyclist presence is detected on the road,
 * - 4-255 reserved for future usage.
 *
 * @category: Traffic information
 */
HumanPresenceOnTheRoadSubCauseCode ::= INTEGER {unavailable(0), childrenOnRoadway(1), cyclistOnRoadway(2), motorcyclistOnRoadway(3)} (0..255)

/**
 * This DE represents the value of the sub cause codes of the @ref CauseCode "humanProblem".
 * 
 * The following values are specified:
 * - 0 `unavailable`    : in case further detailed information on human health problem is unavailable,
 * - 1 `glycemiaProblem`: in case human problem is due to glycaemia problem,
 * - 2 `heartProblem`   : in case human problem is due to heart problem,
 * - 3-255 reserved for future usage.
 *
 * @category: Traffic information
 */
HumanProblemSubCauseCode ::= INTEGER {
    unavailable(0), 
    glycemiaProblem(1), 
    heartProblem(2)
} (0..255)

/** 
 * This DE is a general identifier.
 * 
 * @category: tbd
*/
Identifier ::= INTEGER (0..255)

/**
 * This DE represents the quality level of provided information.
 * 
 * 
 * @category: Other information
 * @note:	Definition of quality level is out of scope of the present document.
 */
InformationQuality ::= INTEGER {
    unavailable(0), 
    lowest(1), 
    highest(7)
} (0..7)

/** 
 * This DE defines the type of an interference management zone, so that an ITS-S can 
 * assert the actions to do while passing by such zone (e.g. reduce the transmit power in case of a DSRC tolling station).
 *
 * The value are specified as following:
 * - permanentCenDsrcTolling(0), --!< as specified in ETSI TS 102 792
 * - temporaryCenDsrcTolling(1), --!< as specified in ETSI TS 102 792
 * - unavailable(2),             --!< default value. Set to 2 for backwards compatibility with DSRC tolling
 * - urbanRail(3),               --!< as specified in ETSI TS 103 724, clause 7
 * - satelliteStation(4),        --!< as specified in ETSI TS 103 724, clause 7
 * - fixedLinks(5),              --!< as specified in ETSI TS 103 724, clause 7
 *
 * @category: Communication information
 */
InterferenceManagementZoneType ::= ENUMERATED {
    permanentCenDsrcTolling(0), --!< as specified in ETSI TS 102 792
    temporaryCenDsrcTolling(1), --!< as specified in ETSI TS 102 792
    unavailable(2),             --!< default value. Set to 2 for backwards compatibility with DSRC tolling
    urbanRail(3),               --!< as specified in ETSI TS 103 724, clause 7
    satelliteStation(4),        --!< as specified in ETSI TS 103 724, clause 7
    fixedLinks(5),              --!< as specified in ETSI TS 103 724, clause 7
    ...
}

/**
 * This DE represents the identifier of an intersection
 * 
 * @category: Communication information
 */
IntersectionID ::= INTEGER (0..65535)

/**
 * This DE indicates the transversal position information on the road in resolution of lanes, counted from
 * the inside border of the road for a given traffic direction. For example, the innermostDrivingLane corresponds
 * to the left most lane of the carriageway in a country with right-land traffic, and to the right most lane of the
 * carriageway in a left-land traffic (e.g. in UK). The value -1 denotes that the referenced position is outside the road.
 * 
 * @category: Road topology information
*/
LanePosition ::= INTEGER {
    offTheRoad(-1), 
    innerHardShoulder(0), 
    innermostDrivingLane(1),  
    secondLaneFromInside(2), 
    outerHardShoulder(14) 
} (-1..14)

/**
 *Thios DE represents the identifier of a lane.
 *
 * @note: the context of the identification (e.g. the intersection geometry of a MAPEM) is defined outside the DE
 *  
 * @category: Road topology information
*/
LaneId ::= INTEGER (0..255)

/**
 * This DE represents the type of a lane. The  following values are specified:
 *
 * - 0	traffic:				Lane dedicated to the movement of vehicles.
 * - 1	through:				Lane dedicated to the movement of vehicles travelling ahead and not turning.
 * - 2	reversible:				Lane where the direction of traffic can be changed to match the peak flow.
 * - 3	acceleration:			Lane that allows vehicles entering a road to accelerate to the speed of through traffic before merging with it.
 * - 4	deceleration:			Lane that allows vehicles exiting a road to decelerate before leaving it.
 * - 5	leftHandTurning:		Lane reserved for slowing down and making a left turn, so as not to disrupt traffic.
 * - 6	rightHandTurning:		Lane reserved for slowing down and making a right turn so as not to disrupt traffic.
 * - 7	dedicatedVehicle:		Lane dedicated to movement of motor vehicles with specific characteristics, such as heavy goods vehicles, etc. 
 * - 8	bus:					Lane: dedicated to movement of buses providing public transportation.
 * - 9	taxi:					Lane dedicated to movement of taxis.
 * - 10	hov:					Carpooling lane or high occupancy vehicle lane.
 * - 11	hot:					High occupancy vehicle lanes that is allowed to be used without meeting the occupancy criteria by paying a toll.
 * - 12	pedestrian:				Lanes dedicated to pedestrians such as pedestrian sidewalk paths.
 * - 13	bikeLane:				Lane dedicated to exclusive or preferred use by bicycles.
 * - 14	median:					Lane not dedicated to movement of vehicles but representing medians and channelization such as the central median separating the two directional carriageways of the highway.
 * - 15	striping:				Lane not dedicated to movement of vehicles but covered with roadway markings.
 * - 16	trackedVehicle:			Lane dedicated to movement of trains and trolleys.
 * - 17	parking:				Lanes dedicated to vehicles parking, stopping and loading lanes.
 * - 18	emergency:				Lane dedicated to vehicles in breakdown or to emergency vehicles also called hard shoulder.
 * - 19	verge:					Lane representing the verge, i.e. a narrow strip of grass or plants and sometimes also trees located between the road surface edge and the boundary of a road.
 * - 20	minimumRiskManoeuvre:	Lane dedicated to automated vehicles making a minimum risk manoeuvre.
 * - values 21 to 30:            reserved for future use 
 *
 * @category: Road topology information
*/
LaneType::= INTEGER{
	traffic 			(0),
	through				(1),
	reversible			(2),
	acceleration		(3),
	deceleration		(4),
	leftHandTurning		(5),
	rightHandTurning	(6),
	dedicatedVehicle	(7),
	bus					(8),
	taxi				(9),
	hov					(10),
	hot					(11),
	pedestrian			(12),
	bikeLane			(13),
	median              (14),   
	striping			(15),
	trackedVehicle		(16),
	parking				(17),
	emergency			(18),
	verge 				(19),
	minimumRiskManoeuvre(20),
	unknown				(31)
}(0..31)

/**
 * This DE represents the absolute geographical latitude in a WGS84 coordinate system, providing a range of 90 degrees in north or
 * in south hemisphere.
 *
 * - Positive values are used for latitude in north of the Equator,
 * - Negative values are used for latitude in south of the Equator.
 * - When the information is unavailable, the value shall be set to _900 000 001_.
 *
 * @unit: 0.1 microdegree
 * @category: GeoReference information
 */
Latitude ::= INTEGER {
    oneMicrodegreeNorth (10),
    oneMicrodegreeSouth (-10),
    unavailable(900000001)
} (-900000000..900000001)

/**
 * This DE represenst the vehicle acceleration at lateral direction in the centre of the mass of the empty vehicle.
 * It corresponds to the vehicle coordinate system as specified in ISO 8855 [2].
 * - Negative value indicates that the vehicle is accelerating towards the right side with regards to the vehicle orientation.
 * - For values equal to or greater than 16 m/s2 towards the right, the value shall be set to -160.
 * - Positive values indicate the acceleration to the left hand side with regards to the vehicle orientation.
 * - For values equal to or greater than 16 m/s2 towards the left, the value shall be set to 160.
 * - When the information is not available, the value shall be set to 161.
 * 
 * 
 * @note:	The empty load vehicle is defined in ISO 1176 [i.9], clause 4.6.
 *  
 * @unit: 0.1 m/s<sup>2</sup>
 * @category Vehicle information
 */
LateralAccelerationValue ::= INTEGER {pointOneMeterPerSecSquaredToRight(-1), pointOneMeterPerSecSquaredToLeft(1), unavailable(161)} (-160 .. 161)

/**
 * This DE indicates the status of light bar and any sort of audible alarm system besides the horn.
 * This includes various common sirens as well as backup up beepers and other slow speed manoeuvring alerts.
 * When the light bar or audible alarm is active, the corresponding bits shall be set to 1.
 * Otherwise, it shall be set to 0.
 *
 * @category Vehicle information
 */
LightBarSirenInUse ::= BIT STRING {
    lightBarActivated (0),
    sirenActivated (1)
} (SIZE(2))

/**
 * This DE represents the absolute geographical longitude in a WGS84 co-ordinate system, providing a range of 180 degrees
 * to the east or to the west of the prime meridian.
 *
 * - Negative values are used for longitudes to the west,
 * - Positive values are used for longitudes to the east.
 * - When the information is unavailable, the value shall be set to _1 800 000 001_.
 *
 * @unit: 0.1 microdegree
 * @category: GeoReference information
 */
Longitude ::= INTEGER {
    oneMicrodegreeEast (10),
    oneMicrodegreeWest (-10),
    unavailable(1800000001)
} (-1800000000..1800000001)

 /**
 * This DE represents the vehicle acceleration at longitudinal direction in the centre of the mass of the empty vehicle.
 * It corresponds to the vehicle coordinate system as specified in ISO 8855 [2].
 *
 * The following values are specified:
 * - Negative values indicate that the vehicle is braking.
 * - For values equal to or greater than 16 m/s2, the value shall be set to -160.
 * - Positive values indicate that the vehicle is accelerating.
 * - For acceleration equal to or greater than 16 m/s2 the value shall be set to 160.
 * - When the data is unavailable, the value shall be set to 161.
 * 
 * This acceleration is along the tangent plane of the road surface and does not include gravity components.
 * 
 * @note: The empty load vehicle is defined in ISO 1176 [i.9], clause 4.6.
 * @category: Vehicle information
 */
LongitudinalAccelerationValue ::= INTEGER {pointOneMeterPerSecSquaredForward(1), pointOneMeterPerSecSquaredBackward(-1), unavailable(161)} (-160 .. 161)

/** 
 * This DE represents the longitudinal offset of the map-matched position of a particular object along the
 * matched lane, beginning from the lane’s starting point as defined in CEN ISO/TS 19091
 * 
 * @unit 0,1 m
 * @category: Road topology information
*/
LongitudinalLanePositionValue ::= INTEGER {
    zeroPointOneMeter   (1)
} (0..32767)

/** 
 * This DE represents the absolute accuracy of longitudinal lane position measurement to a confidence level of 95%.
 *
 * The following values are specified:
 * - zeroPointZeroOneMeter   (1): examplary value of 0,01 meter
 * - oneMeter                (100): examplary value of 1 meter
 * - outOfRange              (101): if the accuracy is out of range
 * - unavailable             (102): if the accuracy data is unavailable
 *
 * @unit 0,01 m
 * @category: Road topology information
*/
LongitudinalLanePositionConfidence ::= INTEGER {
    zeroPointZeroOneMeter   (1),
    oneMeter                (100),
    outOfRange              (101),
    unavailable             (102)  
} (0..102)

/** 
 * This DE represents the type of facility layer message.
 *
 *  The following values are specified:
 *	- 1 `denm`: Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3 [i.3],
 *  - 2 `cam`: Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2 [i.2],
 *  - 3 `poi`: Point of Interest message as specified in ETSI TS 101 556-1 [i.11],
 *  - 4 `spatem`: Signal Phase And Timing (SPAT) message as specified in SAE J2735 [i.12] and in ETSI TS 103 301 [i.17],
 *  - 5 `mapem`: MAP message as specified in SAE J2735 [i.12] and in ETSI TS 103 301 [i.17],
 *  - 6 `ivim`: In Vehicle Information (IVI) message as defined in ISO TS 19321 [i.13],
 *  - 7 `ev-rsr`: Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3 [i.14],
 *  - 8 `tistpgtransaction`: messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2 i.15,
 *  - 9 `srem`: Traffic light Signal Request Message as specified in ETSI TS 103 301 [i.17],
 *  - 10 `ssem`: Traffic Light Signal Request Status Message as specified in ETSI TS 103 301 [i.17].
 *  - 11 `evcsn`: Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1 [i.11],
 *  - 12 `saem`: Services Announcement Extended Message as specified in ETSI TS 102 890-1 i.19,
 *  - 13 `rtcmem`: Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301 [i.17],
 *  - 14 `vam` : Vulnerable Road User Awareness Message as specified in ETS TS 130 300-3
 *  - 14-255: reserved for future usage,
 *
 * @category: Communication information
 * Revision: Created in V2.1.1
 */
MessageId::= INTEGER { 
    denm(1),  
    cam(2), 
    poi(3), 
    spatem(4), 
    mapem(5), 
    ivim(6), 
    ev-rsr(7), 
    tistpgtransaction(8), 
    srem(9), 
    ssem(10), 
    evcsn(11), 
    saem(12), 
    rtcmem(13), 
    vam(14) 
} (0..255)

/**
 * This DE represents the number of occupants in a vehicle.
 *
 * The following values are specified:
 * - For values equal to or higher than 126, the value shall be set to `126`.
 * - If the information is not available, the value shall be set to `127`.
 *
 * @unit: 1 person
 * @category: Vehicle information
 */
NumberOfOccupants ::= INTEGER {oneOccupant (1), unavailable(127)} (0 .. 127)

/** 
 * This DE represents the confidence value for the type of a detected object.
 * 
 * The following values are specified:
 *
 * - unknown             (0),    --< in case the confidence value is unknown but the reported
 * -                               --< classification is still valid.
 * - onePercent          (1),
 * - oneHundredPercent   (100),
 * - unavailable         (101)   --< In case the class confidence value computation is not available
 *                               --< for this object. Indicates that the class assignment is invalid.
 * @unit Percent 
 * @category: Sensing information 
*/
ObjectClassConfidence ::= INTEGER {
    unknown             (0),   
    onePercent          (1),
    oneHundredPercent   (100),
    unavailable         (101)  
} (0..101)

/** 
 * This DE represents a single-value indication about the overall information quality of a perceived object on the computation.
 * 
 * The following values are specified:
 *  
 * - noConfidence        (0),    --< No confidence in detected object, e.g. for "ghost"-objects or
 * -                             --< if confidence could not be computed
 * -  fullConfidence     (15)    --< Full confidence in detected ObjectDescriptor
 * -
 * @unit n/a
 * @category: Sensing information
*/
ObjectConfidence ::= INTEGER {
    noConfidence        (0), 
    fullConfidence      (15) 
} (0..15)

/** 
 * This DE represents a single dimension of an object.
 *
 * @unit 0,1 m
 * @category: Sensing information
*/
ObjectDimensionValue ::= INTEGER {
    zeroPointOneMeter   (1),
    oneMeter            (10)
} (0..1023)

/** 
 * This DE represents the accuracy of the provided object dimension value with a  confidence level of 95%.
 *
 * @unit 0,01 m
 * @category: Sensing information
*/
ObjectDimensionConfidence ::= INTEGER {
    zeroPointZeroOneMeter   (1),
    oneMeter                (100),
    outOfRange              (101),
    unavailable             (102)
} (0..102)

/**
 * The DE indicates whether the detected object is classified as a dynamic (i.e. moving) object.
 * This value indicates whether an object has the general capability to move, i.e. change its
 * position.
 *
 * The following values are specified:
 * -  dynamic             (0),    --< the object is moving
 * -  hasBeenDynamic      (1),    --< indicates whether an object has been dynamic before, e.g., a car
 * -                               --< stopping at a traffic light
 * -  static              (2)     --< shall be used in case an object is identified to be not moving
 * -                               --< throughout any previous observation
 *
 * @unit n/a
 * @category: Sensing information
*/
ObjectDynamicStatus ::= INTEGER { -- t.b.d add unavailable
    dynamic             (0),
    hasBeenDynamic      (1),
    static              (2)    
} (0..2)

/** 
 * This DE indicate the approximate position of the reference point of measurement for the object dimensions. 
 * The point is included in the plane perpendicular to the direction of the object´s @ref yawAngleValue.
 *
 * @unit n/a
 * @category: Sensing information
*/
ObjectRefPoint ::= INTEGER {
    mid             (0),
    bottomLeft      (1),
    midLeft         (2),
    topLeft         (3),
    bottomMid       (4),
    topMid          (5),
    bottomRight     (6),
    midRight        (7),
    topRight        (8)
} (0..8)

/** 
 * This DE represents positions with lane-level accuracy which are not on regular traffic lanes. 
 * 
 * The following values are specified:
 * - unavailable(0): in case information on the lane position is unavailable,
 * - sidewalk (1),
 * - parkingLane (2), an area at the side of the road not intended for travel but for vehicular parking,
 * - bikeLane (3), an area reserved for bicycles,
 * - value 4-15: reserved for future usage. Value 15 set to "max" in order to bound the size of the encoded field.
 *
 * @unit n/a
 * @category: Road topology information

*/
OffRoadLanePosition ::= ENUMERATED {
   unavailable(0), 
   sidewalk(1), 
   parkingLane(2), 
   bikeLane(3), 
   max(15)
}

/**
 * This DE represents a time period to describe the opening days and hours of a Point of Interest
 * (for example local commerce).
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Time information
 */
OpeningDaysHours ::= UTF8String 

/** 
 * This DE indicates the subclass of a detected object for object class "otherSubclass".
 *
 * The following values are specified:
 * - unknown(0): the subclasss is unknown.
 * - roadSideUnit (1): the object is a roadside unit.
 *
 * @category: Sensing information
 * Revision: Created in V2.1.1
 */
OtherSubclass ::= INTEGER {
    unknown         (0),
    roadSideUnit    (1)
} (0..255)

/**
 * This DE represents the recorded or estimated travel time between a position and a predefined reference position. 
 *
 * @unit 0.01 second
 * @category GeoReference information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PathDeltaTime ::= DeltaTimeHundredthOfSecond
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE denotes the ability of an ITS-S to provide up-to-date information.
 * A performance class value is used to describe age of data. The exact values are out of scope of the present document.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * As defined in ETSI TS 101 539-1 [i.6], performance class A shall be set to `1`, performance class B shall be set to 2.
 * When the performance class is unknown, it shall be set to `0`. 
 * 
 * Values in the range `3 to 7` are reserved for future use.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Vehicle information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PerformanceClass ::= INTEGER { --tbd semantics
    unavailable(0), 
    performanceClassA(1), 
    performanceClassB(2)} (0..7)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents a telephone number
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Other information
 */
PhoneNumber ::= NumericString (SIZE(1..16))

/**
 * This DE indicates the perpendicular distance from the centre of mass of an empty load vehicle to the front line of
 * the vehicle bounding box of the empty load vehicle.
 *
 * The following values are specified:
 * - The DE is set to any aplicable value between 0,1 meter and 6,2 meters. 
 * - For values equal to or higher than 6.2 metres, the data value be set to `62`.
 * - The value shall be set to `63` if the information is unavailable.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @note:	The empty load vehicle is defined in ISO 1176 [i.9], clause 4.6.
 *
 * @unit 0,1 metre 
 * @category Vehicle information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PosCentMass ::= INTEGER {
    tenCentimeters(1), 
    unavailable(63)
} (1..63)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates the positioning technology being used to estimate a geographical position.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The followin values are specified:
 * - o `noPositioningSolution`: no positioning solution used,
 * - 1 `sGNSS`: Global Navigation Satellite System used,
 * - 2 `dGNSS`: Differential GNSS used,
 * - 3 `sGNSSplusDR`: GNSS and dead reckoning used,
 * - 4 `dGNSSplusDR`: Differential GNSS and dead reckoning used,
 * - 5 `dR`: dead reckoning used.
 *
 * @category: GeoReference information
 */
PositioningSolutionType ::= ENUMERATED {
    noPositioningSolution(0), 
    sGNSS(1), dGNSS(2), 
    sGNSSplusDR(3), 
    dGNSSplusDR(4), 
    dR(5), ...}

/**
 * This DE indicates whether a passenger seat is occupied or whether the occupation status is detectable or not.
 * 
 * The number of row in vehicle seats layout is counted in rows from the driver row backwards from front to the rear
 * of the vehicle.
 * The left side seat of a row refers to the left hand side seen from vehicle rear to front.
 * Additionally, a bit is reserved for each seat row, to indicate if the seat occupation of a row is detectable or not,
 * i.e. `row1NotDetectable (3)`, `row2NotDetectable(8)`, `row3NotDetectable(13)` and `row4NotDetectable(18)`.
 * Finally, a bit is reserved for each row seat to indicate if the seat row is present or not in the vehicle,
 * i.e. row1NotPresent `(4)`, row2NotPresent `(9)`, `row3NotPresent(14)`, `row4NotPresent(19)`.
 * 
 * When a seat is detected to be occupied, the corresponding seat occupation bit shall be set to `1`.
 * For example, when the row 1 left seat is occupied, `row1LeftOccupied(0)` bit shall be set to 1.
 * When a seat is detected to be not occupied, the corresponding seat occupation bit shall be set to `0`.
 * Otherwise, the value of seat occupation bit shall be set according to the following conditions:
 * - If the seat occupation of a seat row is not detectable, the corresponding bit shall be set to `1`.
 *   When any seat row not detectable bit is set to `1`, all corresponding seat occupation bits of the same row
 *   shall be set to `1`.
 * - If the seat row is not present, the corresponding not present bit of the same row shall be set to `1`.
 *   When any of the seat row not present bit is set to `1`, the corresponding not detectable bit for that row
 *   shall be set to `1`, and all the corresponding seat occupation bits in that row shall be set to `0`.
 * 
 * @category: Vehicle information
 */
PositionOfOccupants ::= BIT STRING {
    row1LeftOccupied (0),
    row1RightOccupied (1),
    row1MidOccupied (2),
    row1NotDetectable (3),
    row1NotPresent (4),
    row2LeftOccupied (5),
    row2RightOccupied (6),
    row2MidOccupied (7),
    row2NotDetectable (8),
    row2NotPresent (9),
    row3LeftOccupied (10),
    row3RightOccupied (11),
    row3MidOccupied (12),
    row3NotDetectable (13),
    row3NotPresent (14),
    row4LeftOccupied (15),
    row4RightOccupied (16),
    row4MidOccupied (17),
    row4NotDetectable (18),
    row4NotPresent (19)} (SIZE(20))

/**
 * This DE indicates the perpendicular distance between the vehicle front line of the bounding box and the front wheel axle in 10 centimetres.
 *
 * The following values are specified:
 * - The DE is set to any aplicable value between 0,1 meter and 1,9 meters. 
 * - For values equal to or higher than 1.9 metres, the DE shall be set to `19`.
 * - The value shall bet set to `20` if the information is unavailable.
 *
 * @category: Vehicle information
 * @unit 0.1 metre
 */
PosFrontAx ::= INTEGER {tenCentimeters(1), unavailable(20)} (1..20)

/**
 * This DE represents the distance from the centre of vehicle front bumper to the right or left longitudinal carrier of vehicle.
 * The left/right carrier refers to the left/right as seen from a passenger sitting in the vehicle.
 *
 * The following values are specified:
 * - The DE is set to any aplicable value between 0,01 meter and 1,26 meters. 
 * - For values equal to or higher than 1.26 metres, the value shall be set to `126`.
 * - If the information is unavailable, the value shall be set to `127`.
 *
 * @unit 0,01 metre 
 * @category Vehicle information
 */
PosLonCarr ::= INTEGER {oneCentimeter(1), unavailable(127)} (1..127)

/**
 * This DE represents the perpendicular inter-distance of neighbouring pillar axis of vehicle starting from the
 * middle point of the front line of the vehicle bounding box.
 *
 * The following values are specified:
 * - The DE is set to any aplicable value between 0,1 meter and 2,9 meters. 
 * - For values equal to or greater than 2.9 metres, the value shall be set to `29`.
 * - The value shall be set to `30` if the information is unavailable.
 * 
 * @unit 0,1 metre 
 * @category Vehicle information
 */
PosPillar ::= INTEGER {tenCentimeters(1), unavailable(30)} (1..30)

/**
 * This DE represents the value of the sub cause codes of the @ref CauseCode `postCrash` .
 * 
* The following values are specified:
 * - 0 `unavailable`: in case further detailed information on post crash event is unavailable,
 * - 1 `accidentWithoutECallTriggered`: in case no eCall has been triggered for an accident,
 * - 2 `accidentWithECallManuallyTriggered`: in case eCall has been manually triggered and transmitted to eCall back end,
 * - 3 `accidentWithECallAutomaticallyTriggered`: in case eCall has been automatically triggered and transmitted to eCall back end,
 * - 4 `accidentWithECallTriggeredWithoutAccessToCellularNetwork`: in case eCall has been triggered but cellular network is not accessible from triggering vehicle,
 * - 5-255: reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
PostCrashSubCauseCode ::= INTEGER {
    unavailable(0), 
    accidentWithoutECallTriggered (1), 
    accidentWithECallManuallyTriggered (2), 
    accidentWithECallAutomaticallyTriggered (3), 
    accidentWithECallTriggeredWithoutAccessToCellularNetwork(4)
Denis Filatov's avatar
Denis Filatov committed
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represenst the indentifier of a protected communication zone.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * 
 * @category: Infrastructure information, Communication information
 */
ProtectedZoneID ::= INTEGER (0.. 134217727)

/**
 * This DE represenst the radius of a protected communication zone. 
 * 
 * 
 * @unit: metre
 * @category: Infrastructure information, Communication information
 */
ProtectedZoneRadius ::= INTEGER {oneMeter(1)} (1..255,...)

/**
 * This DE indicates the type of a protected communication zone, so that an ITS-S is aware of the actions to do
 * while passing by such zone (e.g. reduce the transmit power in case of a DSRC tolling station).
 * 
 * The protected zone type is defined in ETSI TS 102 792 [i.16].
 * 
 * 
 * @category: Communication information
 */
ProtectedZoneType::= ENUMERATED {
    permanentCenDsrcTolling (0), 
    ..., 
    temporaryCenDsrcTolling (1) 
}

/**
 * This DE is used for various tasks in the public transportation environment, especially for controlling traffic
 * signal systems to prioritize and speed up public transportation in urban area (e.g. intersection "_bottlenecks_").
 * The traffic lights may be controlled by an approaching bus or tram automatically. This permits "_In Time_" activation
 * of the green phase, will enable the individual traffic to clear a potential traffic jam in advance. Thereby the
 * approaching bus or tram may pass an intersection with activated green light without slowing down the speed due to
 * traffic congestion. Other usage of the DE is the provision of information like the public transport line number
 * or the schedule delay of a public transport vehicle.
 * 
 */
PtActivationData ::= OCTET STRING (SIZE(1..20))

/**
 * This DE indicates a certain coding type of the PtActivationData data.
 *
 * The folowing value are specified:
 * - `0`: undefined coding type,
 * - `1`: coding of PtActivationData conform to VDV recommendation 420 [i.8],
 * - `2`: coding of PtActivationData based on VDV recommendation 420 [i.8].
 * - values 3 to 255 are reserved for alternative and future use.
 * 
 * @category: Vehicle information 
 */
PtActivationType ::= INTEGER {undefinedCodingType(0), r09-16CodingType(1), vdv-50149CodingType(2)} (0..255)

/** 
 * This DE represents a reference point counter for a trailer.
 * @unit n/a
*/
RefPointId ::= INTEGER (0..255)

/**
 * This DE describes a distance of relevance for information indicated in a message.
 *
 * @category: GeoReference information
 */
RelevanceDistance ::= ENUMERATED {
    lessThan50m(0), 
    lessThan100m(1), 
    lessThan200m(2), 
    lessThan500m(3), 
    lessThan1000m(4), 
    lessThan5km(5), 
    lessThan10km(6), 
    over10km(7)
}

/**
 * This DE indicates a traffic direction that is relevant to information indicated in a message.
 * 
 * The terms `upstream`, `downstream` and `oppositeTraffic` are relative to the event position.
 *
 * @note: Upstream traffic corresponds to the incoming traffic towards the event position,
 * and downstream traffic to the departing traffic away from the event position.
 *
 * @category: GeoReference information
 */
RelevanceTrafficDirection ::= ENUMERATED {
    allTrafficDirections(0), 
    upstreamTraffic(1), 
    downstreamTraffic(2), 
    oppositeTraffic(3)}

/**
 * This DE indicates whether an ITS message is transmitted as request from ITS-S or a response transmitted from
 * ITS-S after receiving request from other ITS-Ss.
 *
 * @category Communication information
 */
RequestResponseIndication ::= ENUMERATED {
    request(0), 
    response(1)
}

/**
 * This DE represents the value of the sub cause codes of the @ref CauseCode `rescueAndRecoveryWorkInProgress` 
 * 
 * The following value are specified:
 * - 0 `unavailable`             : in case further detailed information on rescue and recovery work is unavailable,
 * - 1 `emergencyVehicles`       : in case rescue work is ongoing by emergency vehicles,
 * - 2 `rescueHelicopterLanding` : in case rescue helicopter is landing,
 * - 3 `policeActivityOngoing`   : in case police activity is ongoing,
 * - 4 `medicalEmergencyOngoing` : in case medical emergency recovery is ongoing,
 * - 5 `childAbductionInProgress`: in case a child kidnapping alarm is activated and rescue work is ongoing,
 * - 6-255: reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
RescueAndRecoveryWorkInProgressSubCauseCode ::= INTEGER {
   unavailable(0), 
   emergencyVehicles(1), 
   rescueHelicopterLanding(2), 
   policeActivityOngoing(3), 
   medicalEmergencyOngoing(4), 
   childAbductionInProgress(5)
Denis Filatov's avatar
Denis Filatov committed
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents A unique identifier assigned to an entity.
 * 
 * @category: Road Topology Information
 */
RoadRegulatorId ::= INTEGER (0..65535)

/**
 * This DE represnets an identifier assigned to a section of roadway.
 * 
 * @category: Road Topology Information
 */
RoadSegmentID ::= INTEGER (0..65535)

/**
 * This DE indicates the type of a road segment.
 * 
 * @category: Road Topology Information
 */
RoadType ::= ENUMERATED {
    urban-NoStructuralSeparationToOppositeLanes(0),
    urban-WithStructuralSeparationToOppositeLanes(1),
    nonUrban-NoStructuralSeparationToOppositeLanes(2),
    nonUrban-WithStructuralSeparationToOppositeLanes(3)}

/**
 * This DE represents the value of the sub cause codes of the @ref CauseCode `roadworks`.
 * 
Denis Filatov's avatar
Denis Filatov committed
 * The sub causes are described as following:
tijinkj's avatar
tijinkj committed
 * - 0 `unavailable`                 : in case further detailed information on roadworks is unavailable,
 * - 1 `majorRoadworks`              : in case a major roadworks is ongoing,
 * - 2 `roadMarkingWork`             : in case a road marking work is ongoing,
 * - 3 `slowMovingRoadMaintenance`   : in case slow moving road maintenance work is ongoing,
 * - 4 `shortTermStationaryRoadworks`: in case a short term stationary roadwork is ongoing,
 * - 5 `streetCleaning`              : in case a vehicle street cleaning work is ongoing,
 * - 6 `winterService`               : in case winter service work is ongoing,
 * - 7-255 reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
RoadworksSubCauseCode ::= INTEGER {
    unavailable(0), 
    majorRoadworks(1),
    roadMarkingWork(2), 
    slowMovingRoadMaintenance(3), 
    shortTermStationaryRoadworks(4), 
   streetCleaning(5), 
   winterService(6)
Denis Filatov's avatar
Denis Filatov committed
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates if a distance is safe 
 * This DE is FALSE  if  the triple  {LaD,  LoD, VD} < {MSLaD, MSLoD, MSVD} simultaneously  satisfied with confidence of  90 % or  more. 
 * Otherwise  stationSafeDistanceIndication is set as  TRUE   3
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @Note: the ebbreviations used are Lateral Distance (LaD),  Longitudinal Distance (LoD) and Vertical Distance (VD) 
 * and their respective  thresholds, Minimum  Safe  Lateral  Distance (MSLaD), Minimum  Safe  Longitudinal Distance  (MSLoD),  and  Minimum  Safe Vertical Distance (MSVD)
 * @category: tbd
 * Revision: created in V2.1.1
*/
SafeDistanceIndicator::= BOOLEAN

/**
 * This DE represenst the absolute position accuracy in one of the axis direction as defined in a shape of ellipse with a 
 * confidence level of 95 %. 
 * 
 * The value shall be set to:
 * - `1` if the accuracy is equal to or less than 1 cm,
 * - `n (n > 1 and n < 4 093)` if the accuracy is equal to or less than n cm,
 * - `4 093` if the accuracy is equal to or less than 4 093 cm,
 * - `4 094` if the accuracy is out of range, i.e. greater than 4 093 cm,
 * - `4 095` if the accuracy information is unavailable.
 * 
 * 
 * @note:	The fact that a position coordinate value is received with confidence set to 'unavailable(4095)'
 * can be caused by several reasons, such as:
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
 * In all 3 cases above, the reported position coordinate value may be valid and used by the application.
 * If a position coordinate value is received and its confidence is set to 'outOfRange(4094)', it means that
 * the reported position coordinate value is not valid and therefore cannot be trusted. Such value is not useful
 * for the application.
 */
SemiAxisLength ::= INTEGER{oneCentimeter(1), outOfRange(4094), unavailable(4095)} (0..4095)

/** 
 * This DE indicates the type of sensor.
 * 
 * The following values are specified:
 * - undefined       (0),
 * - radar           (1),
 * - lidar           (2),
 * - monovideo       (3),
 * - stereovision    (4),
 * - nightvision     (5),
 * - ultrasonic      (6),
 * - pmd             (7),
 * - fusion          (8),    --< object information provided from sensor data fusion system
 * - inductionloop   (9),
 * - sphericalCamera (10),
 * - itssaggregation (11)    --< object information gathered from other received ITS messages
 * @unit n/a
*/
SensorType ::= INTEGER {
    undefined       (0),
    radar           (1),
    lidar           (2),
    monovideo       (3),
    stereovision    (4),
    nightvision     (5),
    ultrasonic      (6),
    pmd             (7),
    fusion          (8), 
    inductionloop   (9),
    sphericalCamera (10),
    itssaggregation (11) 
} (0..15)

/**
 * This DE represents a sequence number.
 * 
 * @category Other information
 */
SequenceNumber ::=  INTEGER (0..65535)

/**
 * This DE represenst thevalue of the sub cause codes of the @ref CauseCode `signalViolation`.
 * 
 * The following values are specified:
 * - 0 `unavailable`               : in case further detailed information on signal violation event is unavailable,
 * - 1 `stopSignViolation`         : in case a stop sign violation is detected,
 * - 2 `trafficLightViolation`     : in case a traffic light violation is detected,
 * - 3 `turningRegulationViolation`: in case a turning regulation violation is detected,
 * - 4-255: reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
SignalViolationSubCauseCode ::= INTEGER {
    unavailable(0), 
    stopSignViolation(1), 
    trafficLightViolation(2), 
    turningRegulationViolation(3)
Denis Filatov's avatar
Denis Filatov committed
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the sub cause codes of the @ref CauseCode "slowVehicle".
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The following values are specified:
Denis Filatov's avatar
Denis Filatov committed
 * - 0 `unavailable`                    : in case further detailed information on slow vehicle driving event is
 *                                        unavailable,
 * - 1 `maintenanceVehicle`             : in case of a slow driving maintenance vehicle on the road,
 * - 2 `vehiclesSlowingToLookAtAccident`: in case vehicle is temporally slowing down to look at accident, spot, etc.,
 * - 3 `abnormalLoad`                   : in case an abnormal loaded vehicle is driving slowly on the road,
 * - 4 `abnormalWideLoad`               : in case an abnormal wide load vehicle is driving slowly on the road,
 * - 5 `convoy`                         : in case of slow driving convoy on the road,
 * - 6 `snowplough`                     : in case of slow driving snow plough on the road,
 * - 7 `deicing`                        : in case of slow driving de-icing vehicle on the road,
 * - 8 `saltingVehicles`                : in case of slow driving salting vehicle on the road,
 * - 9-255 reserved for future usage.
 * 
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
SlowVehicleSubCauseCode ::= INTEGER {
    unavailable(0), 
    maintenanceVehicle(1), 
    vehiclesSlowingToLookAtAccident(2), 
    abnormalLoad(3), 
    abnormalWideLoad(4), 
    convoy(5), 
    snowplough(6), 
    deicing(7), 
    saltingVehicles(8)
} (0..255)

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DE indicates if a vehicle is carrying goods with heavy load, excess width, excess length or excess height.
 * The corresponding bit shall be set to 1 when the special transport applies to the corresponding case.
 * Otherwise, the corresponding bit shall be set to 0.
 *
 * @category Vehicle information
 */
SpecialTransportType ::= BIT STRING {
    heavyLoad(0),
    excessWidth(1), 
    excessLength(2), 
    excessHeight(3)
} (SIZE(4))

/**
 * This DE represents the absolute accuracy of a speed value information for a predefined confidence level.
 * The required confidence level is defined by the station applying this DE.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The value shall be set to:
 * - `1` if the speed accuracy is equal to or less than `1 cm/s`.
 * - `n (n > 1 and n < 125)` if the speed accuracy is equal to or less than `n cm/s`.
 * - `125` if the speed accuracy is equal to or less than `125 cm/s`.
 * - `126` if the speed accuracy is out of range, i.e. greater than `125 cm/s`.
 * - `127` if the speed accuracy information is not available.
 * 
 * 
 * @note:	The fact that a speed value is received with confidence set to `unavailable(127)` can be caused by several reasons, such as:
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
 * In all 3 cases above, the reported speed value may be valid and used by the application.
 * 
 * @note: If a speed value is received and its confidence is set to `outOfRange(126)`, it means that the reported speed value is not valid and therefore cannot be trusted. Such is not useful for the application.
 *
 * @unit cm/s
 * @category: Vehicle information
 */
SpeedConfidence ::= INTEGER {
    equalOrWithinOneCentimeterPerSec(1), 
    equalOrWithinOneMeterPerSec(100), 
    outOfRange(126), 
    unavailable(127)
} (1..127)

/**
 * This DE represents a speed limitation applied to a geographical position, a road section or a geographical region.
 * 
 * @unit: km/h
 * @category: Infrastructure information, Traffic information
 */
SpeedLimit ::= INTEGER {
    oneKmPerHour(1)
} (1..255)

/**
 * This DE represents a speed value. 
 *
 * The following values are specified:
 * - standstill(0): this value is set for a standstill situation.
 * - In case of movement, DE is set to the applicable value between `0,01` and `163,82 m/s`.
 * - oneCentimeterPerSec(1): is an examplary value for 0,01 m/s
 * - For values equal to or greater than `163,82 m/s`, the value shall be set to `16 382`.
 * - When the information is not available, the value shall be set to `16 383`.
 * 
 * The DE is used in @ref Speed DF as defined in clause A.126.
 * 
 * @unit: 0,01 m/s
 * @category: Vehicle information
*/
SpeedValue ::= INTEGER {standstill(0), oneCentimeterPerSec(1), unavailable(16383)} (0..16383)

/** 
 * This DE represents a speed value with extended range. 
 *
 * The following values are specified:
 * -  negativeSpeedMaximum   (-16383), - this value is set in case of speed values equal to or smaller than -163,83 m/s
 * -   standstill             (0), this value is set in case of stanstill. 
 * -   oneCentimeterPerSec    (1), this is an exemplary value 0,01 m/s
 * -   speedMaximum           (16382), --< this value is setfor values equal to or greater than 163,82 m/s
  * -   unavailable            (16383)  --< this value is set if information is not available
 * @unit 0,01 m/s
*/
SpeedValueExtended ::= INTEGER {
    negativeSpeedMaximum   (-16383),
    standstill             (0),
    oneCentimeterPerSec    (1),
    speedMaximum           (16382),
    unavailable            (16383)  
} (-16383..16383)


/**
 * This DE indicates the  estimated probability  of  a  stability  level LOSS? : OR the actual estimated stability level??? tbd.
 *
 * The following values are specified:
 * - zero(0): this value indicates stable. 
 * - Values between 1 and 50 indicate the actual stability level.
 * - twoPercent (1): an exemplary value for 2 percent.
 * - hundredPercent(50): this value indicates total stability.
 * - the values between 51 and 62 are reserved. 
 * - unavailable (63): this value indicates that the information is unavailable.. 
 *
 * @unit: 2%
 * @category: Kinematics information
 */
StabilityLossProbability ::= INTEGER { 
    zero(0), 
    twoPercent (1),
    hundredPercent(50), 
    unavailable (63) 
} (0..63) 

/**
 * Length as a measure of distance between points or objects used in the definition of various other types. 
 *
 * @unit: 0.1 meter
 * @category: Basic information
 */
StandardLength::= INTEGER (0..16383)

/**
 * Length as a measure of distance between points or objects used in the definition of various other types 
 *
 * The DE is used in @ref tbd
 * @unit: 0.1 meter
 * @category: Basic information
 */
StandardLengthSmall::= INTEGER (0..255)

/**
 * This DE indicates the duration in minutes of a something being stationary.
 * 
 * The following values are specified:
 * - lessThan1Minute(0: being stationary since less than 1 minute. 
 * - lessThan2Minutes(1): being stationary since less than 2 minute and for equal to or more 1 minute. 
 * - lessThan15Minutes(2)´: being stationary since less than 15 minutes and for equal to or more than 1 minute. 
 * - equalOrGreater15Minutes(3): being stationary since equal to or greater than 15 minutes.
 * @category: Kinematics information
 */
StationarySince ::= ENUMERATED {
    lessThan1Minute(0), 
    lessThan2Minutes(1), 
    lessThan15Minutes(2), 
    equalOrGreater15Minutes(3)}

/**
 * This DE provides the value of the sub cause codes of the @ref CauseCode "stationaryVehicle" 
 * 
 * The following values are specified:
Denis Filatov's avatar
Denis Filatov committed
 * - 0 `unavailable`           : in case further detailed information on stationary vehicle is unavailable,
 * - 1 `humanProblem`          : in case stationary vehicle is due to health problem of driver or passenger,
 * - 2 `vehicleBreakdown`      : in case stationary vehicle is due to vehicle break down,
 * - 3 `postCrash`             : in case stationary vehicle is caused by collision,
 * - 4 `publicTransportStop`   : in case public transport vehicle is stationary at bus stop,
 * - 5 `carryingDangerousGoods`: in case the stationary vehicle is carrying dangerous goods,
tijinkj's avatar
tijinkj committed
 * - 6 `vehicleOnFire`         : in case of vehicle on fire.
 * - 7-255 reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
StationaryVehicleSubCauseCode ::= INTEGER {
    unavailable(0), 
    humanProblem(1), 
    vehicleBreakdown(2), 
    postCrash(3), 
    publicTransportStop(4), 
    carryingDangerousGoods(5), 
    vehicleOnFire (6)} 
(0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the identifier of an ITS-S.
 * The ITS-S ID may be a pseudonym. It may change over space and/or over time.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Basic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
StationID ::= INTEGER(0..4294967295)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represenst the type of technical context the ITS-S is integrated in.
 * The station type depends on the integration environment of ITS-S into vehicle, mobile devices or at infrastructure.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The value shall be set to:
 * - 0 `unknown`: information about the ITS-S context is not provided,
 * - 1 pedestrian`: ITS-S carried by human being not using a mechanical device for their trip (VRU profile 1).
 * - 2 `cyclist`: ITS-S mounted on non-motorized unicycles, bicycles , tricycles, quadracycles,
 * - 3 `moped`: ITS-S mounted on light motor vehicles with less than four wheels as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class L1, L2 (VRU Profile 3)
 * - 4 `motorcycles`: ITS-S mounted on motor vehicles with less than four wheels as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class L3, L4, L5, L6, L7 (VRU Profile 3)
 * - 5 `passengerCar`: ITS-S mounted on small passenger vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class M1,
 * - 6 `bus`: ITS-S mounted on large passenger vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class M2, M3,
 * - 7 `lightTruck`: ITS-S mounted on light Goods Vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class N1,
 * - 8 `heavyTruck`: ITS-S mounted on Heavy Goods Vehicles as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class N2 and N3,
 * - 9 `trailer`: ITS-S mounted on an unpowered vehicle that is intended to be towed by a powered vehicle as defined in UNECE/TRANS/WP.29/78/Rev.4 [i.18] class O,
 *   ***NOTE***: Only to be used when not towed.
 * - 10 `specialVehicles`: ITS-S mounted on vehicles which have special purposes other than the above (e.g. moving road works vehicle),
 * - 11 `tram`: ITS-S mounted on a vehicle which runs on tracks along public streets,
 * - 12 `lightVruVehicle`: ITS-S carried by a human being traveling on light vehicle , incl. possible use of roller skates or skateboards (VRU profile 2).
 * - 13 `animal`: ITS-S carried by an animal presenting a safety risk to other road users e.g. domesticated dog in a city or horse (VRU Profile 4)
 * - 15 `roadSideUnit`: ITS-S mounted on an infrastructure typically positioned outside of the drivable roadway (e.g. on a gantry, on a pole, on a stationary road works trailer); the infrastructure is static during the entire operation period of the ITS-S (e.g. no stop and go activity),
 * - 16 16-255: reserved for future usage.
 * 
 * 
 * @category Vehicle information tbd.
 */
StationType ::= INTEGER {
    unknown(0), 
    pedestrian(1), 
    cyclist(2), 
    moped(3), 
    motorcycle(4), 
    passengerCar(5), 
    bus(6), 
    lightTruck(7), 
    heavyTruck(8), 
    trailer(9), 
    specialVehicles(10), 
    tram(11), 
    lightVruVehicle(12), 
    animal (13), 
    roadSideUnit(15)
} (0..255)

/**
 * This DE represents the absolute accuracy for a reported steering wheel angle value for a confidence level of 95 %.
 * The required confidence level is defined by the station applying this DE.
 * 
 * The following values are specified:
 * - `1` if the steering wheel angle accuracy is equal to or less than 1,5 degrees,
 * - `n (n > 1 and n < 125)` if the steering wheel angle accuracy is equal to or less than n × 1,5 degrees,
 * - `125` if the steering wheel angle accuracy is equal to or less than 1,5 degrees ×125 = 187,5 degrees,
 * - `126` if the accuracy is out of range, i.e. greater than 187,5 degrees,
 * - `127` if the accuracy information is not available.
 * 
 * @note 1: The fact that a steering wheel angle value is received with confidence set to 'unavailable(127)'
 * can be caused by several reasons, such as:
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
 * In all 3 cases above, the reported steering wheel angle value may be valid and used by the application.
 * 
 * If a steering wheel angle value is received and its confidence is set to 'outOfRange(126)',
 * it means that the reported steering wheel angle value is not valid and therefore cannot be trusted.
 * Such value is not useful for the application.
 * 
 * @unit: 1.5 degree
 * @category: Vehicle Information
*/
SteeringWheelAngleConfidence ::= INTEGER {
    equalOrWithinOnePointFiveDegree (1), 
    outOfRange(126), 
    unavailable(127)
} (1..127)

/**
 * This DE represents the steering wheel angle of the vehicle at certain point in time.
 * It corresponds to the vehicle coordinate system as specified in ISO 8855 [2].
 * 
 * The following values are specified:
 * - Positive values indicate that the steering wheel angle is turning counter-clockwise (i.e. to the left).
 * - Negative values shall be used when the steering wheel angle is turning clockwise (i.e. to the right).
 * - The value shall be set to `511` if the steering wheel angle is equal to or greater than 511 × 1,5 degrees = 766,5 degrees to the left.
 * - The value shall be set to `-511` if the steering wheel angle is equal to or greater than 511 × 1,5 degrees = 766,5 degrees to the right.
 * - When the information is not available, the value shall be set to `512`.
 * 
 * The DE is used in @ref SteeringWheelAngle DF as defined in clause A.127.
 * @unit: 1.5 degree
 * @category: Vehicle Information
 */
SteeringWheelAngleValue ::= INTEGER {
    straight(0), 
    onePointFiveDegreesToRight(-1), 
    onePointFiveDegreesToLeft(1), 
    unavailable(512)
} (-511..512)

/**
 * This DE indicates the sub cause of a detected event.
 * 
 * @note 1: The sub cause code value assignment varies based on value of @ref CauseCode
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
SubCauseCodeType ::= INTEGER (0..255)

/**
 * This DE indicates a temperature value.
 * - For temperature equal to or less than -60 °C, the value shall be set to  `60`.
 * - For temperature equal to or greater than 67 °C, the value shall be set to `67`.
 * 
 * @unit: °C
 * @category: Basic information
 */
Temperature ::= INTEGER {
    equalOrSmallerThanMinus60Deg (-60), 
    oneDegreeCelsius(1), 
    equalOrGreaterThan67Deg(67)} (-60..67)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represenst the number of milliseconds since `2004-01-01T00:00:00.000Z`, as specified in ISO 8601 [i.10].
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * EXAMPLE:	The value for TimestampIts for `2007-01-01T00:00:00.000Z` is `94 694 401 000` milliseconds,
 * which includes one leap second insertion since `2004-01-01T00:00:00.000Z`.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 *  
 * @unit: millisecond
 * @category: Basic Information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TimestampIts ::= INTEGER {utcStartOf2004(0), oneMillisecAfterUTCStartOf2004(1)} (0..4398046511103)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause codes of the @ref CauseCode `trafficCondition`. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 * - 0 `unavailable`                 : in case further detailed information on traffic jam is unavailable,
 * - 1 `increasedVolumeOfTraffic`    : in case detected jam volume is increased,
 * - 2 `trafficJamSlowlyIncreasing`  : in case detected traffic jam volume is increasing slowly,
 * - 3 `trafficJamIncreasing`        : in case traffic jam volume is increasing,
 * - 4 `trafficJamStronglyIncreasing`: in case traffic jam volume is strongly increasing,
 * - 5 `trafficStationary`           : in case traffic is stationary,
 * - 6 `trafficJamSlightlyDecreasing`: in case traffic jam volume is decreasing slowly,
 * - 7 `trafficJamDecreasing`        : in case traffic jam volume is decreasing,
 * - 8 `trafficJamStronglyDecreasing`: in case traffic jam volume is decreasing rapidly,
 * - 9-255: reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
TrafficConditionSubCauseCode ::= INTEGER {
    unavailable(0),
    increasedVolumeOfTraffic(1),
    trafficJamSlowlyIncreasing(2),
    trafficJamIncreasing(3),
    trafficJamStronglyIncreasing(4),
    trafficStationary(5),
    trafficJamSlightlyDecreasing(6),
    trafficJamDecreasing(7),
    trafficJamStronglyDecreasing(8)
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates traffic rules that apply to vehicles at a certain position.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 * - If overtaking is prohibited for all vehicles, the DE shall be set to `0`.
 * - If overtaking is prohibited for trucks, the DE shall be set to `1`.
 * - If vehicles should pass to the right lane, the DE shall be set to `2`.
 * - If vehicles should pass to the left lane, the DE shall be set to `3`.
 *
 * @category: Infrastructure information, Traffic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TrafficRule ::= ENUMERATED {
    noPassing(0), 
    noPassingForTrucks(1), 
    passToRight(2), 
    passToLeft(3), ...}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This  DE  defines  the  probability  that the ego trajectory  intercepts  with any  other object's  trajectory  on the  road. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Kinematics information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TrajectoryInterceptionProbability ::= INTEGER { 
    zero(0), 
    twoPercent(1), 
    fourPercent(2), 
    oneHundredPercent(50), 
    unavailable (63) } (0..63) 
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE  defines  the  confidence level of the trajectoryInterceptionProbability.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Kinematics information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TrajectoryInterceptionConfidence ::= INTEGER { 
    lessthan50percent(0), 
    between50and70Percent(1),
    between70and90Percent(2), 
    above90Percent(3) } (0..3)

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents a time interval between two consecutive message transmissions.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @unit: milliseconds
 * @category: Basic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TransmissionInterval ::= INTEGER {
    oneMilliSecond(1), 
    tenSeconds(10000)
} (1..10000)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE  provides  the turning direction. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: 
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TurningDirection::= ENUMERATED {
    left, 
    right 
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the smallest circular turn (i.e. U-turn) that the vehicle is capable of making.
 *
 * The following values are specified:
 * - The DE is set to the applicable value in the range of 1 to 253 meters.
 * - The value shall be set to `254` if the turning radius is equal to or greater than 254 x 0.4 metre = 101.6 metres.
 * - The value shall be set to `255` if the information is unavailable.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * For vehicle with tracker, the turning radius applies to the vehicle only.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Vehicle information
 * @unit 0.4 metre
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TurningRadius ::= INTEGER {
    point4Meters(1), 
    unavailable(255)
} (1..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This De represents the Vehicle Descriptor Section (VDS). The values are assigned according to ISO 3779 [i.7].
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Vehicle information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VDS ::= IA5String (SIZE(6))
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the value of the sub cause codes of the @CauseCode `vehicleBreakdown`. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The following values are specified:
Denis Filatov's avatar
Denis Filatov committed
 * - 0 `unavailable`         : in case further detailed information on cause of vehicle break down is unavailable,
 * - 1 `lackOfFuel`          : in case vehicle break down is due to lack of fuel,
 * - 2 `lackOfBatteryPower`  : in case vehicle break down is caused by lack of battery power,
 * - 3 `engineProblem`       : in case vehicle break down is caused by an engine problem,
 * - 4 `transmissionProblem` : in case vehicle break down is caused by transmission problem,
 * - 5 `engineCoolingProblem`: in case vehicle break down is caused by an engine cooling problem,
 * - 6 `brakingSystemProblem`: in case vehicle break down is caused by a braking system problem,
 * - 7 `steeringProblem`     : in case vehicle break down is caused by a steering problem,
 * - 8 `tyrePuncture`        : in case vehicle break down is caused by tire puncture,
 * - 9 `tyrePressureProblem` : in case low tyre pressure in detected,
 * - 10-255: reserved for future usage.
 *
 * @category: Traffic information
 */
tijinkj's avatar
tijinkj committed
VehicleBreakdownSubCauseCode ::= INTEGER {
    unavailable(0), 
    lackOfFuel (1), 
    lackOfBatteryPower (2), 
    engineProblem(3), 
    transmissionProblem(4), 
    engineCoolingProblem(5), 
    brakingSystemProblem(6), 
    steeringProblem(7), 
    tyrePuncture(8), 
    tyrePressureProblem(9), 
    vehicleOnFire (10)
} (0..255)

/** 
 * This DE represents the height if the vehicle, measured from the ground to the highest point, excluding any antennas.
 * In case vehicles are equipped with adjustable ride heights, camper shells, and any other
 * equipment which may result in varying height, the largest possible height shall be used.
 *
 * @unit 5 cm (DE ranges to 6.35 m)
*/
VehicleHeight ::= INTEGER (0..127) --tbd
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE provides information about the presence of a trailer. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following values are specified:
 * - noTrailerPresent(0): used when no trailer is present.
 * - trailerPresentWithKnownLength(1): used when a trailer is present and the length is  included in a reported vehicle length value.
 * - trailerPresentWithUnknownLength(2): used when a trailer is present and the length is not included in a reported vehicle length value.
 * - trailerPresenceIsUnknown(3): used when the trailer presence is unknown.
 * - unavailable(4): value used when the information is not known. 
 * 
 * @category: Vehicle information
 * Revision: Editorial update in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VehicleLengthConfidenceIndication ::= ENUMERATED {
    noTrailerPresent(0), 
    trailerPresentWithKnownLength(1), 
    trailerPresentWithUnknownLength(2), 
    trailerPresenceIsUnknown(3), 
    unavailable(4)}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the length of a vehicle.
 *
 * The following values are specified:
 * - The DE is set to the applicable value in the range of 1 cm and 102,2 meters.
 * - The DE is set to 1 022 if the vehicle length is equal to or greater than 102.2 metres.
 * - The DE is set to 1 023 if the information in unavailable.
tijinkj's avatar
tijinkj committed
 * @unit: 0.1 metre
Denis Filatov's avatar
Denis Filatov committed
 * @category: Vehicle information
tijinkj's avatar
tijinkj committed
 * Revision: Editorial update in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VehicleLengthValue ::= INTEGER {
    tenCentimeters(1), 
    outOfRange(1022), 
    unavailable(1023)
}  (1..1023)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE represents the mass of an empty loaded vehicle in multiple of 100 kg.
 *
 * The following values are specified: 
 * - The DE is set to the applicable value in the range of 100 kg and 102 200 kg.
 * - The value shall be set to `1 023` if the vehicle mass is equal to or greater than `102 300 kg`.
 * - The value shall be set to `1 024` when the vehicle mass information is unavailable.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @note:	The empty load vehicle is defined in ISO 1176 [i.9], clause 4.6.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @unit: 100kg
Denis Filatov's avatar
Denis Filatov committed
 * @category: Vehicle information
tijinkj's avatar
tijinkj committed
 * Revision: Editorial update in V2.1.1
*/
VehicleMass ::= INTEGER {
    hundredKg(1), 
    unavailable(1024)} (1..1024) 
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DE indicates the role played by a vehicle at a point in time.
 * The DE shall be set to:
 * - 0 `default`: default vehicle role as indicated by the vehicle type,
 * - 1 `publicTransport`: vehicle is used to operate public transport service,
 * - 2 `specialTransport`: vehicle is used for special transport purpose, e.g. oversized trucks,
 * - 3 `dangerousGoods`: vehicle is used for dangerous goods transportation,
 * - 4 `roadWork`: vehicle is used to realize roadwork or road maintenance mission,
 * - 5 `rescue`: vehicle is used for rescue purpose in case of an accident, e.g. as a towing service,
 * - 6 `emergency`: vehicle is used for emergency mission, e.g. ambulance, fire brigade,
 * - 7 `safetyCar`: vehicle is used for public safety, e.g. patrol,
 * - 8 `agriculture`: vehicle is used for agriculture, e.g. farm tractor as defined
 *   in CEN/TS 16157-3 [3], annex A, table A.137,
 * - 9 `commercial`: vehicle is used for transportation of commercial goods as defined
 *   in CEN/TS 16157-3 [3], annex A, table A.137,
 * - 10 `military`: vehicle is used for military purpose as defined in CEN/TS 16157-3 [3], annex A, table A.137,
 * - 11 `roadOperator`: vehicle is used in road operator missions as defined in CEN/TS 16157-3 [3], annex A, table A.137,
 * - 12 `taxi`: vehicle is used to provide an authorized taxi service as defined
 *   in CEN/TS 16157-3 [3], annex A, table A.137,
 * - 13 `reserved`: reserved for future usage,
 * - 14 `reserved`: reserved for future usage,
 * - 15 `reserved`: reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Vehicle Information
 * Revision: V1.3.1
 */
VehicleRole ::= ENUMERATED {
    default(0), 
    publicTransport(1), 
    specialTransport(2), 
    dangerousGoods(3), 
    roadWork(4), 
    rescue(5), 
    emergency(6), 
    safetyCar(7), 
    agriculture(8), 
    commercial(9), 
    military(10), 
    roadOperator(11), 
    taxi(12), 
    reserved1(13), 
    reserved2(14), 
    reserved3(15)}

/**
 * This DE describes the subclass of a vehicle.

 unknown             (0),    -- < the type of vehicle is unknown
 passengerCar        (1),    --< the detected object is a small passenger car as defined in
                              --< UNECE/TRANS/WP.29/78/Rev.4 class M1
 bus                 (2),    --< the detected object is a large passenger vehicle as defined
                                --< in UNECE/TRANS/WP.29/78/Rev.4 class M2, M3
   lightTruck          (3),    --< the detected object is a light goods vehicle as defined
                                --< in UNECE/TRANS/WP.29/78/Rev.4 class N1
    heavyTruck          (4),    --< the detected object is a heavy goods vehicle as defined
                                --< in UNECE/TRANS/WP.29/78/Rev.4 class N2, N3
    trailer             (5),    --< the detected object is an unpowered vehicle that is intended
                                --< to be towed by a powered vehicle as defined in
                                --< UNECE/TRANS/WP.29/78/Rev.4 class O
    specialVehicles     (6),    --< the detected object is a vehicle which has a special purpose
                                --< other than the above (e.g. moving road works vehicle)
    tram                (7),    --< the detected object is a vehicle running on tracks along
                                --< public streets
    emergencyVehicle    (8),    --< the detected object is a vehicle used in an emergency situation
                                --< such as an ambulance, police car or fire engine
    agricultural        (9)     --< the detected object is a vehicle used for agricultural purposes


 * @unit n/a
 * Revision: V1.3.1
 */
VehicleSubclass ::= INTEGER {
    unknown             (0),    
    passengerCar        (1),    
    bus                 (2),    
    lightTruck          (3),    
    heavyTruck          (4),    
    trailer             (5),    
    specialVehicles     (6),    
    tram                (7),    
    emergencyVehicle    (8),    
    agricultural        (9)     
} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Width of a vehicle, excluding side mirrors and possible similar extensions.
 * - For a vehicle width equal to or greater than 6.1 metres, the value shall be set to `61`.
 * - The value shall be set to `62` if the information is unavailable.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @unit: 0.1 metre
 * @category: Vehicle information 
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VehicleWidth ::= INTEGER {tenCentimeters(1), outOfRange(61), unavailable(62)} (1..62)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Vehicle acceleration at vertical direction in the centre of the mass of the empty vehicle.
 * It corresponds to the vehicle coordinate system as specified in ISO 8855 [2].
 * - Positive values indicate that the vehicle is accelerating upwards.
 * - The value shall be set to `160` if the upwards acceleration is equal to or greater than 16 m/s<sup>2</sup>.-
 * - Negative values indicate the vehicle is accelerating downwards.
 * - The value shall be set to `-160` if the downwards acceleration is equal to or greater than 16 m/s<sup>2</sup>.
 * - The value shall be set to `161` if the information is not available.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The DE is used in @ref VerticalAcceleration DF as defined in clause A.129.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @note: The empty load vehicle is defined in ISO 1176 [i.9], clause 4.6.
 *
 * @category Vehicle information
 * @unit: 0.1 m/s<sup>2</sup>
 *  
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VerticalAccelerationValue ::= INTEGER {pointOneMeterPerSecSquaredUp(1), pointOneMeterPerSecSquaredDown(-1), unavailable(161)} (-160 .. 161)
tijinkj's avatar
tijinkj committed
/** 
 * Identifies all the VRU profile types that are believed to be within the cluster
 * Bitmap encoding VRU profiles, to allow multiple profiles to be indicated in a single cluster (heterogeneous cluster if more than one profile).
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The corresponding bit shall be set to 1 under the following conditions:
 * - pedestrian (0): The VRU cluster contains at least one pedestrian VRU,
 * - bicycle(1): The VRU cluster contains at least one bicycle VRU member,
 * - motorcycle(2): The VRU cluster contains at least one motorcycle VRU member,
 * - animal(3): The VRU cluster contains at least one animal VRU member,
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * Otherwise, the corresponding bit shall be set to 0.
 *
Denis Filatov's avatar
Denis Filatov committed
*/
tijinkj's avatar
tijinkj committed
VruClusterProfiles ::= BIT STRING {
    pedestrian(0),
    bicyclist(1),
    motorcyclist(2),
    animal(3)
} (SIZE(4))

/**
 * value of the possible VRU usage conditions
 * - The VRU usage conditions are described as follows:
 * - unavailable (0), -- Not specified,
 * - other (1), -- Used for states not defined below,
 * - idle (2), -- Human is not interacting with device,
 * - listeningToAudio (3), -- Any audio source other than calling,
 * - typing (4), -- Including texting, entering addresses and other manual input activity,
 * - calling (5),
 * - playingGames (6),
 * - reading (7),
 * - viewing (8) -- Watching dynamic content, including following navigation prompts, viewing videos or other visual contents that are not static,
 * - value 9 to 255: reserved for future usage. Value 255 set to "max" in order to bound the size of the encoded field.
 *
 * @category: VRU information
 */
VruDeviceUsage ::= ENUMERATED {unavailable(0), other(1), idle(2), listeningToAudio(3), typing(4), calling(5), playingGames(6), reading(7), viewing(8), max(255)}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * value of the possible VRU environment conditions.
 * The VRU environment conditions are described as follows:
 * - unavailable (0): in case information on the type of environment is unavailable,
 * - intersectionCrossing (1),
 * - zebraCrossing (2),
 * - sidewalk (3),
 * - onVehicleRoad (4),
 * - value 6 to 255: reserved for future usage. Value 255 is set to "max" in order to bound the size of the encoded field.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: VRU information
 */
VruEnvironment ::= ENUMERATED {unavailable (0), intersectionCrossing(1), zebraCrossing(2), sidewalk (3), onVehicleRoad(4), protectedGeographicArea(5), max (255)}

/**
 * Status of the possible human control over a VRU vehicle.
 * - unavailable (0): in case information on is unavailable,
 * - braking (1): the VRU is braking
 * - hardBraking (2): the VRU is braking hard
 * - stopPedaling (3): the VRU stopped pedaling
 * - brakingAndStopPedaling (4): the VRU stopped pedaling an is braking 
 * - hardBrakingAndStopPedaling (5): the VRU stopped pedaling an is braking hard
 * - noReaction (6): the VRU is not changing its behavior
 * - value 5 to 255: reserved for future usage. Value 255 is set to "max" in order to bound the size of the encoded field.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: VRU information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VruMovementControl ::= ENUMERATED {unavailable (0), braking(1), hardBraking(2), stopPedaling (3), brakingAndStopPedaling(4), hardBrakingAndStopPedaling (5), noReaction(6), max (255)}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Profile of a pedestrian
 * - unavailable (0): in case information on is unavailable,
 * - ordinary-pedestrian(1): a pedestrian to which no more-specific profile applies
 * - road-worker(2): a pedestrian with the role of a road worker
 * - first-responder(3): a pedestrian with the role of a first responder 
 * - value 4 to 15: reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field.
 *
 * @category: VRU information
 */
VruSubProfilePedestrian ::= ENUMERATED {
    unavailable(0), 
    ordinary-pedestrian(1),
    road-worker(2), 
    first-responder(3),
    max(15)
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Profile of a VRU and its light VRU vehicle / animal. 
 * The corresponding value shall be set as follows:
 * - unavailable (0): in case information on is unavailable,
 * - bicyclist (1): cycle and bicyclist
 * - wheelchair-user(2): wheelchair and its user
 * - horse-and-rider(3): horse and rider
 * - rollerskater(4): rolleskater and skater
 * - e-scooter(5): e-scooter and rider
 * - personal-transporter(6): personal-transporter
 * - pedelec(7): pedelec and rider
 * - speed-pedelec(8): speed-pedelec rider 
 * - value 9 to 15: reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field.
 *
 * @category: VRU information
 */
VruSubProfilelightVruVehicle ::= ENUMERATED {
    unavailable(0), 
    bicyclist(1), 
    wheelchair-user(2), 
    horse-and-rider(3), 
    rollerskater(4), 
    e-scooter(5), 
    personal-transporter(6),
    pedelec(7), 
    speed-pedelec(8),
    max(15)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Profile of a motorcyclist and corresponding vehicle.
 * The corresponding value shall be set as follows:
 * - unavailable (0): in case information on is unavailable,
 * - moped (1): moped and rider
 * - motorcycle(2): motorcycle and rider
 * - motorcycle-and-sidecar-right(3): 
 * - motorcycle-and-sidecar-left(4): 
 * - value 5 to 15: reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field.
 *
 * @category: VRU information
 */
VruSubProfileMotorcyclist ::= ENUMERATED { 
    unavailable(0), 
	moped(1), 
	motorcycle(2), 
	motorcycle-and-sidecar-right(3), 
    motorcycle-and-sidecar-left(4), 
	max(15)
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Profile of a animal
 * The corresponding value shall be set as follows:
 * - unavailable (0): in case information on is unavailable,
 * - wild-animal (1): in case of a animal living in the wildness. 
 * - farm-animal(2): in case of an animal beloning to a farm.
 * - service-animal(3): in case of an animal that supports a human being. 
 * - value 4 to 15: reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field.
 *
 * @category: VRU information
 */
VruSubProfileAnimal ::= ENUMERATED {
    unavailable(0), 
    wild-animal(1), 
    farm-animal(2), 
    service-animal(3),   
    max(15)
}

/**
 * Size of a VRU including the  VRU vehicle used.
 * The corresponding value shall be set as follows:
 * - unavailable(0): There is no matched size class or due to privacy reasons in profile 1. 
 * - low (1): the VRU size class is low depending on the VRU profile
 * - medium (2): the VRU size class is medium depending on the VRU profile
 * - high (3): the VRU size class is high depending on the VRU profile
 * - value 4 to 15: reserved for future usage. Value 15 is set to "max" in order to bound the size of the encoded field.
 *
 * @category: VRU information
 */
VruSizeClass ::= ENUMERATED {
    unavailable (0), 
    low(1), 
    medium(2), 
    high (3), 
    max(15)
}

/**
 * This DE describes the status of the exterior light switches of a vehicle or a VRU.
 * The DE is an extension of the existing vehicular DE ExteriorLight.
 * The value of each bit indicates the state of the switch, which commands the corresponding light. 
 * The bit corresponding to a specific light is set to 1, when the corresponding switch is turned on, either manually by the driver or VRU or automatically by a vehicle or VRU system. 
 * - Bit unavailable (0) corresponds to no information available. 
 * - Bit backFlashLight (1),corresponds to the back flash light.
 * - Bit helmetLight (2), corresponds to the helmet light.
 * - Bit armLight (3), corresponds to the arm light.
 * - Bit legLight (4), corresponds to the leg leight.
 * - Bit wheelLight (5) corresponds to wheel light. 
 * - Bits 6 to 8: reserved for future use. 
 * The bit values do not indicate if the corresponding lamps are alight or not.
 * If  VRU is not equipped with a certain light or if the light switch status information is not available, the corresponding bit shall be set to 0.
 */ 
VruSpecificExteriorLights ::= BIT STRING {
        unavailable (0),
        backFlashLight (1),
        helmetLight (2),
        armLight (3),
        legLight (4),
        wheelLight (5)
    } (SIZE(8))

/**
 * Perpendicular distance between front and rear axle of the wheel base of vehicle.
 * - The value shall be set to `126` if the wheel base distance is equal to or greater than 12.6 metres.
 * - The value shall be set to `127` if the information is unavailable.
 *
 * @category: Vehicle information
 * @unit 0.1 metre
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
WheelBaseVehicle ::= INTEGER {tenCentimeters(1), unavailable(127)} (1..127)

/** @brief WGS84Angle Confidence
 * The absolute accuracy of a reported angle value for a predefined confidence level (e.g. 95 %).
 * The required confidence level is defined by the corresponding standards applying this DE.
 *  zeroPointOneDegree  (1),
 *   oneDegree           (10),
 *   outOfRange          (126),  --< if the  accuracy is out of range, i.e. greater than
 *                               --< 12,5 degrees. A corresponding reported angle value shall be
 *                               --< considered invalid and cannot be trusted.
 *   unavailable         (127)   --< if the accuracy information is not available
 * @unit 0,1 degrees
*/
Wgs84AngleConfidence ::= INTEGER {
    zeroPointOneDegree  (1),
    oneDegree           (10),
    outOfRange          (126), 
    unavailable         (127)  
} (1..127)


/** @brief WGS 84 Angle Value
 * An angle value in degrees described in the WGS84 reference system with respect to the WGS84 north.
 * @unit 0,1 degrees
*/
Wgs84AngleValue ::= INTEGER {
    wgs84North          (0),
    wgs84East           (900),
    wgs84South          (1800),
    wgs84West           (2700),
    unavailable         (3601)
} (0..3601)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * World Manufacturer Identifier (WMI). The values are assigned according to ISO 3779 [i.7].
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The DE is used in @ref VehicleIdentification DF as defined in clause A.130.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: Vehicle information
 */
tijinkj's avatar
tijinkj committed
WMInumber ::= IA5String (SIZE(1..3))
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Encoded value of the sub cause codes of the event type `wrongWayDriving` as defined in clause A.10.
 * Definition of the sub event cause is defined and the value is assigned according
 * to clause 7.1.4 of ETSI EN 302 637-3 [i.3].
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The sub causes are described as following:
 * - 0 `unavailable`: in case further detailed information on wrong way driving event is unavailable,
 * - 1 `wrongLane`: in case vehicle is driving on a lane for which it has no authorization to use,
 * - 2 `wrongDirection`: in case vehicle is driving in a direction that it is not allowed,
 * - 3-255 reserved for future usage.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Traffic information
 */
WrongWayDrivingSubCauseCode ::= INTEGER {unavailable(0), wrongLane(1), wrongDirection(2)} (0..255)
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * DE that denotes the absolute accuracy range for reported yaw rate value for a predefined confidence level (e.g. 95 %).
Denis Filatov's avatar
Denis Filatov committed
 * The required confidence level is defined by the station applying this DE.
 * 
 * The value shall be set to:
tijinkj's avatar
tijinkj committed
 * - 0 if the accuracy is equal to or less than 0,01 degree/second
 * - 1 if the accuracy is equal to or less than 0,05 degrees/second
 * - 2 if the accuracy is equal to or less than 0,1 degree/second
 * - 3 if the accuracy is equal to or less than 1 degree/second
 * - 4 if the accuracy is equal to or less than 5 degrees/second
 * - 5 if the accuracy is equal to or less than 10 degrees/second
 * - 6 if the accuracy is equal to or less than 100 degrees/second
 * - 7 if the accuracy is out of range, i.e. greater than 100 degrees/second
 * - 8 if the accuracy information is unavailable
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The DE is used in @ref YawRate DF as defined in clause A.132.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * NOTE:	The fact that a yaw rate value is received with confidence set to `unavailable(8)` can be caused by
 * several reasons, such as:
Denis Filatov's avatar
Denis Filatov committed
 * - the sensor cannot deliver the accuracy at the defined confidence level because it is a low-end sensor,
 * - the sensor cannot calculate the accuracy due to lack of variables, or
 * - there has been a vehicle bus (e.g. CAN bus) error.
tijinkj's avatar
tijinkj committed
 * In all 3 cases above, the reported yaw rate value may be valid and used by the application.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * If a yaw rate value is received and its confidence is set to `outOfRange(7)`, it means that the reported
 * yaw rate value is not valid and therefore cannot be trusted. Such value is not useful the application.
 * 
 * @category: Traffic information
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
YawRateConfidence ::= ENUMERATED {
    degSec-000-01 (0),
    degSec-000-05 (1),
    degSec-000-10 (2),
    degSec-001-00 (3),
    degSec-005-00 (4),
    degSec-010-00 (5),
    degSec-100-00 (6),
    outOfRange (7),
    unavailable (8)
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * It denotes the vehicle rotation around z-axis of coordinate system centred on the centre of mass of the empty-loaded
 * vehicle. It corresponds to the vehicle coordinate system as specified in ISO 8855 [2].
 * - The leading sign denotes the direction of rotation.
 * - Positive values indicate that the rotation is anti-clockwise (i.e. to the left).
 * - The value shall be set to `32 766` if the yaw rate is equal to or greater than 327.66 degrees/second to the left.
 * - Negative values indicate that the rotation is clockwise (i.e. to the right).
 * - The value shall be set to `-32 766` if the yaw rate is equal to or greater than 327,66 degrees/second to the right.
 * - The value shall be set to `32 767` if the information is not available.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The yaw rate value shall be a raw data value, i.e. not filtered, smoothed or otherwise modified.
 * The reading instant should be the same as for the vehicle acceleration.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The DE is used in @ref YawRate DF as defined in clause A.132.
 * 
 * @note: The empty load vehicle is defined in ISO 1176 [i.9], clause 4.6.
 * 
 * @unit: 0,01 degree per second. 
 * 
 * @category: Vehicle Information
Denis Filatov's avatar
Denis Filatov committed
*/
tijinkj's avatar
tijinkj committed
YawRateValue ::= INTEGER {straight(0), degSec-000-01ToRight(-1), degSec-000-01ToLeft(1), unavailable(32767)} (-32766..32767)

----------------------------------------
-- Specification of CDD Data Frames:
----------------------------------------

/** 
 * This DF represents general Data Frame to describe an acceleration component along with a confidence with a predefined confidence level of 95% for the component.
 *
 * @details value: the acceleration value which can be estimated as the mean of the current distribution.
 *
 * @details value confidence: the accuracy associated to the provided value at a predefined confidence level of 95% for the component.
 *
 * @category: Kinematic Information
 * Revision: Created in V2.1.1
 */
Acceleration1d ::= SEQUENCE {
    value       AccelerationValue,
    confidence  AccelerationConfidence
}

/** 
 * This DF represents information associated to changes in acceleration. 
 *
 * @details accelOrDecel: the indication of an acceleration change.
 *
 * @details value actionDeltaTime: the period in which the acceleration change action is performed.
 *
 * @category: Kinematic Information
 * Revision: Created in V2.1.1
 */
AccelerationChangeIndication ::= SEQUENCE {
    accelOrDecel    AccelerationChange,
    actionDeltaTime DeltaTimeTenthOfSecond,
    ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents an identifier used to describe a protocol action taken by an ITS-S.
tijinkj's avatar
tijinkj committed
 * @field originatingStationID: ID of the ITS-S that takes the action. 
 * 
 * @field sequenceNumber: a sequence number. 
 * 
 * @category: Communication information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ActionID ::= SEQUENCE {
    originatingStationID StationID,
    sequenceNumber SequenceNumber
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides the altitude and accuracy of an altitude information in a WGS84 co-ordinate system.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field altitudeValue: altitude of a geographical point.
 *
 * @field altitudeConfidence: accuracy of the reported altitudeValue within a specific confidence level.
 *
 * @category: GeoReference information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
Altitude ::= SEQUENCE {
    altitudeValue AltitudeValue,
    altitudeConfidence AltitudeConfidence
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides the definition of a geographical area, based on different options.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field rectangle: definition of an area of rectangular shape.
 *
 * @field circle: definition of an area of cicrular shape.
 *
 * @field polygon: definition of an area of polygonal shape.
 *
 * @field ellipse: definition of an area of ellipse shape.
 *
 * @category: GeoReference information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
Area::= CHOICE {
   rectangle        RectangularArea,
   circle           CircularArea, 
   polygon          PolygonalArea,
   ellipse          EllipticalArea,
   radial           RadialArea,
  -- radialVehicle    
   ...
}

/** 
 * This DE represents a general container for usage in various types of messages.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @details stationType: The type of station that has generated the message that contains the basic container.
 *
 * @details referencePosition: the reference position of the station that has generated the message that contains the basic container.
 *
 * @category: Basic information
 * Revision: Created in V2.1.1
*/
BasicContainer ::= SEQUENCE {
	stationType StationType,
	referencePosition ReferencePosition,
	...
}
Denis Filatov's avatar
Denis Filatov committed

tijinkj's avatar
tijinkj committed
/** 
 * This DF represents a general Data Frame to describe an angle component along with a confidence with a predefined
 * confidence level of 95% for the component in a Cartesian coordinate system.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @details value: The angle value which can be estimated as the mean of the current distribution.
 *
 * @details confidence: The accuracy associated to the provided value at a predefined confidence level of 95% for the component.
 *
 * @category: Kinematics information
 * Revision: Created in V2.1.1
 */
CartesianAngle ::= SEQUENCE {
    value       CartesianAngleValue,
    confidence  AngleConfidence
}

/** 
 * This DF represents a general Data Frame to describe an angular speed component along with a confidence with a predefined
 * confidence level of 95% for the component in a Cartesian coordinate system.
 *
 * @details value: The angular speed (rate) value which can be estimated as the mean of the current distribution.
 *
 * @details confidence: The accuracy associated to the provided value at a predefined confidence level of 95% for the component.
 *
 * @category: Kinematics information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
CartesianAngularSpeed ::= SEQUENCE {
    value       CartesianAngularSpeedValue,
    confidence  AngularSpeedConfidence
tijinkj's avatar
tijinkj committed
/** 
 * This DF represents a general Data Frame to describe an angular acceleration component along with a confidence with a predefined
 * confidence level of 95% for the component in a Cartesian coordinate system.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @details value: The angular acceleration value which can be estimated as the mean of the current distribution.
 *
 * @details confidence: The accuracy associated to the provided value at a predefined confidence level of 95% for the component.
 * 
 * @category: Kinematics information
 * Revision: Created in V2.1.1 
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
CartesianAngularAcceleration ::= SEQUENCE {
    value       CartesianAngularAccelerationValue,
    confidence  AngularAccelerationConfidence
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF is a representation of the cause code value of a traffic event. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field causeCode: the main cause of a detected event. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field subCauseCode: the subordinate cause of a detected event. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The semantics of the entire DF are completely defined by the component causeCode. 
 * The interpretation of the subCauseCode may provide additional information that is not strictly necessary to understand the causeCode itself, and is therefore optional.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Traffic information
 * Revision: Editorial update in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
CauseCode ::= SEQUENCE {
    causeCode CauseCodeType,
    subCauseCode SubCauseCodeType,
    ...
}

/**
 * This DF is an alternative representation of the cause code value of a traffic event. 
 *
 * @field causeCode: the main cause of a detected event. Each choice is of a different type and represents the sub cause code.
 *
 * The semantics of the entire DF are completely defined by the component causeCode. 
 * The interpretation of the subCauseCode may provide additional information that is not strictly necessary to understand the causeCode itself, and is therefore optional.
 *
 * @category: Traffic information
 * Revision: Created in V2.1.1
 */

CauseCodeV2 ::= SEQUENCE {
 causeCode CHOICE {
    reserved                                         SubCauseCodeType,
    trafficCondition                                 TrafficConditionSubCauseCode,
    accident                                         AccidentSubCauseCode,
    roadworks-3                                      RoadworksSubCauseCode,
    reserved4                                        SubCauseCodeType,
    impassability                                    SubCauseCodeType,
    adverseWeatherCondition-Adhesion                 AdverseWeatherCondition-AdhesionSubCauseCode,
    aquaplannning                                    SubCauseCodeType,
    reserved8                                        SubCauseCodeType,
    hazardousLocation-SurfaceCondition               HazardousLocation-SurfaceConditionSubCauseCode,
    hazardousLocation-ObstacleOnTheRoad              HazardousLocation-ObstacleOnTheRoadSubCauseCode,
    hazardousLocation-AnimalOnTheRoad                HazardousLocation-AnimalOnTheRoadSubCauseCode,
    humanPresenceOnTheRoad                           HumanPresenceOnTheRoadSubCauseCode,
    reserved13                                       SubCauseCodeType,
    wrongWayDriving                                  WrongWayDrivingSubCauseCode,
    rescueAndRecoveryWorkInProgress                  RescueAndRecoveryWorkInProgressSubCauseCode,
    reserved16                                       SubCauseCodeType,
    adverseWeatherCondition-ExtremeWeatherCondition  AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode,
    adverseWeatherCondition-Visibility               AdverseWeatherCondition-VisibilitySubCauseCode,
    adverseWeatherCondition-Precipitation            AdverseWeatherCondition-PrecipitationSubCauseCode,
    violence                                         SubCauseCodeType,
    reserved21                                       SubCauseCodeType,
    reserved22                                       SubCauseCodeType,
    reserved23                                       SubCauseCodeType,
    reserved24                                       SubCauseCodeType,
    reserved25                                       SubCauseCodeType,
    slowVehicle                                      SlowVehicleSubCauseCode,
    dangerousEndOfQueue                              DangerousEndOfQueueSubCauseCode,
    reserved28                                       SubCauseCodeType,
    reserved29                                       SubCauseCodeType,
    reserved30                                       SubCauseCodeType,
    reserved31                                       SubCauseCodeType,
    reserved32                                       SubCauseCodeType,
    reserved33                                       SubCauseCodeType,
    reserved34                                       SubCauseCodeType,
    reserved35                                       SubCauseCodeType,
    reserved36                                       SubCauseCodeType,
    reserved37                                       SubCauseCodeType,
    reserved38                                       SubCauseCodeType,
    reserved39                                       SubCauseCodeType,
    reserved40                                       SubCauseCodeType,
    reserved41                                       SubCauseCodeType,
    reserved42                                       SubCauseCodeType,
    reserved43                                       SubCauseCodeType,
    reserved44                                       SubCauseCodeType,
    reserved45                                       SubCauseCodeType,
    reserved46                                       SubCauseCodeType,
    reserved47                                       SubCauseCodeType,
    reserved48                                       SubCauseCodeType,
    reserved49                                       SubCauseCodeType,
    reserved50                                       SubCauseCodeType,
    reserved51                                       SubCauseCodeType,
    reserved52                                       SubCauseCodeType,
    reserved53                                       SubCauseCodeType,
    reserved54                                       SubCauseCodeType,
    reserved55                                       SubCauseCodeType,
    reserved56                                       SubCauseCodeType,
    reserved57                                       SubCauseCodeType,
    reserved58                                       SubCauseCodeType,   
    reserved59                                       SubCauseCodeType, 
    reserved60                                       SubCauseCodeType,
    reserved61                                       SubCauseCodeType,
    reserved62                                       SubCauseCodeType,
    reserved63                                       SubCauseCodeType,
    reserved64                                       SubCauseCodeType,
    reserved65                                       SubCauseCodeType,
    reserved66                                       SubCauseCodeType,    
    reserved67                                       SubCauseCodeType,
    reserved68                                       SubCauseCodeType,
    reserved69                                       SubCauseCodeType,
    reserved70                                       SubCauseCodeType,
    reserved71                                       SubCauseCodeType,
    reserved72                                       SubCauseCodeType,
    reserved73                                       SubCauseCodeType,
    reserved74                                       SubCauseCodeType,
    reserved75                                       SubCauseCodeType,
    reserved76                                       SubCauseCodeType,
    reserved77                                       SubCauseCodeType,
    reserved78                                       SubCauseCodeType,
    reserved79                                       SubCauseCodeType,
    reserved80                                       SubCauseCodeType,
    reserved81                                       SubCauseCodeType,
    reserved82                                       SubCauseCodeType,
    reserved83                                       SubCauseCodeType,
    reserved84                                       SubCauseCodeType,
    reserved85                                       SubCauseCodeType,
    reserved86                                       SubCauseCodeType,
    reserved87                                       SubCauseCodeType,
    reserved88                                       SubCauseCodeType,
    reserved89                                       SubCauseCodeType,
    reserved90                                       SubCauseCodeType,
    vehicleBreakdown                                 VehicleBreakdownSubCauseCode,
    postCrash                                        PostCrashSubCauseCode,
    humanProblem                                     HumanProblemSubCauseCode,
    stationaryVehicle                                StationaryVehicleSubCauseCode,
    emergencyVehicleApproaching                      EmergencyVehicleApproachingSubCauseCode,
    hazardousLocation-DangerousCurve                 HazardousLocation-DangerousCurveSubCauseCode,
    collisionRisk                                    CollisionRiskSubCauseCode,
    signalViolation                                  SignalViolationSubCauseCode,
    dangerousSituation                               DangerousSituationSubCauseCode,
    reserved100                                      SubCauseCodeType,
    reserved101                                      SubCauseCodeType,
    reserved102                                      SubCauseCodeType,
    reserved103                                      SubCauseCodeType,
    reserved104                                      SubCauseCodeType,
    reserved105                                      SubCauseCodeType,
    reserved106                                      SubCauseCodeType,
    reserved107                                      SubCauseCodeType,
    reserved108                                      SubCauseCodeType,
    reserved109                                      SubCauseCodeType,
    reserved110                                      SubCauseCodeType,
    reserved111                                      SubCauseCodeType,
    reserved112                                      SubCauseCodeType,
    reserved113                                      SubCauseCodeType,
    reserved114                                      SubCauseCodeType,
    reserved115                                      SubCauseCodeType,
    reserved116                                      SubCauseCodeType,
    reserved117                                      SubCauseCodeType,
    reserved118                                      SubCauseCodeType,
    reserved119                                      SubCauseCodeType,
    reserved120                                      SubCauseCodeType,
    reserved121                                      SubCauseCodeType,
    reserved122                                      SubCauseCodeType,
    reserved123                                      SubCauseCodeType,
    reserved124                                      SubCauseCodeType,
    reserved125                                      SubCauseCodeType,
    reserved126                                      SubCauseCodeType,
    reserved127                                      SubCauseCodeType,
    reserved128                                      SubCauseCodeType
  },
  ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF describes the position of a CEN DSRC road side equipment.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field protectedZoneLatitude: the latitude of the CEN DSRC road side equipment.
 * 
 * @field protectedZoneLongitude: the latitude of the CEN DSRC road side equipment. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field cenDsrcTollingZoneID: the optional ID of the CEN DSRC road side equipment.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Infrastructure information, Communication information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
CenDsrcTollingZone ::= SEQUENCE {
    protectedZoneLatitude Latitude,
    protectedZoneLongitude Longitude,
    cenDsrcTollingZoneID CenDsrcTollingZoneID OPTIONAL,
        ...
tijinkj's avatar
tijinkj committed
/** 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * This DF defines a circular area that is centred on a reference position defined outside of the context of this DF. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field centerPoint: optional offset point which the rectangle is centred on with respect to the reference position.
 *
 * @field radius: the radius of the circular area, using the DE StandardLength.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: GeoReference information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
CircularArea ::= SEQUENCE {
    nodeCenterPoint      CartesianPosition3d OPTIONAL,
    radius               StandardLength
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates the opening/closure status of a lane or a set of lanes.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field innerhardShoulderStatus: this information is optional and shall be included if the information is known.
 * It indicates the open/closing status of inner hard shoulder lanes. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field outerhardShoulderStatus: this information is optional and shall be included if the information is known.
 * It indicates the open/closing status of outer hard shoulder lanes. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field drivingLaneStatus: this information is optional and shall be included if the information is known.
 * It indicates the open/closing status of driving lanes. 
 * For roads with more than 13 driving lanes, the drivingLaneStatus DE shall not be set.
 * 
 * @category: GeoReference information, Road topology information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ClosedLanes ::= SEQUENCE {
    innerhardShoulderStatus HardShoulderStatus OPTIONAL,
    outerhardShoulderStatus HardShoulderStatus OPTIONAL,
    drivingLaneStatus DrivingLaneStatus OPTIONAL,
    ...
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF provides information about the breakup of a cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field clusterBreakupReason: indicates the reason for breakup.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field breakupTime: indicates the time of breakup. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Cluster Information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ClusterBreakupInfo ::= SEQUENCE {
        clusterBreakupReason  ClusterBreakupReason,
        breakupTime           ClusterOpTimestamp,
        ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF provides information about the joining of a cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field clusterId: indicates the identifier of the cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field joinTime: indicates the time of joining. 
 *
 * @category: Cluster Information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ClusterJoinInfo ::= SEQUENCE {
        clusterId       ClusterId,
        joinTime        ClusterOpTimestamp,
        ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF provides information about the leaving of a cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field clusterId: indicates the cluster.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field clusterLeaveReason: indicates the reason for leaving. 
 *
 * @category: Cluster Information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ClusterLeaveInfo ::= SEQUENCE {
        clusterId               ClusterId,
        clusterLeaveReason      ClusterLeaveReason,
        ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the column of the lower triangular positive semi-definite matrix and consists of a list of correlation row values.
 * Given a matrix "A" of size n x n, the number of columns to be included in the lower triangular matrix is k=n-1.
 * Each column "i" of the lower triangular then contains k-(i-1) values, where "i" refers to the column number count
 * starting at 1 from the left.
 *
 * @category: Sensing Information
 * Revision: Created in V2.1.1
*/
CorrelationColumn ::= SEQUENCE SIZE (1..17) OF CorrelationRowValue  -- tbd extension to be defined?

/**
 * This DF represents the curvature of the vehicle trajectory and the accuracy.
 * The curvature detected by a vehicle represents the curvature of actual vehicle trajectory.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field curvatureValue: Detected curvature of the vehicle trajectory.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field curvatureConfidence: Accuracy of the reported curvature value with a predefined confidence level. 
 * 
 * @category: Vehicle information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
Curvature ::= SEQUENCE {
 curvatureValue CurvatureValue,
 curvatureConfidence CurvatureConfidence
Denis Filatov's avatar
Denis Filatov committed
/**
 * This DF provides a description of dangerous goods being carried by a heavy vehicle.
 * 
tijinkj's avatar
tijinkj committed
 * @field dangerousGoodsType: Type of dangerous goods, I
Denis Filatov's avatar
Denis Filatov committed
 * 
 * @field unNumber: a 4-digit number that identifies the substance of the dangerous goods as specified in
 * United Nations Recommendations on the Transport of Dangerous Goods - Model Regulations [i.5],
 * 
 * @field elevatedTemperature: whether the carried dangerous goods are transported at high temperature.
 * If yes, the value shall be set to TRUE,
 * 
 * @field tunnelsRestricted: whether the heavy vehicle carrying dangerous goods is restricted to enter tunnels.
 * If yes, the value shall be set to TRUE,
 * 
 * @field limitedQuantity: whether the carried dangerous goods are packed with limited quantity.
 * If yes, the value shall be set to TRUE,
 * 
 * @field emergencyActionCode: physical signage placard at the vehicle that carries information on how an emergency
 * service should deal with an incident. This DE is optional; it shall be present if the information is available,
 * 
 * @field phoneNumber: contact phone number of assistance service in case of incident or accident.
 * This DE is optional, it shall be present if the information is available.
 * It shall be presented as defined in clause A.135,
 * 
 * @field companyName: name of company that manages the transportation of the dangerous goods.
 * This DE is optional; it shall be present if the information is available.
 * 
 * @category Vehicle information
tijinkj's avatar
tijinkj committed
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
Denis Filatov's avatar
Denis Filatov committed
DangerousGoodsExtended ::= SEQUENCE {
Denis Filatov's avatar
Denis Filatov committed
    dangerousGoodsType DangerousGoodsBasic,
    unNumber INTEGER (0..9999),
    elevatedTemperature BOOLEAN,
    tunnelsRestricted BOOLEAN,
    limitedQuantity BOOLEAN,
    emergencyActionCode IA5String (SIZE (1..24)) OPTIONAL,
    phoneNumber PhoneNumber OPTIONAL,
    companyName UTF8String (SIZE (1..24)) OPTIONAL,
        ...
tijinkj's avatar
tijinkj committed


/** 
 * This DF represents a  position in a two- or three-dimensional cartesian coordinate system.
 *
 * @details xCoordinate: the X coordinate value using the DE CartesianCoordinate.
 *
 * @details yCoordinate: the Y coordinate value using the DE CartesianCoordinate.
 *
 * @details xCoordinate: the optional Z coordinate value using the DE CartesianCoordinate.
 * 
 * @category: GeoReference information
 * Revision: Created in V2.1.1
*/
CartesianPosition3d::=SEQUENCE{
	xCoordinate 	CartesianCoordinate,
	yCoordinate		CartesianCoordinate,
	zCoordinate		CartesianCoordinate OPTIONAL -- tbd keep optional?
}


Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents a coordinate in a cartesian reference system
 * 
 * @details value: the coordinate value which can be estimated as the mean of the current distribution.
 * 
 * @details confidence: the coordinate accuracy associated to the provided value at a predefined confidence level of 95%.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: GeoReference information
 * Revision: Created in V2.1.1
*/
CartesianCoordinateWithConfidence ::= SEQUENCE {
    value        CartesianCoordinate,
    confidence   CoordinateConfidence
}


/**
 * This DF defines a geographical point position as a 3 dimensional offset position to a reference geographical point.
 *
 * @field deltaLatitude: A delta latitude offset with regards to the latitude value of the reference position.
 *
 * @field deltaLongitude: A delta longitude offset with regards to the longitude value of the reference position.
 *
 * @field deltaAltitude: A delta altitude offset with regards to the altitude value of the reference position.
 *
 * @category: GeoReference information
 * Revision:  V1.3.1
 */
DeltaReferencePosition ::= SEQUENCE {
    deltaLatitude  DeltaLatitude,
    deltaLongitude DeltaLongitude,
    deltaAltitude  DeltaAltitude
}

/**
 * This DF represnets a portion of digital map, described using a list of waypoints @ref ReferencePosition.
 * 
 * @category: GeoReference information
 * Revision:  V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
DigitalMap ::= SEQUENCE (SIZE(1..256)) OF ReferencePosition 

/** 
 * 
 * This DF represents an elliptical area that is centred on a reference position which is defined outside of the context of this DF. 
 * 
 * @field centerPoint: optional offset point which the rectangle is centred on with respect to the reference position.
 *
 * @field semiMajorAxisLenght: half length of the major axis of the ellipse.
 * 
 * @field semiMinorAxisLenght: half length of the minor axis of the ellipse.
 *
 * @field orientation: orientation of the major axis of the ellipse in the WGS84 coordinate system.
 
 * @category: GeoReference information
 * Revision: Created in V2.1.1
*/

EllipticalArea  ::= SEQUENCE {
    centerPoint          	 CartesianPosition3d OPTIONAL,
    semiMajorAxisLenght      StandardLength,
    semiMinorAxisLenght		 StandardLength,
    orientation   			 Wgs84AngleValue
 -- semiHeight               SemiRangeLength OPTIONAL
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF consists of a list of @Ref EventPoint.  
 * The eventPosition of each @Ref EventPoint is defined with respect to the previous @Ref EventPoint in the list. 
 * Except for the first @Ref EventPoint which is defined with respect to a position outside of the context of this DF.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: GeoReference information, Traffic information
 * Revision: Generalized the semantics in V2.1.1
 */
EventHistory::= SEQUENCE (SIZE(1..23)) OF EventPoint


/**
 * This DF provides information related to an event at a defined position.
 * 
 * @field eventPosition: offset position of a detected event point to a defined position. 
 * 
 * @field eventDeltaTime: optional time travelled by the detecting ITS-S since the previous detected event point.
 * 
 * @field informationQuality: Information quality of the detection for this event point.
 * 
 * @category: GeoReference information, Traffic information
 * Revision: generalized the semantics in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
EventPoint ::= SEQUENCE {
    eventPosition DeltaReferencePosition,
    eventDeltaTime PathDeltaTime OPTIONAL,
    informationQuality InformationQuality
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the status of the exterior light switches of a traffic participant.
 * 
 * @field vehicular:  represents the status of the exterior light switches of a road vehicle.
 * 
 * @field vruSpecific: represents the status of the exterior light switches of a VRU.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: tbd
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ExteriorLightsExtended ::= SEQUENCE {
   vehicular       ExteriorLights, 
   vruSpecific     VruSpecificExteriorLights,
   ...
}

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates a transversal position in relation to the different lanes of the road. 
 * It is an extension of DE_LanePosition to cover locations (sidewalks, bicycle paths), where V-ITS-S would normally not be present. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * The following options are available:
 *
 * @field trafficLanePosition: a position on a traffic lane. 
 * 
 * @field nonTrafficLanePosition: a position on a lane which is not a traffic lane.
 * 
 * @field trafficIslandPosition: a position on a traffic island
 * 
 * @field mapPosition: a position on a lane identified in a MAPEM.
 *  
 * @category: Road Topology information
 * Revision: created in V2.1.1
 */
GeneralizedLanePosition::= CHOICE {
	trafficLanePosition				LanePosition,
    nonTrafficLanePosition			LanePositionAndType,
    trafficIslandPosition           TrafficIslandPosition,
    mapPosition                     MapPosition,
    ...
}	
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the Heading in a WGS84 co-ordinates system.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field headingValue: the heading value.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field headingConfidence: the accuracy of the reported heading value with a predefined confidence level.
 * 
 * @note: this DF is kept for backwards compatibiliyty reasons only. It is reccomended to use the @ref Wgs84Angle instead. 
 * @category: GeoReference information, Vehicle information, Road topology information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
Heading ::= SEQUENCE {
    headingValue HeadingValue,
    headingConfidence HeadingConfidence
}

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF  provides  information  associated to heading  change indicators  such as  a  change  of  direction.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field direction: the direction of heading change value.
 * 
 * @field actionDeltaTime: the period over which a direction change action is performed. 
 * 
 * @category: t.b.d.
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
HeadingChangeIndication ::= SEQUENCE {
    direction        TurningDirection,
    actionDeltaTime  DeltaTimeTenthOfSecond,
    ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents a frequency channel 
 *
 * @field centreFrequency: the centre frequency of the channel
 * @unit: 10exp+2 Hz (where exp is exponent)
 * 
 * @details channelWidth: width of the channel
 * @unit: 10exp Hz (where exp is exponent)
 *
 * @details exponent of the power of 10
 * @unit: N/A
 *
 * @category: Communication information
 * Revision: created in V2.1.1
*/
InterferenceManagementChannel ::= SEQUENCE {
    centreFrequency INTEGER (1 .. 99999),
    channelWidth    INTEGER (0 .. 9999),
    exponent        INTEGER (0 .. 15) 
}
Denis Filatov's avatar
Denis Filatov committed
/**
 * 
tijinkj's avatar
tijinkj committed
 * This DF represents a zone  inside which the ITS communication should be restricted in order to manage interference.
 *
 * @field zoneDefinition: contains the geographical definition of the zone.
 *
 * @field managementInfo: contains interference management information applicable in the zone defined in @field zoneDefinition.
 *
 * @category: Communication information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
InterferenceManagementZone ::= SEQUENCE {
	zoneDefinition      InterferenceManagementZoneDefinition,
	managementInfo 		InterferenceManagementInfo
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the geographical definition of the zone where band sharing occurs. 
 *
 * @field interferenceManagementZoneLatitude: Latitude of the centre point of the interference management zone.
 *
 * @field interferenceManagementZoneLongitude: Longitude of the centre point of the interference management zone.
 *
 * @field interferenceManagementZoneRadius: optional radius of the interference management zone in metres. 
 *
 * @field interferenceManagementZoneID: optional identification of the interference management zone. 
 *
 * @field interferenceManagementZoneShape: shape of the interference management zone. 
 *
 * @category: Communication information
 * Revision: created in V2.1.1
 */
InterferenceManagementZoneDefinition::= SEQUENCE{     
    interferenceManagementZoneLatitude   Latitude, 
    interferenceManagementZoneLongitude  Longitude, 
    interferenceManagementZoneRadius     ProtectedZoneRadius OPTIONAL,
    interferenceManagementZoneID         ProtectedZoneID OPTIONAL,
    interferenceManagementZoneShape      Area (WITH COMPONENTS{..., radial ABSENT}) OPTIONAL,
    ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF consists of a list of up to 16 definitions containing  interference management information, per affected frequency channels.
 *  
 * @category: Communication information.
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
InterferenceManagementInfo::= SEQUENCE (SIZE(1..16,...)) OF InterferenceManagementInfoPerChannel

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF contains interference management information for one affected frequency channel.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field interferenceManagementChannel: frequency channel for which the zone should be applied interference management 
 *
 * @field interferenceManagementZoneType: type of the interference management zone. 
 *
 * @field interferenceManagementMitigationType: optional type of the mitigation to be used in the interference management zone.
 *
 * @field expiryTime: optional time at which the validity of the interference management communication zone will expire. This component is present when the interference management is temporarily valid
 *
 * @category: Communication information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
InterferenceManagementInfoPerChannel ::= SEQUENCE {
    interferenceManagementChannel         InterferenceManagementChannel,
    interferenceManagementZoneType        InterferenceManagementZoneType,
    interferenceManagementMitigationType  InterferenceManagementMitigationType OPTIONAL,
    expiryTime                            TimestampIts OPTIONAL, -- from ITS-Container
    ...
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides information and commands defining the required mitigation type in the defined interference management zone. 
 * @field unavailable: this is the default choice to be used when information is not available
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field mitigationForTechnologies: it indicates the type of mitigation and the parameters to be used to protect the 
 * potential victim in the interference management zone per channel access technology class.
 *
 * @category: Communication information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
InterferenceManagementMitigationType ::= CHOICE {
    unavailable   NULL,   
    mitigationForTechnologies MitigationForTechnologies
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF consist of a list of up to 16 interference interference management zones.  
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * **EXAMPLE**: An interference management communication zone may be defined around a 
 * CEN DSRC road side equipment or an urban rail operational area.
 * Communication information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
InterferenceManagementZones ::= SEQUENCE (SIZE(1..16), ...) OF InterferenceManagementZone
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents a unique id for an intersection, in accordance with ETSI TS 103 301.
 *
 * @field region: the optional identifier of the entity that is responsible for the region in which the intersection is placed.
 * It is the duty of that entity   to guarantee that the @ref Id is unique within the region.
 *
 * @field id: the identifier of the intersection
 *
 * @note: when the RoadRegulatorID is present, the IntersectionReferenceID is guaranteed to be globally unique.
 * @category: Road topology information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
IntersectionReferenceId ::= SEQUENCE {
    region RoadRegulatorId OPTIONAL,
    id IntersectionID
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF consists of  a list of waypoints @ref ReferencePosition.
 *
 * @category: GeoReference information
 * Revision: Editorial update in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ItineraryPath ::= SEQUENCE SIZE(1..40) OF ReferencePosition
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents a common message header for application and facilities layer messages.
 * It is included at the beginning of an ITS message as the message header.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field protocolVersion: version of the ITS message.
 *
 * @field messageId: type of the ITS message.
 *
 * @field stationId: the identifier of the ITS-S that generates the ITS message in question.
 *
 * @category: Communication information
 * Revision:  update in V2.1.1: messageID and stationID changed to messageId and stationId; messageId is of type MessageId.
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ItsPduHeader ::= SEQUENCE {
    protocolVersion    INTEGER (0..255),
    messageId          MessageId,
    stationId          StationID
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates a transversal position in resolution of lanes and the associated lane type.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field: transversalPosition: the transversal position.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field: laneType: the type of the lane identified in the component transversalPosition.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category GeoReference information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
LanePositionAndType::= SEQUENCE {
    transversalPosition 	LanePosition,
    laneType				LaneType,
Denis Filatov's avatar
Denis Filatov committed
    ...
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates the vehicle acceleration at lateral direction and the accuracy of the lateral acceleration.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field: lateralAccelerationValue: lateral acceleration value at a point in time.
 * 
 * @field: lateralAccelerationConfidence: accuracy of the reported lateral acceleration value.
 *
 * @note: this DF is kept forbackwards compatibility reasons only. It is recommended to use @ref Acceleration1d instead.
 * @category Vehicle information
 * Revision: V1.3.1
 */
LateralAcceleration ::= SEQUENCE {
    lateralAccelerationValue LateralAccelerationValue,
    lateralAccelerationConfidence AccelerationConfidence
}

/**
 * This DF indicates the vehicle acceleration at longitudinal direction and the accuracy of the longitudinal acceleration.
 *
 * @field longitudinalAccelerationValue: longitudinal acceleration value at a point in time.

 * @field longitudinalAccelerationConfidence: accuracy of the reported longitudinal acceleration value with a predefined
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @note: this DF is kept forbackwards compatibility reasons only. It is recommended to use @ref Acceleration1d instead. 
Denis Filatov's avatar
Denis Filatov committed
 * @category: Vehicle information
tijinkj's avatar
tijinkj committed
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
LongitudinalAcceleration ::= SEQUENCE {
    longitudinalAccelerationValue LongitudinalAccelerationValue,
    longitudinalAccelerationConfidence AccelerationConfidence
}

/** 
 * This DF represents the estimated position along the longitudinal length of a particular lane. 
 *
 * @field  longitudinalLanePositionValue: the mean value of the longitudinal position within a particular length.
 *
 * @field  longitudinalLanePositionConfidence: The confidence associated to the provided value.
 *
 * @note: this DF is kept forbackwards compatibility reasons only. It is recommended to use @ref Acceleration1d instead. 
 * @category: Vehicle information
 * Revision: V1.3.1
*/
LongitudinalLanePosition ::= SEQUENCE {
    longitudinalLanePositionValue        LongitudinalLanePositionValue,
    longitudinalLanePositionConfidence   LongitudinalLanePositionConfidence
}

/** 
 * This DF represents the elements of a lower triangular positive semi-definite matrix, not including the main diagonal elements of the matrix.
 * Given a matrix "A" of size n x n, the number of columns @ref CorrelationColumn to be included in the lower triangular matrix is k=n-1.
 *
 * @category: Vehicle information
 * Revision: V1.3.1
*/
LowerTriangularPositiveSemidefiniteMatrix ::= SEQUENCE SIZE (1..17) OF CorrelationColumn -- tbd extension to be addded?
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates a position on a topology description transmitted in a MAPEM according to ETSI TS 103 301.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field mapReference: optionally identifies the MAPEM carrying the topology.
 * It is absent if the MAPEM topology is known from the context.
 * 
 * @field lane: identifies the lane in the topology.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field longitudinalLanePosition: optionally indicates the longitudinal offset of the map-matched position of the object along the lane.
 * 
 * @category: Road topology information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
MapPosition ::= SEQUENCE {
    mapReference                MapReference OPTIONAL,
    laneId                      LaneId,
    longitudinalLanePosition    LongitudinalLanePosition OPTIONAL,
    ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides the reference to the information contained in a MAPEM according to ETSI TS 103 301. 
 * The following options are provided:
 * 
 * @field roadsegment: option that identifies the description of a road segment contained in a MAPEM.
 * 
 * @field intersection: option that identifies the description of an intersection contained in a MAPEM.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Road topology information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed

MapReference::= CHOICE {
	roadsegment			RoadSegmentReferenceId,
	intersection 		IntersectionReferenceId
	}
Denis Filatov's avatar
Denis Filatov committed
/**
 * 
tijinkj's avatar
tijinkj committed
 * This DF represents a list @ref MitigationPerTechnologyClass.
 * @category: Communication information
 * Revision: Created in V2.1.1
*/
MitigationForTechnologies ::= SEQUENCE (SIZE(1..8)) OF MitigationPerTechnologyClass -- tbd extension needed?

/**
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * This DF represents a set of mitigation parameters for a specific technology, as specified in ETSI TS 103 724, clause 7..
 *
 * @field accessTechnologyClass:  channel access technology to which this mitigation is applied.
 *
 * @field lowDutyCycle: duty cycle limit.
 * @unit: 0.01% steps
 *
 * @field powerReduction: the delta value of power to be reduced.
 * @unit: dB
 *
 * @field dmcToffLimit: idle time limit as defined in ETSI TS 103 175.
 * @unit: ms
 *
 * @field dmcTonLimit: Transmission duration limit, as defined in ETSI EN 302 571.
 * @unit: ms
 *
 * @note: All parameters are optional, as they may not apply to some of the technologies or
 * interference management zone types. Specification details are in ETSI TS 103 724, clause 7. 
 *
 * @category: Communication information
 * Revision: Created in V2.1.1
 */
MitigationPerTechnologyClass ::= SEQUENCE {
   accessTechnologyClass  AccessTechnologyClass, 
   lowDutyCycle  INTEGER (0 .. 10000) OPTIONAL, 
   powerReduction INTEGER (0 .. 30) OPTIONAL,
   dmcToffLimit   INTEGER (0 .. 1200) OPTIONAL,   
   dmcTonLimit   INTEGER (0 .. 20) OPTIONAL,   
   ...
}

/** 
 * This DF indicates both the class and associated subclass that best describes an object, based on different options:
 *
 * @field vehicleSubclass: the object is a road vehicle.
 *
 * @field vruSubclass: the object is a VRU.
 *
 * @field groupSubClass: the object is a VRU CLuster.
 *
 * @field otherSubclass: the object is of a different types as the above.
 *
 * @category: Sensing information
 * Revision: Created in V2.1.1
 */
ObjectClass ::= CHOICE {
    vehicleSubclass    VehicleSubclass,
    vruSubclass        VruProfileAndSubprofile,
    groupSubClass      VruClusterInformation (WITH COMPONENTS{..., clusterBoundingArea ABSENT}),
    otherSubclass      OtherSubclass,
    ...
}

/** 
 * This DF consist of a list of object classes.
 *
 * @category: Sensing information
 * Revision: Created in V2.1.1
*/
ObjectClassDescription ::= SEQUENCE (SIZE(1..8)) OF ObjectClassWithConfidence --tbd added extension?

/** 
* This DF represents the classification of a detected object together with a confidence indication.
 *
 * @field objectClass: the class of the object.
 *
 * @field confidence: the associated confidence information.
 *
 * @category: Sensing information
 * Revision: Created in V2.1.1
*/
ObjectClassWithConfidence ::= SEQUENCE {
    objectClass ObjectClass,
    confidence  ObjectClassConfidence
}
/** 
 * This DF represents a dimension of an object together with a confidence indication
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field value: the object dimension value which can be estimated as the mean of the current distribution.
 *
 * @field confidence: the associated confidence information.
 *
 * @category: Sensing information
 * Revision: Created in V2.1.1
*/
ObjectDimension ::= SEQUENCE {
    value       ObjectDimensionValue,
    confidence  ObjectDimensionConfidence
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF that represents a path with a set of path points.
 * It may contain up to `40` @ref PathPoin. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The first PathPoint presents an offset delta position with regards to an external reference position.
 * Each other PathPoint presents an offset delta position and optionally an offset travel time with regards to the previous PathPoint. 
 *
 * @category: GeoReference information, Vehicle information
 * Revision: semantics updated in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PathHistory::= SEQUENCE (SIZE(0..40)) OF PathPoint
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF  defines an offset waypoint position within a path.
 *
 * @field pathPosition: The waypoint position defined as an offset position with regards to a pre-defined reference position. 
 *
 * @field pathDeltaTime: The optional travel time separated from a waypoint to the predefined reference position.
 *
 * @category GeoReference information
 * Revision: semantics updated in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PathPoint ::= SEQUENCE {
    pathPosition DeltaReferencePosition,
    pathDeltaTime PathDeltaTime OPTIONAL
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF that defines a waypoint position within a path.
 *
 * @field pathPosition: The waypoint position defined as an absolute  position.
 *
 * @field pathDeltaTime: The optional delta time in which the waypoint will be occupied, from a reference time.
 *
 * @category GeoReference information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PathPointAbsolute ::=  SEQUENCE {
    pathPosition     ReferencePosition,                   
    pathDeltaTime    PathDeltaTime     OPTIONAL -- tbd shall this really be optional
}
tijinkj's avatar
tijinkj committed
/** 
 * This DF contains information about a perceived object including its kinematic and attitude representation,
 *
 * @field objectID: Identifier assigned to a detected object, using the DE Identifier,.
 *
 * @field timeOfMeasurement: the time difference from a reference time to the time of the  measurement of the object using the DE DeltaTime. 
 * Negative values indicate that the provided object state refers to a point in time after the reference time.
 *
 * @field xCoordinate: X Coordinate, i.e. distance to detected object from the ITS-S's reference point to object reference point in x-direction at the time
 * of measurement, in a pre-defined coordinate system.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field yCoordinat: Y Coordinate, i.e. distance to detected object from the ITS-S's reference point to object reference point in y-direction at the time
 * of measurement, in a pre-defined coordinate system.
 * 
 * @field zCoordinate: Optional Z Coordinate, i.e. distance to detected object to object reference point from the ITS-S's reference point in z-direction at the time
 * of measurement, in a pre-defined coordinate system.
 * 
 * @field xSpeed: Speed of the detected object in the detecting ITS-S’s reference system in x-direction at the time
 * of measurement, in a pre-defined coordinate system, using the DF SpeedExtended.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field ySpeed: Speed of the detected object in the detecting ITS-S’s reference system in y-direction at the time
 * of measurement, in a pre-defined coordinate system, using the DF SpeedExtended.
 *  
 * @field zSpeed
 * Optional Speed of the detected object in the detecting ITS-S’s reference system in z-direction at the time
 *  of measurement, in a pre-defined coordinate system, using the DF SpeedExtended.
 *
 * @field xAcceleration: optional Acceleration of the detected object from the ITS-S's reference point in x-direction
 *   at the time of measurement, in a pre-defined coordinate system, using the DF Acceleration1d.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field yAcceleration: optional Acceleration of the detected object from the ITS-S's reference point in y-direction
 *   at the time of measurement, in a pre-defined coordinate system, using the DF Acceleration1d.
 *
 * @field zAcceleration: optional Acceleration of the detected object from the ITS-S's reference point in z-direction
 *   at the time of measurement, in a pre-defined coordinate system, using the DF Acceleration1d.
 *
 * @field rollAngle: optional Roll angle of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 *   The angle is measured with positive values considering the object orientation turning counter-clockwise around the x-axis.
 *  
 * @field pitchAngle: optional Pitch angle of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.    
 * The angle is measured with positive values considering the object orientation turning counter-clockwise around the y-axis.
 *  
 * @field yawAngle: optional Yaw angle of object from the ITS-S's reference pointat the time of measurement, in a pre-defined coordinate system.
 * The angle is measured with positive values considering the object orientation turning counter-clockwise around the z-axis.
 *  
 * @field rollRate: optional Roll rate of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 * The angular rate is measured with positive values considering the object orientation turning counter-clockwise around the x-axis.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field pitchRate: optional Pitch rate of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 * The angular rate is measured with positive values considering the object orientation turning counter-clockwise around the y-axis.
 *
 * @field yawRate: optional Yaw rate of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 * The angular rate is measured with positive values considering the object orientation turning counter-clockwise around the z-axis.
 *
 * @field rollAcceleration: optional Roll acceleration of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 * The angular acceleration is measured with positive values considering the object orientation turning counter-clockwise around the x-axis.
 *
 * @field @details pitchAcceleration: optional Pitch acceleration of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 * The angular acceleration is measured with positive values considering the object orientation turning counter-clockwise around the y-axis.
 *
 * @field yawAcceleration: optional Yaw acceleration of object from the ITS-S's reference point at the time of measurement, in a pre-defined coordinate system.
 * The angular acceleration is measured with positive values considering the object orientation turning counter-clockwise around the z-axis.
 *
 * @field lowerTriangularCorrelationMatrixColumns: optional set of columns of a lower triangular positive semi definite correlation matrix for the
 *   kinematic state and attitude space provided for this object.
 *   The order of the columns and rows of the correlation matrix is as follows:
 *       - xCoordinate
 *       - yCoordinate
 *       - zCoordinate
 *       - xSpeed
 *       - ySpeed
 *       - zSpeed
 *       - xAcceleration
 *       - yAcceleration
 *       - zAcceleration
 *       - rollAngle
 *       - pitchAngle
 *       - yawAngle
 *       - rollRate
 *       - pitchRate
 *       - yawRate
 *       - rollAcceleration
 *       - pitchAcceleration
 *       - yawAcceleration
 *   The number of lowerTriangularCorrelationMatrixColumns to be included "k" is thereby the number of provided
 *   values "n" of the kinematic state and attitude space minus 1: k = n-1.
 *   Each column "i" of the lowerTriangularCorrelationMatrixColumns contains k-(i-1) values.
 *   In case certain values of the kinematic state and attitude space are not provided, they are omitted from
 *   the lowerTriangularCorrelationMatrixColumns.
 *
 * @field planarObjectDimension1: optional first dimension of object as provided by the sensor or environment model. 
 * This dimension is always contained in the plane which is oriented perpendicular to the direction of the angle
 * indicated by the yawAngle and which contains the object's reference point.
 *   
 * @field planarObjectDimension2: optional second dimension of the object as provided by the sensor environment model. 
 * This dimension is contained in the plane oriented in the direction of the angle indicated by the yawAngle and the object's reference point.
 *  
 * @field verticalObjectDimension: optionalvertical dimension of object as provided by the sensor or object model.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field objectRefPoint: the reference point on the perceived object. The kinematic attitude and state data provided
 * for this object are valid for this reference point of the object. In case no object reference
 * point can be determined, it is assumed to be the center point of the detected object.
 *  
 * @field objectAge: the age of the detected and described object, i.e. the difference in time between the moment 
 * it has been first detected and the reference time of the message. Value `1500` indicates that the object has been observed for more than 1.5s.
 *
 * @field objectConfidence: optional confidence associated to the object. The computation of the object confidence is based on a sensor's or
 * fusion system's specific detection confidence, the binary detection success that is, if an object
 * has been successfully detected by the last measurement and the object age.
 *
 * @field sensorIdList: optional list of sensor-IDs which provided the measurement data. 
 *
 * @field dynamicStatus: optional dynamic capabilities of a detected object.
 *  
 * @field classification: optional classification of the described object
 *
 * @field matchedPosition: optional map-matched position of an object.
 *
 * @category Sensing information
 * Revision: created in V2.1.1
 */

PerceivedObject ::= SEQUENCE {
    objectID                						  Identifier,
    timeOfMeasurement                                 DeltaTimeMilliSecond,
    xCoordinate                                       CartesianCoordinateWithConfidence, --tbd is the range correct here?
    yCoordinate                                       CartesianCoordinateWithConfidence,
    zCoordinate                                       CartesianCoordinateWithConfidence OPTIONAL,
    xSpeed                                            SpeedExtended,
    ySpeed                                            SpeedExtended,
    zSpeed                                            SpeedExtended OPTIONAL,
    xAcceleration                                     Acceleration1d OPTIONAL,
    yAcceleration                                     Acceleration1d OPTIONAL,
    zAcceleration                                     Acceleration1d OPTIONAL,
    rollAngle                                         CartesianAngle OPTIONAL,
    pitchAngle                                        CartesianAngle OPTIONAL,
    yawAngle                                          CartesianAngle OPTIONAL,
    rollRate                                          CartesianAngularSpeed OPTIONAL,
    pitchRate                                         CartesianAngularSpeed OPTIONAL,
    yawRate                                           CartesianAngularSpeed OPTIONAL,
    rollAcceleration                                  CartesianAngularAcceleration OPTIONAL,
    pitchAcceleration                                 CartesianAngularAcceleration OPTIONAL,
    yawAcceleration                                   CartesianAngularAcceleration OPTIONAL,
    lowerTriangularCorrelationMatrixColumns           LowerTriangularPositiveSemidefiniteMatrix OPTIONAL,
    planarObjectDimension1                            ObjectDimension OPTIONAL,
    planarObjectDimension2                            ObjectDimension OPTIONAL,
    verticalObjectDimension                           ObjectDimension OPTIONAL,
    objectRefPoint                                    ObjectRefPoint DEFAULT 0,
    objectAge                                         DeltaTimeMilliSecond (0..1500),
    objectConfidence                                  ObjectConfidence OPTIONAL,
    sensorIdList                                      SequenceOfId OPTIONAL,
    dynamicStatus                                     ObjectDynamicStatus OPTIONAL, -- tbd delete optional
    classification                                    ObjectClassDescription OPTIONAL,
    mapPosition                                       MapPosition OPTIONAL, --changed from matchedPosition
    ...
}
/** 
 * This DF represents an area delimited by a polygon and consist of a list of minimum `3` to maximum `16` @ref CartesianPosition3d.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category GeoReference information
 * Revision: created in V2.1.1
 *
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PolygonalArea ::= SequenceOfCartesianPosition3d (SIZE(3..16,...))
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides the horizontal position accuracy in a shape of ellipse with a 
 * confidence level of 95 %. The centre of the ellipse shape corresponds to the reference
 * position point for which the position accuracy is evaluated.
 *
 * @field semiMajorConfidence: half of length of the major axis, i.e. distance between the centre point
 * and major axis point of the position accuracy ellipse. 
 *
 * @field semiMinorConfidence: half of length of the minor axis, i.e. distance between the centre point
 * and minor axis point of the position accuracy ellipse. 
 *
 * @field semiMajorOrientation: orientation direction of the ellipse major axis of the position accuracy
 * ellipse with regards to the WGS84 north. 
 *
 *
 * @category GeoReference information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PosConfidenceEllipse ::= SEQUENCE {
    semiMajorConfidence SemiAxisLength,
    semiMinorConfidence SemiAxisLength,
    semiMajorOrientation Wgs84AngleValue
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF contains a list of distances @ref PosPillar that refer to the perpendicular distance between centre of vehicle front bumper
 * and vehicle pillar A, between neighbour pillars until the last pillar of the vehicle.
 *
 * Vehicle pillars refer to the vertical or near vertical support of vehicle,
 * designated respectively as the A, B, C or D and other pillars moving in side profile view from the front to rear.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The first value of the DF refers to the perpendicular distance from the centre of vehicle front bumper to 
 * vehicle A pillar. The second value refers to the perpendicular distance from the centre position of A pillar
 * to the B pillar of vehicle and so on until the last pillar.
 *
 * @category: Vehicle information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PositionOfPillars ::= SEQUENCE (SIZE(1..3, ...)) OF PosPillar
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF describes a zone of protection inside which the ITSG5 communication should be restricted.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field protectedZoneType: type of the protected zone. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field expiryTime: optional time at which the validity of the protected communication zone will expire.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field protectedZoneLatitude: latitude of the centre point of the protected communication zone.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field protectedZoneLongitude: longitude of the centre point of the protected communication zone.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field protectedZoneRadius: optional radius of the protected communication zone in metres.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field protectedZoneID: the optional ID of the protected communication zone.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @note: A protected communication zone may be defined around a CEN DSRC road side equipment.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Infrastructure information, Communication information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ProtectedCommunicationZone ::= SEQUENCE {
    protectedZoneType        ProtectedZoneType,
    expiryTime               TimestampIts OPTIONAL,
    protectedZoneLatitude    Latitude,
    protectedZoneLongitude   Longitude,
    protectedZoneRadius      ProtectedZoneRadius OPTIONAL,
    protectedZoneID          ProtectedZoneID OPTIONAL,
    ...
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF consist of a list of @ref ProtectedCommunicationZone provided by a road side ITS-S (Road Side Unit RSU).
 *
 * It may provide up to 16 protected communication zones information.
 *
 * @category: Infrastructure information, Communication information
 * Revision: V1.3.1
 */
ProtectedCommunicationZonesRSU ::= SEQUENCE (SIZE(1..16)) OF ProtectedCommunicationZone 
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents activation data for real-time systems designed for operations control, traffic light priorities, track switches, barriers, etc.
 * using a range of activation devices equipped in public transport vehicles.
 *
 * The activation of the corresponding equipment is triggered by the approach or passage of a public transport
 * vehicle at a certain point (e.g. a beacon).
 *
 * @field ptActivationType: type of activation. 
 *
 * @field ptActicationData: data of activation. 
 *
 * Today there are different payload variants defined for public transport activation-data. The R09.x is one of
 * the industry standard used by public transport vehicles (e.g. buses, trams) in Europe (e.g. Germany Austria)
 * for controlling traffic lights, barriers, bollards, etc. This DF includes information like route, course,
 * destination, priority, etc.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * The R09.x content is defined in VDV recommendation 420 [i.8]. It includes following information:
 * - Priority Request Information (pre-request, request, ready to start)
 * - End of Prioritization procedure
 * - Priority request direction
 * - Public Transport line number
 * - Priority of public transport
 * - Route line identifier of the public transport
 * - Route number identification
 * - Destination of public transport vehicle
 *
 * Other countries may use different message sets defined by the local administration.
 * @category: Vehicle information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
PtActivation ::= SEQUENCE {
    ptActivationType PtActivationType,
    ptActivationData PtActivationData
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF describes a radial area. The triangular or cone-shaped area is
 * constructed by sweeping the provided range about the reference point of the ITS-S or about the
 * point described by the sensor offset point (if provided) with respect to the reference point
 * between a horizontal start and a horizontal end angle in positive angular direction of the WGS84
 * coordinate system. A vertical opening angle may be provided in a Cartesian coordinate system with
 * the x-axis located in the North-East plane of the WGS84 coordinate system. The sensor height may
 * be provided to reflect characteristics of sensors mounted at an altitude (e.g. sensors mounted
 * above intersections).
 *
 * It includes the following components:
 * @field range: The radial range of the sensor from the reference point or sensor point offset. 
 *
 * @field stationaryHorizontalOpeningAngleStart:  The orientation indicating the beginning of the 
 * stationary sensor’s horizontal opening angle in positive angular direction with respect to the 
 * WGS84 coordinate system.
 *
 * @field stationaryHorizontalOpeningAngleEnd: The orientation indicating the end of the stationary 
 * sensor’s horizontal opening angle in positive angular direction with respect to the WGS84 coordinate 
 * system.
 *
 * @field verticalOpeningAngleStart: optional orientation indicating the beginning of the stationary sensor’s 
 * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis 
   located in the north-east plane of the WGS84 coordinate system.
 *
 * @field verticalOpeningAngleEnd: optional orientation indicating the end of the stationary sensor’s 
 * vertical opening angle in positive angular direction of a Cartesian coordinate system with its x-axis 
 * located in the north-east plane of the WGS84 coordinate system using the DE CartesianAngleValue. 
 *
 * @field sensorPositionOffset The offset of the mounting poinf of this sensor from the station's ReferencePosition.
 *
 * @field sensorHeight: the height of the sensor mounting point.
 *
 * @category GeoReference information
 * Revision: created in V2.1.1
*/
RadialArea ::= SEQUENCE { -- tbd why is sensorHeight needed?
    range                                   StandardLength,
    stationaryHorizontalOpeningAngleStart   Wgs84AngleValue, --tbd shall this be cartesian?
    stationaryHorizontalOpeningAngleEnd     Wgs84AngleValue, --tbd shall this be cartesian?
    verticalOpeningAngleStart               CartesianAngleValue OPTIONAL,
    verticalOpeningAngleEnd                 CartesianAngleValue OPTIONAL,
    sensorPositionOffset                    CartesianPosition3d OPTIONAL,
   -- sensorHeight                            SensorHeight OPTIONAL,
    ...
}

/** 
 * This DF specifies a rectangular area that is centred on a reference position defined outside of the context of this DF. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field centerPoint: represents an optional offset point which the rectangle is centred on with respect to the reference position.
 *
 * @field semiLength: represents half the length of the rectangle.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field semiBreadth: represents half the breadth of the rectangle.
 *
 * @field orientation: represents the orientation of the lenght of the rectangle in the WGS84 coordinate system.
 *
 * @category GeoReference information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
RectangularArea ::= SEQUENCE { -- tbd
    centerPoint          	 CartesianPosition3d OPTIONAL,
    semiLength        		 StandardLength,
    semiBreadth				 StandardLength,
    orientation   			 Wgs84AngleValue
 -- semiHeight               SemiRangeLength OPTIONAL
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * A position within a geographic coordinate system together with a confidence indication. 
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @field latitude: the latitude of the geographical point.
 *
 * @field longitude: the longitude of the geographical point.
 *
 * @field positionConfidenceEllipse: the accuracy of the geographical position.
 *
 * @field altitude: the altitude and an altitude accuracy of the geographical point.
Denis Filatov's avatar
Denis Filatov committed
 *
 * @category: GeoReference information
tijinkj's avatar
tijinkj committed
 * Revision: description updated in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
ReferencePosition ::= SEQUENCE {
    latitude Latitude,
    longitude Longitude,
    positionConfidenceEllipse PosConfidenceEllipse,
    altitude Altitude
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF consist of a list of @ref StationType. to which a certain traffic restriction, e.g. the speed limit, applies.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Infrastructure information, Traffic information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
RestrictedTypes ::= SEQUENCE (SIZE(1..3, ...)) OF StationType
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents a unique id for a road segment
 *
 * @field region: the optional identifier of the entity that is responsible for the region in which the road segment is placed.
 * It is the duty of that entity to guarantee that the @ref Id is unique within the region.
 *
 * @field id: the identifier of the road segment
 *
 * @note: when the RoadRegulatorID is present, the RoadSegmentReferenceID is guaranteed to be globally unique.
 * @category: GeoReference information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
RoadSegmentReferenceId ::= SEQUENCE {
    region   RoadRegulatorId OPTIONAL,
    id       RoadSegmentID
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides the safe distance indication of a traffic participant with other traffic participant(s).
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field subjectStation: optionally indicates one "other" traffic participant identified by its ITS-S.
 *  
 * @field safeDistanceIndicator: indicates whether the distance between the ego ITS-S and the traffic participant(s) is safe. 
 *
 * @field timeToCollision: optionally indicated the time-to-collision calculated as sqrt(LaDi^2 + LoDi^2 + VDi^2)/relative speed and represented in  the  nearest 100  ms. 
 *
 * @category: tbd
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
SafeDistanceIndication ::= SEQUENCE {
    subjectStation                 StationID OPTIONAL,
    safeDistanceIndicator          SafeDistanceIndicator,
    timeToCollision                DeltaTimeHundredthOfSecond OPTIONAL,
    ...
tijinkj's avatar
tijinkj committed
/** 
 * This DF represents a list of  maximum `16` @ref CartesianPosition3d.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category GeoReference information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
SequenceOfCartesianPosition3d ::= SEQUENCE (SIZE(1..16, ...)) OF CartesianPosition3d

/** 
 * The DF contains a list of identifiers.
 *
 * @category Basic information
 * Revision: created in V2.1.1
*/
SequenceOfId ::= SEQUENCE SIZE(1..128, ...) OF Identifier
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF contains a list of DFs PathPointAbsolute
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category GeoReference information
 * Revision: created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
SequenceOfPathPointAbsolute::= SEQUENCE OF PathPointAbsolute
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF contains a list of DF  SafeDistanceIndication.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category tbd
 * Revision: created in V2.1.1
*/
SequenceOfSafeDistanceIndication ::= SEQUENCE(SIZE(1..8)) OF SafeDistanceIndication
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * The DF contains a list of DF  TrajectoryInterceptionIndication.
 *
 * @category tbd
 * Revision: created in V2.1.1
*/
SequenceOfTrajectoryInterceptionIndication ::=  SEQUENCE (SIZE(1..8)) OF TrajectoryInterceptionIndication
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF describes the speed and corresponding accuracy of the speed information for a moving object (e.g. vehicle).
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field speedValue: the speed value.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field speedConfidence: the accuracy of the reported speed value.
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * @category: Kinematics information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
Speed ::= SEQUENCE {
    speedValue SpeedValue,
    speedConfidence SpeedConfidence
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF describes the extended speed and corresponding accuracy of the speed information for a moving object (e.g. vehicle).
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field speedValue: the extended speed value.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field speedConfidence: the accuracy of the reported speed value.
 *
 * @category: Kinematics information
 * Revision: V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
SpeedExtended ::= SEQUENCE {
    speedValue SpeedValueExtended,
    speedConfidence SpeedConfidence
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF  provides the  indication of  change in stability.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field lossProbability: the probability of stability loss. 
 * 
 * @field actionDeltaTime: accuracy of the reported speed value.
 *
 * @category: Kinematics information
 * Revision: V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
StabilityChangeIndication ::= SEQUENCE {
    lossProbability     StabilityLossProbability,
    actionDeltaTime     DeltaTimeTenthOfSecond,
    ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the steering wheel angle of the vehicle at certain point in time.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field steeringWheelAngleValue: steering wheel angle value.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field steeringWheelAngleConfidence: accuracy of the reported steering wheel angle value.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Vehicle information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
SteeringWheelAngle ::= SEQUENCE {
    steeringWheelAngleValue SteeringWheelAngleValue,
    steeringWheelAngleConfidence SteeringWheelAngleConfidence
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents one or more paths using @ref PathHistory.
 * 
 * @category: GeoReference information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
Traces ::= SEQUENCE SIZE(1..7) OF PathHistory
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * Ths DF represents the a position on a traffic island between two lanes. 
 *
 * @field oneSide: represents one lane.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field otherSide: represents the other lane.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @category: Road Topology information
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TrafficIslandPosition ::= SEQUENCE {
    oneSide    LanePositionAndType,
    otherSide  LanePositionAndType,
    ...
}

/** 
 * This DF provides detailed information about an attached trailer.
 *
 * It includes the following components:
 * - @field refPointId: identifier of the reference point of the trailer.
 *
 * - @field hitchPointOffset: optional position of the hitch point in negative x-direction (according to ISO 8855) from the
 *   vehicle Reference Point.
 *
 * - @field frontOverhang: Length of the trailer overhang in the positive x direction (according to ISO 8855) from the
 *   trailer Reference Point indicated by the refPointID. The value defaults to 0 in case the trailer
     is not overhanging to the front with respect to the trailer reference point.
 *
 * - @field rearOverhang: Length of the trailer overhang in the negative x direction (according to ISO 8855) from the
     trailer Reference Point indicated by the @see refPointID.
 *
 * - @field trailerWidth: optional width of the trailer.
 *
 * - @field hitchAngle: optional Value and confidence of the angle between the trailer orientation (corresponding to the x
 *   direction of the ISO 8855 [i.2] coordinate system centered on the trailer) and the direction of
 *   the segment having as end points the reference point of the trailer and the reference point of
 *   the pulling vehicle, which can be another trailer or a vehicle looking on the horizontal plane
 *   xy, described in the local Cartesian coordinate system of the preceding reference point. The
 *   angle is measured with negative values considering the trailer orientation turning clockwise
 *   starting from the segment direction. The angle value accuracy is provided with the
 *   confidence level of 95 %.
 *
 * @category: Vehicle information
 * Revision: Created in V2.1.1
*/
TrailerData ::= SEQUENCE {
    refPointId          RefPointId,
    hitchPointOffset    StandardLengthSmall OPTIONAL, --tbd
    frontOverhang       StandardLengthSmall,
    rearOverhang        StandardLengthSmall,
    trailerWidth        VehicleWidth OPTIONAL,
    hitchAngle          CartesianAngle OPTIONAL,
    ...
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF  provides the trajectory  interception  indication  of  ego-VRU  ITS-S  with another ITS-Ss. 
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field: subjectStation:  indicates the  subject  station.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field: trajectoryInterceptionProbability: indicates the propbability of the interception of the subject station trajectory with the trajectory of the station indicated in @field: subjectStation.
 *
 * @field: trajectoryInterceptionConfidence: indicates the confidence of interception of the subject station trajectory with the trajectory of the station indicated in @field: subjectStation.
 * 
 * @category tbd
 * Revision: Created in V2.1.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
TrajectoryInterceptionIndication  ::= SEQUENCE {
        subjectStation                    StationID OPTIONAL, 
        trajectoryInterceptionProbability TrajectoryInterceptionProbability,
        trajectoryInterceptionConfidence  TrajectoryInterceptionConfidence OPTIONAL,
        ... 
    }
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates the vehicle acceleration at vertical direction and the accuracy of the vertical acceleration.
 * 
 * @field: verticalAccelerationValue: vertical acceleration value at a point in time.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field: verticalAccelerationConfidence: accuracy of the reported vertical acceleration value with a predefined confidence level.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @note: this DF is kept forbackwards compatibility reasons only. It is recommended to use @ref Acceleration1d instead
 * @category Vehicle information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VerticalAcceleration ::= SEQUENCE {
    verticalAccelerationValue VerticalAccelerationValue,
    verticalAccelerationConfidence AccelerationConfidence
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF provides information related to the identification of a vehicle.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field wMInumber: World Manufacturer Identifier (WMI) code.
 * 
 * @field vDS: Vehicle Descriptor Section (VDS). 
 * 
 * @category: Vehicle information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VehicleIdentification ::= SEQUENCE {
    wMInumber WMInumber OPTIONAL,
    vDS VDS OPTIONAL,
    ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents the length of vehicle and accuracy indication information.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field vehicleLengthValue: length of vehicle. 
 * 
 * @field vehicleLengthConfidenceIndication: indication of reported length value confidence.
 * 
 * @category: Vehicle information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
VehicleLength ::= SEQUENCE {
    vehicleLengthValue VehicleLengthValue,
    vehicleLengthConfidenceIndication VehicleLengthConfidenceIndication
}

/** 
 * This DF provides information about a VRU cluster.
 *
 * It includes the following components:
 * @field clusterId: optional identifier of a VRU cluster .
 *
 * @field clusterBoundingBoxShape: optionally indicates the shape of the cluster bounding box.
 *
 * @field clusterCardinalitySize: indicates an estimation of the number of VRUs in the group.
 *
 * @field clusterProfiles: identifies all the VRU profile types that are believed to be within the cluster .
 *
 * @category: VRU information
 * Revision: Created in V2.1.1
*/
VruClusterInformation ::= SEQUENCE { -- tbd generalize?
   clusterId                     ClusterId OPTIONAL,
   clusterBoundingArea	         Area (WITH COMPONENTS{..., radial ABSENT}) OPTIONAL,
   clusterCardinalitySize        ClusterCardinalitySize,
   clusterProfiles               VruClusterProfiles,
   ...
}
Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF indicates the profile of a VRU including sub-profile information
Denis Filatov's avatar
Denis Filatov committed
 *
tijinkj's avatar
tijinkj committed
 * It identifies four options corresponding to the four types of VRU profiles specified in ETSI TS 103 300-2:
 *
 * @fieldpedestrian: VRU Profile 1 - Pedestrian.
 *
 * @field lightVruVehicle: VRU Profile  2 - Bicyclist.
 *
 * @fieldmotorcyclist: VRU Profile 3  - Motorcyclist.
 *
 * @fieldanimal: VRU Profile  4 -  Animals.
 *
 * @category: VRU information
 * Revision: Created in V2.1.1
 */
VruProfileAndSubprofile ::= CHOICE {
   pedestrian          VruSubProfilePedestrian,
   lightVruVehicle     VruSubProfilelightVruVehicle, --tbd name
   motorcylist         VruSubProfileMotorcyclist,
   animal              VruSubProfileAnimal,
   ...
}

/** 
 * This DF represents an angular component along with a confidence in the WGS84 coordinate system.
 *
 * @field value: the angle value which can be estimated as the mean of the current distribution.
 *
 * @field confidence: the accuracy associated to the provided value.
 *
 * @category: GeoReference information
 * Revision: Created in V2.1.1
*/
Wgs84Angle ::= SEQUENCE {
    value       Wgs84AngleValue,
    confidence  Wgs84AngleConfidence
}

Denis Filatov's avatar
Denis Filatov committed
/**
tijinkj's avatar
tijinkj committed
 * This DF represents a yaw rate of vehicle at a point in time.
Denis Filatov's avatar
Denis Filatov committed
 * 
tijinkj's avatar
tijinkj committed
 * @field yawRateValue: yaw rate value at a point in time.
 * 
 * @field vehicleLengthConfidenceIndication: accuracy of reported yaw rate value.
 * 
 * @category: Vehicle Information
 * Revision: V1.3.1
Denis Filatov's avatar
Denis Filatov committed
 */
tijinkj's avatar
tijinkj committed
YawRate::= SEQUENCE {
    yawRateValue YawRateValue,
    yawRateConfidence YawRateConfidence
}
Denis Filatov's avatar
Denis Filatov committed
END