ClusterBreakupReason

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 ---------------------------------------------------------
# ClusterBreakupReason ::= ENUMERATED {
#     notProvided                        (0),
#     clusteringPurposeCompleted         (1),
#     leaderMovedOutOfClusterBoundingBox (2),    
#     joiningAnotherCluster              (3),
#     enteringLowRiskAreaBasedOnMaps     (4),
#     receptionOfCpmContainingCluster    (5),
#     max(15)                                                                 
# }
# ------------------------------------------------------------------------------
# *
# * This DE indicates the reason why a cluster leader intends to break up the cluster.
# * 
# * The value shall be set to:
# * - 0 - `notProvided`                          - if the information is not provided,
# * - 1 - `clusteringPurposeCompleted`           - if the cluster purpose has been completed,
# * - 2 - `leaderMovedOutOfClusterBoundingBox`   - if the leader moved out of the cluster's bounding box,
# * - 3 - `joiningAnotherCluster`                - if the cluster leader is about to join another cluster,
# * - 4 - `enteringLowRiskAreaBasedOnMaps`       - if the cluster is entering an area idenrified as low risk based on the use of maps,
# * - 5 - `receptionOfCpmContainingCluster`      - if the leader received a Collective Perception Message containing information about the same cluster. 
# * - 6 to 15                                    - are reserved for future use.                                    
# *
# * @category: Cluster information
# * @revision: Created in V2.1.1
#

uint8 value
uint8 NOT_PROVIDED = 0
uint8 CLUSTERING_PURPOSE_COMPLETED = 1
uint8 LEADER_MOVED_OUT_OF_CLUSTER_BOUNDING_BOX = 2
uint8 JOINING_ANOTHER_CLUSTER = 3
uint8 ENTERING_LOW_RISK_AREA_BASED_ON_MAPS = 4
uint8 RECEPTION_OF_CPM_CONTAINING_CLUSTER = 5
uint8 MAX = 15