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
 Simulated seconds elapsed since previous frame.
 
double elapsed_seconds = 0.0
 Simulated seconds elapsed since the beginning of the current episode.
 
std::size_t frame = 0u
 Number of frames elapsed since the simulator was launched.
 
double platform_timestamp = 0.0
 Time-stamp of the frame at which this measurement was taken, in seconds as given by the OS.
 

详细描述

在文件 Timestamp.h14 行定义.

构造及析构函数说明

◆ 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.h19 行定义.

成员函数说明

◆ operator!=()

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

在文件 Timestamp.h46 行定义.

◆ operator==()

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

在文件 Timestamp.h42 行定义.

引用了 frame.

类成员变量说明

◆ delta_seconds

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

Simulated seconds elapsed since previous frame.

在文件 Timestamp.h36 行定义.

◆ 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

Time-stamp of the frame at which this measurement was taken, in seconds as given by the OS.

在文件 Timestamp.h40 行定义.


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