CARLA
 
载入中...
搜索中...
未找到
MapLayer.cpp
浏览该文件的文档.
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#include "MapLayer.h"
8
9namespace carla {
10namespace rpc {
11
12std::string MapLayerToString(MapLayer MapLayerValue)
13{
14 switch(MapLayerValue)
15 {
16 case MapLayer::None: return "None";
17 case MapLayer::Buildings: return "Buildings";
18 case MapLayer::Decals: return "Decals";
19 case MapLayer::Foliage: return "Foliage";
20 case MapLayer::Ground: return "Ground";
21 case MapLayer::ParkedVehicles: return "Parked_Vehicles";
22 case MapLayer::Particles: return "Particles";
23 case MapLayer::Props: return "Props";
24 case MapLayer::StreetLights: return "StreetLights";
25 case MapLayer::Walls: return "Walls";
26 case MapLayer::All: return "All";
27 default: return "Invalid";
28 }
29}
30
31
32} // namespace rpc
33} // namespace carla
std::string MapLayerToString(MapLayer MapLayerValue)
Definition MapLayer.cpp:12
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133