CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
road
LaneValidity.h
浏览该文件的文档.
1
// Copyright (c) 2019 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 "
carla/NonCopyable.h
"
10
#include <string>
11
#include <vector>
12
#include "
carla/road/RoadTypes.h
"
13
14
namespace
carla
{
15
namespace
road {
16
17
struct
LaneValidity
{
18
public
:
19
20
LaneValidity
(
LaneId
from_lane,
LaneId
to_lane)
21
:
_from_lane
(from_lane),
_to_lane
(to_lane) {}
22
23
road::LaneId
_from_lane
;
24
25
road::LaneId
_to_lane
;
26
27
};
28
29
}
// road
30
}
// carla
NonCopyable.h
RoadTypes.h
carla::road::LaneId
int32_t LaneId
Definition
RoadTypes.h:19
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
carla::road::LaneValidity
Definition
LaneValidity.h:17
carla::road::LaneValidity::_from_lane
road::LaneId _from_lane
Definition
LaneValidity.h:23
carla::road::LaneValidity::_to_lane
road::LaneId _to_lane
Definition
LaneValidity.h:25
carla::road::LaneValidity::LaneValidity
LaneValidity(LaneId from_lane, LaneId to_lane)
Definition
LaneValidity.h:20
制作者
1.10.0