SituationContainer

This is a ROS message definition.

Source

# ==============================================================================
# MIT License
#
# Copyright (c) 2023-2025 Institute for Automotive Engineering (ika), RWTH Aachen University
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ==============================================================================

# --- Auto-generated by https://github.com/ika-rwth-aachen/etsi_its_messages ---
# python3
#   utils/codegen/codegen-py/asn1ToRosMsg.py
#   asn1/raw/denm_ts103831/DENM-PDU-Descriptions.asn
#   asn1/patched/denm_ts103831/cdd/ETSI-ITS-CDD.asn
#   -t
#   denm_ts
#   -o
#   etsi_its_msgs/etsi_its_denm_ts_msgs/msg
# ------------------------------------------------------------------------------

# --- ASN.1 Definition ---------------------------------------------------------
# /** 
#  * This type represents the situation container.
#  *
#  * It shall include the following components: 
#  *
#  * @field informationQuality: the quality level of the information provided by the ITS-S application of the originating ITS-S. 
#  * It indicates the probability of the detected event being truly existent at the event position.
#  *
#  * @field eventType: the event type, including direct cause and sub cause.
#  *
#  * @field linkedCause: the optional type of a linked event co-existing at the same time and the same place (same event zone), 
#  * including direct cause and sub cause of the linked event, for which no other DENM is sent out.
#  *
#  * @field eventZone: an optional list of EventPoint, using the position indicated in the component eventPosition of the Management container 
#  * as the reference position for the first EventPoint.
#  *
#  * @field linkedDenms: the optional list of DF ActionId, pointing to DENMs that are semantically connected because applying to consecutive 
#  * event zones at the same time.
#  *
#  * @field eventEnd: the end position of the event along the road that is affected by the event w.r.t. the component eventPosition of the 
#  * Management container. This end position is represented by the length of the event along the road. 
#  *
# */
# SituationContainer ::= SEQUENCE {
#     informationQuality InformationQuality,
#     eventType          CauseCodeV2,
#     linkedCause        CauseCodeV2 OPTIONAL,
#     eventZone          EventZone OPTIONAL,
#     ...,
# [[  linkedDenms        ActionIdList OPTIONAL,
#     eventEnd           Position1d OPTIONAL ]]   
# }
# ------------------------------------------------------------------------------

InformationQuality information_quality

CauseCodeV2 event_type

CauseCodeV2 linked_cause
bool linked_cause_is_present

EventZone event_zone
bool event_zone_is_present

ActionIdList linked_denms
bool linked_denms_is_present

Position1d event_end
bool event_end_is_present