VehicleRole

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 ---------------------------------------------------------
# VehicleRole ::= ENUMERATED {
#     default         (0), 
#     publicTransport (1), 
#     specialTransport(2), 
#     dangerousGoods  (3), 
#     roadWork        (4), 
#     rescue          (5), 
#     emergency       (6), 
#     safetyCar       (7), 
#     agriculture     (8), 
#     commercial      (9), 
#     military        (10), 
#     roadOperator    (11), 
#     taxi            (12), 
#     uvar            (13), 
#     rfu1            (14), 
#     rfu2            (15)
# }
# ------------------------------------------------------------------------------
# *
# * This DE indicates the role played by a vehicle at a point in time.
# *
# * The value shall be set to:
# * - 0 `default`          - to indicate the default vehicle role as indicated by the vehicle type,
# * - 1 `publicTransport`  - to indicate that the vehicle is used to operate public transport service,
# * - 2 `specialTransport` - to indicate that the vehicle is used for special transport purpose, e.g. oversized trucks,
# * - 3 `dangerousGoods`   - to indicate that the vehicle is used for dangerous goods transportation,
# * - 4 `roadWork`         - to indicate that the vehicle is used to realize roadwork or road maintenance mission,
# * - 5 `rescue`           - to indicate that the vehicle is used for rescue purpose in case of an accident, e.g. as a towing service,
# * - 6 `emergency`        - to indicate that the vehicle is used for emergency mission, e.g. ambulance, fire brigade,
# * - 7 `safetyCar`        - to indicate that the vehicle is used for public safety, e.g. patrol,
# * - 8 `agriculture`      - to indicate that the vehicle is used for agriculture, e.g. farm tractor, 
# * - 9 `commercial`       - to indicate that the vehicle is used for transportation of commercial goods,
# * - 10 `military`        - to indicate that the vehicle is used for military purpose, 
# * - 11 `roadOperator`    - to indicate that the vehicle is used in road operator missions,
# * - 12 `taxi`            - to indicate that the vehicle is used to provide an authorized taxi service,
# * - 13 `uvar`            - to indicate that the vehicle is authorized to enter a zone according to the applicable Urban Vehicle Access Restrictions.
# * - 14 `rfu1`            - is reserved for future usage.
# * - 15 `rfu2`            - is reserved for future usage.
# * 
# * @category: Vehicle Information
# * @revision: Description updated in V2.1.1 (removed reference to CEN/TS 16157-3), value 13 assigned in V2.2.1
# 

uint8 value
uint8 DEFAULT = 0
uint8 PUBLIC_TRANSPORT = 1
uint8 SPECIAL_TRANSPORT = 2
uint8 DANGEROUS_GOODS = 3
uint8 ROAD_WORK = 4
uint8 RESCUE = 5
uint8 EMERGENCY = 6
uint8 SAFETY_CAR = 7
uint8 AGRICULTURE = 8
uint8 COMMERCIAL = 9
uint8 MILITARY = 10
uint8 ROAD_OPERATOR = 11
uint8 TAXI = 12
uint8 UVAR = 13
uint8 RFU1 = 14
uint8 RFU2 = 15