MessageId

This is a ROS message definition.

Source

# ==============================================================================
# MIT License
#
# Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University
#
# 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 https://github.com/ika-rwth-aachen/etsi_its_messages ---
# python3
#   utils/codegen/codegen-py/asn1ToRosMsg.py
#   asn1/raw/cam_ts103900/CAM-PDU-Descriptions.asn
#   asn1/patched/cam_ts103900/cdd/ETSI-ITS-CDD.asn
#   -t
#   cam_ts
#   -o
#   etsi_its_msgs/etsi_its_cam_ts_msgs/msg
# ------------------------------------------------------------------------------

# --- ASN.1 Definition ---------------------------------------------------------
# /** 
#  * This DE represents the type of facility layer message.
#  *
#  *  The value shall be set to:
#  *	- 1  - `denm`              - for Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3 [2],
#  *  - 2  - `cam`               - for Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2 [1],
#  *  - 3  - `poim`              - for Point of Interest message as specified in ETSI TS 103 916 [9],
#  *  - 4  - `spatem`            - for Signal Phase And Timing Extended Message (SPATEM) as specified in ETSI TS 103 301 [15],
#  *  - 5  - `mapem`             - for MAP Extended Message (MAPEM) as specified in ETSI TS 103 301 [15],
#  *  - 6  - `ivim`              - for in Vehicle Information Message (IVIM) as specified in ETSI TS 103 301 [15],
#  *  - 7  - `rfu1`              - reserved for future usage,
#  *  - 8  - `rfu2`              - reserved for future usage,
#  *  - 9  - `srem`              - for Signal Request Extended Message as specified in ETSI TS 103 301 [15],
#  *  - 10 - `ssem`              - for Signal request Status Extended Message as specified in ETSI TS 103 301 [15],
#  *  - 11 - `evcsn`             - for Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1 [9],
#  *  - 12 - `saem`              - for Services Announcement Extended Message as specified in ETSI EN 302 890-1 [17],
#  *  - 13 - `rtcmem`            - for Radio Technical Commission for Maritime Services Extended Message (RTCMEM) as specified in ETSI TS 103 301 [15],
#  *  - 14 - `cpm`               - reserved for Collective Perception Message (CPM), 
#  *  - 15 - `imzm`              - for Interference Management Zone Message (IMZM) as specified in ETSI TS 103 724 [13],
#  *  - 16 - `vam`               - for Vulnerable Road User Awareness Message as specified in ETSI TS 130 300-3 [12], 
#  *  - 17 - `dsm`               - reserved for Diagnosis, logging and Status Message,
#  *  - 18 - `pcim`              - reserved for Parking Control Infrastructure Message,
#  *  - 19 - `pcvm`              - reserved for Parking Control Vehicle Message,
#  *  - 20 - `mcm`               - reserved for Manoeuvre Coordination Message,
#  *  - 21 - `pam`               - reserved for Parking Availability Message,
#  *  - 22-255                   - reserved for future usage.
#  *
#  * @category: Communication information
#  * @revision: Created in V2.1.1 from @ref ItsPduHeader. Value 3 re-assigned to poim and value 7 and 8 reserved in V2.2.1
#  */
# MessageId::= INTEGER { 
#     denm              (1),  
#     cam               (2), 
#     poim              (3), 
#     spatem            (4), 
#     mapem             (5), 
#     ivim              (6), 
#     rfu1              (7), 
#     rfu2              (8), 
#     srem              (9), 
#     ssem              (10), 
#     evcsn             (11), 
#     saem              (12), 
#     rtcmem            (13), 
#     cpm               (14),
#     imzm              (15),
#     vam               (16),
#     dsm               (17), 
#     pcim              (18),
#     pcvm              (19),
#     mcm               (20),
#     pam               (21)
# } (0..255)
# ------------------------------------------------------------------------------

uint8 value
uint8 MIN = 0
uint8 MAX = 255
uint8 DENM = 1
uint8 CAM = 2
uint8 POIM = 3
uint8 SPATEM = 4
uint8 MAPEM = 5
uint8 IVIM = 6
uint8 RFU1 = 7
uint8 RFU2 = 8
uint8 SREM = 9
uint8 SSEM = 10
uint8 EVCSN = 11
uint8 SAEM = 12
uint8 RTCMEM = 13
uint8 CPM = 14
uint8 IMZM = 15
uint8 VAM = 16
uint8 DSM = 17
uint8 PCIM = 18
uint8 PCVM = 19
uint8 MCM = 20
uint8 PAM = 21