CARLA
 
载入中...
搜索中...
未找到
| 类型定义 | 函数
carla::client::detail 命名空间参考

class  ActorFactory
 
class  ActorState
 参与者的内部状态 更多...
 
class  ActorVariant
 创建一个执行者, 只在需要的时候实例化. 更多...
 
class  AtomicList
 持有一个指向列表的原子指针。 更多...
 
class  CachedActorList
 保留参与者描述列表,以避免每次都向服务器请求描述。 更多...
 
class  CallbackList
 
class  Client
 提供与 CARLA 模拟器的 rpc 和流媒体服务器的通信。 更多...
 
class  Episode
 持有当前剧集及当前剧集状态 更多...
 
class  EpisodeProxyImpl
 在给定情节期间提供对模拟器的访问。 情节结束后,对模拟器的任何访问都会引发 std::runtime_error。 更多...
 
struct  EpisodeProxyPointerType
 
class  EpisodeState
 表示某一帧的所有参与者的状态 更多...
 
struct  GarbageCollector
 
class  Simulator
 连接并控制 CARLA 模拟器。 更多...
 
class  WalkerNavigation
 

类型定义

using EpisodeProxy = EpisodeProxyImpl<EpisodeProxyPointerType::Strong>
 
using WeakEpisodeProxy = EpisodeProxyImpl<EpisodeProxyPointerType::Weak>
 

函数

 _attributes (_description.description.attributes.begin(), _description.description.attributes.end())
 
static auto & CastData (const sensor::SensorData &data)
 
template<typename T >
static T Get (carla::rpc::Response< T > &response)
 
static bool Get (carla::rpc::Response< void > &)
 
template<typename RangeT >
static auto GetActorsById_Impl (Client &client, CachedActorList &actors, const RangeT &actor_ids)
 
static EpisodeProxyPointerType::Shared Load (EpisodeProxyPointerType::Strong ptr)
 
static EpisodeProxyPointerType::Shared Load (EpisodeProxyPointerType::Weak ptr)
 
template<typename ActorT >
static auto MakeActorImpl (ActorInitializer init, GarbageCollectionPolicy gc)
 
static bool SynchronizeFrame (uint64_t frame, const Episode &episode, time_duration timeout)
 
static void ValidateVersions (Client &client)
 

类型定义说明

◆ EpisodeProxy

在文件 EpisodeProxy.h78 行定义.

◆ WeakEpisodeProxy

在文件 EpisodeProxy.h80 行定义.

函数说明

◆ _attributes()

carla::client::detail::_attributes ( _description.description.attributes. begin(),
_description.description.attributes. end() )

在文件 ActorState.cpp28 行定义.

引用了 _attributes().

被这些函数引用 _attributes().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ CastData()

static auto & carla::client::detail::CastData ( const sensor::SensorData & data)
static

在文件 Episode.cpp24 行定义.

被这些函数引用 carla::client::detail::Episode::Listen().

+ 这是这个函数的调用关系图:

◆ Get() [1/2]

template<typename T >
static T carla::client::detail::Get ( carla::rpc::Response< T > & response)
static

在文件 client/detail/Client.cpp36 行定义.

引用了 carla::rpc::Response< T >::Get().

被这些函数引用 carla::client::detail::Client::Pimpl::CallAndWait().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ Get() [2/2]

static bool carla::client::detail::Get ( carla::rpc::Response< void > & )
static

在文件 client/detail/Client.cpp40 行定义.

◆ GetActorsById_Impl()

template<typename RangeT >
static auto carla::client::detail::GetActorsById_Impl ( Client & client,
CachedActorList & actors,
const RangeT & actor_ids )
static

在文件 Episode.cpp30 行定义.

引用了 carla::client::detail::CachedActorList::GetActorsById(), carla::client::detail::CachedActorList::GetMissingIds() , 以及 carla::client::detail::CachedActorList::InsertRange().

+ 函数调用图:

◆ Load() [1/2]

static EpisodeProxyPointerType::Shared carla::client::detail::Load ( EpisodeProxyPointerType::Strong ptr)
static

在文件 EpisodeProxy.cpp18 行定义.

引用了 carla::AtomicSharedPtr< T >::load().

被这些函数引用 carla::client::detail::EpisodeProxyImpl< EpisodeProxyPointerType::Strong >::EpisodeProxyImpl() , 以及 carla::client::detail::EpisodeProxyImpl< PointerT >::TryLock().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ Load() [2/2]

static EpisodeProxyPointerType::Shared carla::client::detail::Load ( EpisodeProxyPointerType::Weak ptr)
static

在文件 EpisodeProxy.cpp22 行定义.

◆ MakeActorImpl()

template<typename ActorT >
static auto carla::client::detail::MakeActorImpl ( ActorInitializer init,
GarbageCollectionPolicy gc )
static

在文件 ActorFactory.cpp75 行定义.

引用了 DEBUG_ASSERT, carla::client::Disabled , 以及 carla::client::Enabled.

◆ SynchronizeFrame()

static bool carla::client::detail::SynchronizeFrame ( uint64_t frame,
const Episode & episode,
time_duration timeout )
static

在文件 Simulator.cpp49 行定义.

引用了 end(), carla::client::detail::Episode::GetState(), carla::traffic_manager::TrafficManager::Tick() , 以及 carla::time_duration::to_chrono().

被这些函数引用 carla::client::detail::Simulator::SetEpisodeSettings() , 以及 carla::client::detail::Simulator::Tick().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ ValidateVersions()

static void carla::client::detail::ValidateVersions ( Client & client)
static

在文件 Simulator.cpp37 行定义.

引用了 carla::log_warning().

被这些函数引用 carla::client::detail::Simulator::GetReadyCurrentEpisode().

+ 函数调用图:
+ 这是这个函数的调用关系图: