CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
client
TrafficSign.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
#include "
carla/client/Actor.h
"
10
#include "
carla/road/RoadTypes.h
"
11
12
namespace
carla
{
13
namespace
client {
14
15
class
TrafficSign
:
public
Actor
{
16
public
:
17
18
explicit
TrafficSign
(
ActorInitializer
init) :
Actor
(
std
::move(init)) {}
19
20
const
geom::BoundingBox
&
GetTriggerVolume
()
const
{
21
return
ActorState::GetBoundingBox();
22
}
23
24
carla::road::SignId
GetSignId
()
const
;
25
26
};
27
28
}
// namespace client
29
}
// namespace carla
RoadTypes.h
carla::client::ActorInitializer
Used to initialize Actor classes.
Definition
client/detail/ActorState.h:93
carla::client::Actor
Represents an actor in the simulation.
Definition
client/Actor.h:21
carla::client::TrafficSign
Definition
TrafficSign.h:15
carla::client::TrafficSign::GetTriggerVolume
const geom::BoundingBox & GetTriggerVolume() const
Definition
TrafficSign.h:20
carla::client::TrafficSign::GetSignId
carla::road::SignId GetSignId() const
Definition
TrafficSign.cpp:14
carla::client::TrafficSign::TrafficSign
TrafficSign(ActorInitializer init)
Definition
TrafficSign.h:18
carla::geom::BoundingBox
Definition
LibCarla/source/carla/geom/BoundingBox.h:26
Actor.h
carla::road::SignId
std::string SignId
Definition
RoadTypes.h:25
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
std
Definition
CarlaRecorderCollision.h:31
制作者
1.10.0