CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
road
RoadTypes.h
浏览该文件的文档.
1
// Copyright (c) 2017 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
// 包含C++标准库中的固定宽度整数类型定义
10
#include <cstdint>
11
// 包含C++标准库中的字符串类定义
12
#include <string>
13
14
// 定义carla命名空间
15
namespace
carla
{
16
// 在carla命名空间内定义road子命名空间
17
namespace
road {
18
19
// 道路ID类型别名,使用32位无符号整数表示
20
using
RoadId
= uint32_t;
21
22
// 交叉路口ID类型别名,使用32位有符号整数表示
23
using
JuncId
= int32_t;
24
25
// 车道ID类型别名,使用32位有符号整数表示
26
using
LaneId
= int32_t;
27
28
// 路段ID类型别名,使用32位无符号整数表示
29
using
SectionId
= uint32_t;
30
31
// 对象ID类型别名(可能是道路上的某种物体),使用32位无符号整数表示
32
using
ObjId
= uint32_t;
33
34
// 标志牌ID类型别名,使用std::string表示,可能用于存储唯一标识符或名称
35
using
SignId
= std::string;
36
37
// 连接ID类型别名(可能是道路之间的连接点),使用32位无符号整数表示
38
using
ConId
= uint32_t;
39
40
// 容器ID类型别名(可能是某种逻辑或物理容器的标识符),使用std::string表示
41
using
ContId
= std::string;
42
43
}
// road命名空间结束
44
}
// carla命名空间结束
carla::road::SectionId
uint32_t SectionId
Definition
RoadTypes.h:29
carla::road::JuncId
int32_t JuncId
Definition
RoadTypes.h:23
carla::road::ContId
std::string ContId
Definition
RoadTypes.h:41
carla::road::ObjId
uint32_t ObjId
Definition
RoadTypes.h:32
carla::road::LaneId
int32_t LaneId
Definition
RoadTypes.h:26
carla::road::RoadId
uint32_t RoadId
Definition
RoadTypes.h:20
carla::road::SignId
std::string SignId
Definition
RoadTypes.h:35
carla::road::ConId
uint32_t ConId
Definition
RoadTypes.h:38
carla
CARLA模拟器的主命名空间。
Definition
Carla.cpp:139
制作者
1.10.0