CARLA
 
载入中...
搜索中...
未找到
SignalType.h
浏览该文件的文档.
1// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy; see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include <string>
10
11namespace carla {
12namespace road {
13
14 /// Using OpenDRIVE 1.5M (6.10 Country Codes)
15 ///
16 class SignalType {
17 public:
18 static const std::string Danger(); // = "101" // danger types from 101 to 151
19 static const std::string LanesMerging(); // = "121";
20 static const std::string CautionPedestrian(); // = "133";
21 static const std::string CautionBicycle(); // = "138";
22 static const std::string LevelCrossing(); // = "150";
23 static const std::string YieldSign(); // = "205";
24 static const std::string StopSign(); // = "206";
25 static const std::string MandatoryTurnDirection(); // = "209" // Left, right or forward
26 static const std::string MandatoryLeftRightDirection(); // = "211";
27 static const std::string TwoChoiceTurnDirection(); // = "214" // Forward-left, forward-right, left-right
28 static const std::string Roundabout(); // = "215";
29 static const std::string PassRightLeft(); // = "222";
30 static const std::string AccessForbidden(); // = "250";
31 static const std::string AccessForbiddenMotorvehicles(); // = "251";
32 static const std::string AccessForbiddenTrucks(); // = "253";
33 static const std::string AccessForbiddenBicycle(); // = "254";
34 static const std::string AccessForbiddenWeight(); // = "263";
35 static const std::string AccessForbiddenWidth(); // = "264";
36 static const std::string AccessForbiddenHeight(); // = "265";
37 static const std::string AccessForbiddenWrongDirection(); // = "267";
38 static const std::string ForbiddenUTurn(); // = "272";
39 static const std::string MaximumSpeed(); // = "274";
40 static const std::string ForbiddenOvertakingMotorvehicles(); // = "276";
41 static const std::string ForbiddenOvertakingTrucks(); // = "277";
42 static const std::string AbsoluteNoStop(); // = "283";
43 static const std::string RestrictedStop(); // = "286";
44 static const std::string HasWayNextIntersection(); // = "301";
45 static const std::string PriorityWay(); // = "306";
46 static const std::string PriorityWayEnd(); // = "307";
47 static const std::string CityBegin(); // = "310";
48 static const std::string CityEnd(); // = "311";
49 static const std::string Highway(); // = "330";
50 static const std::string DeadEnd(); // = "357";
51 static const std::string RecomendedSpeed(); // = "380";
52 static const std::string RecomendedSpeedEnd(); // = "381";
53
54 static bool IsTrafficLight(const std::string &type);
55 };
56
57} // road
58} // carla
Using OpenDRIVE 1.5M (6.10 Country Codes)
Definition SignalType.h:16
static const std::string CautionBicycle()
static const std::string AccessForbiddenWrongDirection()
static const std::string AccessForbiddenBicycle()
static const std::string RecomendedSpeed()
static const std::string AbsoluteNoStop()
static const std::string MandatoryTurnDirection()
static const std::string DeadEnd()
static const std::string AccessForbidden()
static const std::string RestrictedStop()
static const std::string LevelCrossing()
static const std::string CityBegin()
static const std::string ForbiddenUTurn()
static const std::string ForbiddenOvertakingTrucks()
static const std::string YieldSign()
static const std::string Danger()
static const std::string RecomendedSpeedEnd()
static const std::string AccessForbiddenMotorvehicles()
static const std::string CautionPedestrian()
static const std::string Highway()
static const std::string AccessForbiddenHeight()
static const std::string Roundabout()
static const std::string PassRightLeft()
static const std::string HasWayNextIntersection()
static bool IsTrafficLight(const std::string &type)
static const std::string CityEnd()
static const std::string ForbiddenOvertakingMotorvehicles()
static const std::string LanesMerging()
static const std::string AccessForbiddenWeight()
static const std::string MandatoryLeftRightDirection()
static const std::string MaximumSpeed()
static const std::string PriorityWayEnd()
static const std::string AccessForbiddenTrucks()
static const std::string PriorityWay()
static const std::string TwoChoiceTurnDirection()
static const std::string StopSign()
static const std::string AccessForbiddenWidth()
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133