DangerousGoodsExtended

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 ---------------------------------------------------------
# DangerousGoodsExtended ::= SEQUENCE {
#     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,
#     ...
# }
# ------------------------------------------------------------------------------
# *
# * This DF provides a description of dangerous goods being carried by a heavy vehicle.
# *
# * It shall include the following components: 
# * 
# * @field dangerousGoodsType: Type of dangerous goods.
# * 
# * @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 [4],
# * 
# * @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 component 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 component is optional, it shall be present if the information is available.
# * 
# * @field companyName: name of company that manages the transportation of the dangerous goods.
# * This component is optional; it shall be present if the information is available.
# * 
# * @category Vehicle information
# * @revision: V1.3.1
# 

DangerousGoodsBasic dangerous_goods_type

uint16 un_number
uint16 UN_NUMBER_MIN = 0
uint16 UN_NUMBER_MAX = 9999

bool elevated_temperature

bool tunnels_restricted

bool limited_quantity

string emergency_action_code
bool emergency_action_code_is_present
uint8 EMERGENCY_ACTION_CODE_MIN_SIZE = 1
uint8 EMERGENCY_ACTION_CODE_MAX_SIZE = 24

PhoneNumber phone_number
bool phone_number_is_present

string company_name
bool company_name_is_present
uint8 COMPANY_NAME_MIN_SIZE = 1
uint8 COMPANY_NAME_MAX_SIZE = 24