CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 类型 | Protected 成员函数 | Protected 属性 | Private 类型 | Private 成员函数 | 所有成员列表
carla::sensor::data::RawEpisodeState类 参考

表示给定帧处剧集的状态。 更多...

#include <RawEpisodeState.h>

+ 类 carla::sensor::data::RawEpisodeState 继承关系图:
+ carla::sensor::data::RawEpisodeState 的协作图:

Public 成员函数

double GetDeltaSeconds () const
 获取自上一帧以来经过的模拟秒数。
 
uint64_t GetEpisodeId () const
 获取生成此数据的剧集的唯一ID。
 
double GetGameTimeStamp () const
 模拟时间戳,即从当前剧集开始到现在经过的模拟秒数。
 
geom::Vector3DInt GetMapOrigin () const
 
double GetPlatformTimeStamp () const
 获取进行此次测量的帧的时间戳,时间单位为秒,该时间戳由操作系统提供。
 
Serializer::SimulationState GetSimulationState () const
 获取模拟状态标志,用于表示当前模拟的一些状态情况
 
- Public 成员函数 继承自 carla::sensor::data::Array< ActorDynamicState >
reference at (size_type pos)
 
const_reference at (size_type pos) const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
value_typedata ()
 
const value_typedata () const
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
reference operator[] (size_type pos)
 
const_reference operator[] (size_type pos) const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
size_type size () const
 
- Public 成员函数 继承自 carla::sensor::SensorData
size_t GetFrame () const
 获取数据生成时的帧计数
 
const rpc::TransformGetSensorTransform () const
 获取数据生成时的传感器变换
 
double GetTimestamp () const
 获取数据生成时的仿真时间
 
virtual ~SensorData ()=default
 

Protected 类型

using Serializer = s11n::EpisodeStateSerializer
 

Protected 成员函数

 RawEpisodeState (RawData &&data)
 
- Protected 成员函数 继承自 carla::sensor::data::Array< ActorDynamicState >
 Array (RawData &&data, FuncT get_offset)
 
 Array (size_t offset, RawData &&data)
 
const RawDataGetRawData () const
 
- Protected 成员函数 继承自 carla::sensor::SensorData
const auto & GetEpisode () const
 
 SensorData (const RawData &data)
 
 SensorData (size_t frame, double timestamp, const rpc::Transform &sensor_transform)
 

Protected 属性

friend Serializer
 

Private 类型

using Super = Array<ActorDynamicState>
 

Private 成员函数

auto GetHeader () const
 

额外继承的成员函数

- Public 类型 继承自 carla::sensor::data::Array< ActorDynamicState >
using const_iterator
 
using const_pointer
 
using const_reference
 
using const_reverse_iterator
 
using iterator
 
using pointer
 
using reference
 
using reverse_iterator
 
using size_type
 
using value_type
 

详细描述

表示给定帧处剧集的状态。

在文件 RawEpisodeState.h20 行定义.

成员类型定义说明

◆ Serializer

在文件 RawEpisodeState.h25 行定义.

◆ Super

using carla::sensor::data::RawEpisodeState::Super = Array<ActorDynamicState>
private

在文件 RawEpisodeState.h21 行定义.

构造及析构函数说明

◆ RawEpisodeState()

carla::sensor::data::RawEpisodeState::RawEpisodeState ( RawData && data)
inlineexplicitprotected

在文件 RawEpisodeState.h31 行定义.

成员函数说明

◆ GetDeltaSeconds()

double carla::sensor::data::RawEpisodeState::GetDeltaSeconds ( ) const
inline

获取自上一帧以来经过的模拟秒数。

在文件 RawEpisodeState.h59 行定义.

引用了 GetHeader().

+ 函数调用图:

◆ GetEpisodeId()

uint64_t carla::sensor::data::RawEpisodeState::GetEpisodeId ( ) const
inline

获取生成此数据的剧集的唯一ID。

在文件 RawEpisodeState.h44 行定义.

引用了 GetHeader().

+ 函数调用图:

◆ GetGameTimeStamp()

double carla::sensor::data::RawEpisodeState::GetGameTimeStamp ( ) const
inline

模拟时间戳,即从当前剧集开始到现在经过的模拟秒数。

在文件 RawEpisodeState.h49 行定义.

引用了 carla::sensor::SensorData::GetTimestamp().

+ 函数调用图:

◆ GetHeader()

auto carla::sensor::data::RawEpisodeState::GetHeader ( ) const
inlineprivate

在文件 RawEpisodeState.h37 行定义.

引用了 carla::sensor::s11n::EpisodeStateSerializer::DeserializeHeader() , 以及 carla::sensor::data::Array< ActorDynamicState >::GetRawData().

被这些函数引用 GetDeltaSeconds(), GetEpisodeId(), GetMapOrigin(), GetPlatformTimeStamp() , 以及 GetSimulationState().

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

◆ GetMapOrigin()

geom::Vector3DInt carla::sensor::data::RawEpisodeState::GetMapOrigin ( ) const
inline

在文件 RawEpisodeState.h63 行定义.

引用了 GetHeader().

+ 函数调用图:

◆ GetPlatformTimeStamp()

double carla::sensor::data::RawEpisodeState::GetPlatformTimeStamp ( ) const
inline

获取进行此次测量的帧的时间戳,时间单位为秒,该时间戳由操作系统提供。

在文件 RawEpisodeState.h54 行定义.

引用了 GetHeader().

+ 函数调用图:

◆ GetSimulationState()

Serializer::SimulationState carla::sensor::data::RawEpisodeState::GetSimulationState ( ) const
inline

获取模拟状态标志,用于表示当前模拟的一些状态情况

在文件 RawEpisodeState.h68 行定义.

引用了 GetHeader().

+ 函数调用图:

类成员变量说明

◆ Serializer

在文件 RawEpisodeState.h28 行定义.


该类的文档由以下文件生成: