VehicleBreakdownSubCauseCode

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 ---------------------------------------------------------
# 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 value of the sub cause codes of the @ref CauseCode `vehicleBreakdown`. 
# * 
# * The value shall be set to:
# * - 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 tyre puncture,
# * - 9 `tyrePressureProblem` - in case low tyre pressure in detected,
# * - 10 `vehicleOnFire`      - in case the vehicle is on fire.
# * - 11-255                  - are reserved for future usage.
# *
# * @category: Traffic information
#
# 

uint8 value
uint8 MIN = 0
uint8 MAX = 255
uint8 UNAVAILABLE = 0
uint8 LACK_OF_FUEL = 1
uint8 LACK_OF_BATTERY_POWER = 2
uint8 ENGINE_PROBLEM = 3
uint8 TRANSMISSION_PROBLEM = 4
uint8 ENGINE_COOLING_PROBLEM = 5
uint8 BRAKING_SYSTEM_PROBLEM = 6
uint8 STEERING_PROBLEM = 7
uint8 TYRE_PUNCTURE = 8
uint8 TYRE_PRESSURE_PROBLEM = 9
uint8 VEHICLE_ON_FIRE = 10