PreCrashContainer

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 contains detailed information about an object with which a vehicle and/or the traffic is likely to collide.
#  *
#  * It shall include the following components: 
#  *
#  * @field perceivedPreCrashObject: information about a perceived object in the East, North, Up reference frame.
#  *
#  * @field objectStationId: the optional station Id of the object for which the information is provided.
#  *
#  * @field timeToCollision: the optional estimated time to collision of a vehicle with the object. 
#  *
#  * @field impactSection: indication of the object's section where the impact will most likely occur. 
#  * When the target object is likely to be a vehicle, then this component should be present, otherwise it should not be provided.  
#  *
#  * @field estimatedBrakingDistance: the optional estimated distance in which the vehicle would need to come to a complete hold, 
#  * if no obstruction was in the way. 
# */
# PreCrashContainer ::= SEQUENCE { 
#     perceivedPreCrashObject   PerceivedObject, 
#     objectStationId           StationId OPTIONAL, 
#     timeToCollision           DeltaTimeMilliSecondPositive OPTIONAL, 
#     impactSection             ObjectFace OPTIONAL, 
#     estimatedBrakingDistance  StandardLength12b OPTIONAL,
#     ... 
# }
# ------------------------------------------------------------------------------

PerceivedObject perceived_pre_crash_object

StationId object_station_id
bool object_station_id_is_present

DeltaTimeMilliSecondPositive time_to_collision
bool time_to_collision_is_present

ObjectFace impact_section
bool impact_section_is_present

StandardLength12b estimated_braking_distance
bool estimated_braking_distance_is_present