CARLA
 
载入中...
搜索中...
未找到
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
8
9namespace carla {
10namespace client {
11
12 using namespace std::string_literals;
13
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(const std::string &endpoint, time_duration timeout)
Positive time duration up to milliseconds resolution.
Definition Time.h:19
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133