SpecialVehicleContainer
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 ---------------------------------------------------------
# SpecialVehicleContainer ::= CHOICE {
# publicTransportContainer PublicTransportContainer,
# specialTransportContainer SpecialTransportContainer,
# dangerousGoodsContainer DangerousGoodsContainer,
# roadWorksContainerBasic RoadWorksContainerBasic,
# rescueContainer RescueContainer,
# emergencyContainer EmergencyContainer,
# safetyCarContainer SafetyCarContainer,
# ...
# }
# ------------------------------------------------------------------------------
# *
#* This type represent the Special Vehicle Container.
#*
#* It shall include the following components:
#*
#* @field publicTransportContainer: If the vehicleRole component is set to publicTransport(1) this container shall be present.
#*
#* @field specialTransportContainer: If the vehicleRole component is set to specialTransport(2) this container shall be present.
#*
#* @field dangerousGoodsContainer: If the vehicleRole component is set to dangerousGoods(3) this container shall be present.
#*
#* @field roadWorksContainerBasic: If the vehicleRole component is set to roadWork(4) this container shall be present.
#*
#* @field rescueContainer: If the vehicleRole component is set to rescue(5) this container shall be present.
#*
#* @field emergencyContainer: If the vehicleRole component is set to emergency(6) this container shall be present.
#*
#* @field safetyCarContainer: If the vehicleRole component is set to safetyCar(7) this container shall be present.
#
uint8 choice
PublicTransportContainer public_transport_container
uint8 CHOICE_PUBLIC_TRANSPORT_CONTAINER = 0
SpecialTransportContainer special_transport_container
uint8 CHOICE_SPECIAL_TRANSPORT_CONTAINER = 1
DangerousGoodsContainer dangerous_goods_container
uint8 CHOICE_DANGEROUS_GOODS_CONTAINER = 2
RoadWorksContainerBasic road_works_container_basic
uint8 CHOICE_ROAD_WORKS_CONTAINER_BASIC = 3
RescueContainer rescue_container
uint8 CHOICE_RESCUE_CONTAINER = 4
EmergencyContainer emergency_container
uint8 CHOICE_EMERGENCY_CONTAINER = 5
SafetyCarContainer safety_car_container
uint8 CHOICE_SAFETY_CAR_CONTAINER = 6