ClusterLeaveReason

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 ---------------------------------------------------------
# ClusterLeaveReason ::= ENUMERATED {
#     notProvided                   (0), 
#     clusterLeaderLost             (1),    
#     clusterDisbandedByLeader      (2),    
#     outOfClusterBoundingBox       (3),    
#     outOfClusterSpeedRange        (4),
#     joiningAnotherCluster         (5),
#     cancelledJoin                 (6),
#     failedJoin                    (7),
#     safetyCondition               (8),
#     max(15)            
# }
# ------------------------------------------------------------------------------
# *
# * This DE indicates the reason why a cluster participant is leaving the cluster.
# * 
# * The value shall be set to:
# * - 0 - `notProvided `                 - if the information is not provided,
# * - 1 - `clusterLeaderLost`            - if the cluster leader cannot be found anymore,   
# * - 2 - `clusterDisbandedByLeader`     - if the cluster has been disbanded by the leader,
# * - 3 - `outOfClusterBoundingBox`      - if the participants moved out of the cluster's bounding box,
# * - 4 - `outOfClusterSpeedRange`       - if the cluster speed moved out of a defined range, 
# * - 5 - `joiningAnotherCluster`        - if the participant is joining another cluster,
# * - 6 - `cancelledJoin`                - if the participant is cancelling a joining procedure,
# * - 7 - `failedJoin`                   - if the participant failed to join the cluster,
# * - 8 - `safetyCondition`              - if a safety condition applies.
# * - 9 to 15                            - are reserved for future use                             
# *
# * @category: Cluster information
# * @revision: Created in V2.1.1
# 

uint8 value
uint8 NOT_PROVIDED = 0
uint8 CLUSTER_LEADER_LOST = 1
uint8 CLUSTER_DISBANDED_BY_LEADER = 2
uint8 OUT_OF_CLUSTER_BOUNDING_BOX = 3
uint8 OUT_OF_CLUSTER_SPEED_RANGE = 4
uint8 JOINING_ANOTHER_CLUSTER = 5
uint8 CANCELLED_JOIN = 6
uint8 FAILED_JOIN = 7
uint8 SAFETY_CONDITION = 8
uint8 MAX = 15