CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
carla::client::Timestamp类 参考

#include <Timestamp.h>

+ carla::client::Timestamp 的协作图:

Public 成员函数

bool operator!= (const Timestamp &rhs) const
 
bool operator== (const Timestamp &rhs) const
 
 Timestamp ()=default
 
 Timestamp (std::size_t in_frame, double in_elapsed_seconds, double in_delta_seconds, double in_platform_timestamp)
 

Public 属性

double delta_seconds = 0.0
 模拟自上一帧以来经过的秒数。
 
double elapsed_seconds = 0.0
 模拟自当前情境开始以来经过的秒数。
 
std::size_t frame = 0u
 自模拟器启动以来经过的帧数。
 
double platform_timestamp = 0.0
 进行此测量的帧的时间戳,以操作系统给出的秒数为单位。
 

详细描述

在文件 Timestamp.h16 行定义.

构造及析构函数说明

◆ Timestamp() [1/2]

carla::client::Timestamp::Timestamp ( )
default

◆ Timestamp() [2/2]

carla::client::Timestamp::Timestamp ( std::size_t in_frame,
double in_elapsed_seconds,
double in_delta_seconds,
double in_platform_timestamp )
inline

在文件 Timestamp.h21 行定义.

成员函数说明

◆ operator!=()

bool carla::client::Timestamp::operator!= ( const Timestamp & rhs) const
inline

在文件 Timestamp.h54 行定义.

◆ operator==()

bool carla::client::Timestamp::operator== ( const Timestamp & rhs) const
inline

在文件 Timestamp.h49 行定义.

引用了 frame.

类成员变量说明

◆ delta_seconds

double carla::client::Timestamp::delta_seconds = 0.0

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

在文件 Timestamp.h43 行定义.

◆ elapsed_seconds

double carla::client::Timestamp::elapsed_seconds = 0.0

◆ frame

std::size_t carla::client::Timestamp::frame = 0u

◆ platform_timestamp

double carla::client::Timestamp::platform_timestamp = 0.0

进行此测量的帧的时间戳,以操作系统给出的秒数为单位。

在文件 Timestamp.h46 行定义.


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