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,
#         ...
# }
# ------------------------------------------------------------------------------
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