HazardousLocationSurfaceConditionSubCauseCode

This is a ROS message definition.

Source

# ==============================================================================
# MIT License
#
# Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University
# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro
#
# 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 asn1ToRosMsg.py ----------------------------------------

# --- ASN.1 Definition ---------------------------------------------------------
# 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 value of the sub cause code of the @ref CauseCode `hazardousLocation-SurfaceCondition`. 
# * 
#The value shall be set to:
# * - 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 - `fire`            - in case there is fire on or near to the road surface.
# * - 11-255                 - are reserved for future usage.
# *
# * @category: Traffic information
# * @revision: V1.3.1
# 

uint8 value
uint8 MIN = 0
uint8 MAX = 255
uint8 UNAVAILABLE = 0
uint8 ROCKFALLS = 1
uint8 EARTHQUAKE_DAMAGE = 2
uint8 SEWER_COLLAPSE = 3
uint8 SUBSIDENCE = 4
uint8 SNOW_DRIFTS = 5
uint8 STORM_DAMAGE = 6
uint8 BURST_PIPE = 7
uint8 VOLCANO_ERUPTION = 8
uint8 FALLING_ICE = 9
uint8 FIRE = 10