VruMovementControl

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/vam-ts103300_3/VAM-PDU-Descriptions.asn
#   asn1/patched/vam-ts103300_3/cdd/ETSI-ITS-CDD.asn
#   -t
#   vam_ts
#   -o
#   etsi_its_msgs/etsi_its_vam_ts_msgs/msg
# ------------------------------------------------------------------------------

# --- ASN.1 Definition ---------------------------------------------------------
# /**
#  *  This DE indicates the status of the possible human control over a VRU vehicle.
#  *
#  * The value shall be set to:
#  * - 0 `unavailable`                 - to indicate that the information is unavailable,
#  * - 1 `braking`                     - to indicate that the VRU is braking,
#  * - 2 `hardBraking`                 - to indicate that the VRU is braking hard,
#  * - 3 `stopPedaling`                - to indicate that the VRU stopped pedaling,
#  * - 4 `brakingAndStopPedaling`      - to indicate that the VRU stopped pedaling an is braking,
#  * - 5 `hardBrakingAndStopPedaling`  - to indicate that the VRU stopped pedaling an is braking hard,
#  * - 6 `noReaction`                  - to indicate that the VRU is not changing its behavior.
#  * - 7 to 255                        - are reserved for future usage. Value 255 is set to "max" in order to bound the size of the encoded field.
#  *
#  * @category: VRU information
#  * @revision: Created in V2.1.1
#  */
# VruMovementControl ::= ENUMERATED {
#     unavailable                (0), 
#     braking                    (1), 
#     hardBraking                (2), 
#     stopPedaling               (3), 
#     brakingAndStopPedaling     (4), 
#     hardBrakingAndStopPedaling (5), 
#     noReaction                 (6), 
#     max                        (255)
# }
# ------------------------------------------------------------------------------

uint8 value
uint8 UNAVAILABLE = 0
uint8 BRAKING = 1
uint8 HARD_BRAKING = 2
uint8 STOP_PEDALING = 3
uint8 BRAKING_AND_STOP_PEDALING = 4
uint8 HARD_BRAKING_AND_STOP_PEDALING = 5
uint8 NO_REACTION = 6
uint8 MAX = 255