CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
client
TimeoutException.cpp
浏览该文件的文档.
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
#include "
carla/client/TimeoutException.h
"
8
9
namespace
carla
{
10
namespace
client {
11
12
using namespace
std::string_literals;
13
14
TimeoutException::TimeoutException
(
15
const
std::string &endpoint,
16
time_duration
timeout)
17
:
std
::runtime_error(
18
"time-out of "
s +
std
::to_string(timeout.milliseconds()) +
19
"ms while waiting for the simulator, "
20
"make sure the simulator is ready and connected to "
+ endpoint) {}
21
22
}
// namespace client
23
}
// namespace carla
TimeoutException.h
carla::client::TimeoutException::TimeoutException
TimeoutException(const std::string &endpoint, time_duration timeout)
Definition
TimeoutException.cpp:14
carla::time_duration
Positive time duration up to milliseconds resolution.
Definition
Time.h:19
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