1# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo 2# Copyright (C) 2017-2019 German Aerospace Center (DLR) and others. 3# This program and the accompanying materials 4# are made available under the terms of the Eclipse Public License v2.0 5# which accompanies this distribution, and is available at 6# http://www.eclipse.org/legal/epl-v20.html 7# SPDX-License-Identifier: EPL-2.0 8 9# @file _platoonmode.py 10# @author Leonhard Luecken 11# @date 2017-04-09 12# @version $Id$ 13 14 15from enum import Enum 16 17# Platoon modes 18 19 20class PlatoonMode(Enum): 21 NONE = 0 22 LEADER = 1 23 FOLLOWER = 2 24 CATCHUP = 3 25 CATCHUP_FOLLOWER = 4 26