#include <Timestamp.h>
Public Member Functions | |
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 Attributes | |
double | delta_seconds = 0.0 |
Simulated seconds elapsed since previous frame. More... | |
double | elapsed_seconds = 0.0 |
Simulated seconds elapsed since the beginning of the current episode. More... | |
std::size_t | frame = 0u |
Number of frames elapsed since the simulator was launched. More... | |
double | platform_timestamp = 0.0 |
Time-stamp of the frame at which this measurement was taken, in seconds as given by the OS. More... | |
Definition at line 14 of file Timestamp.h.
|
default |
|
inline |
Definition at line 19 of file Timestamp.h.
|
inline |
Definition at line 46 of file Timestamp.h.
|
inline |
Definition at line 42 of file Timestamp.h.
References frame.
double carla::client::Timestamp::delta_seconds = 0.0 |
Simulated seconds elapsed since previous frame.
Definition at line 36 of file Timestamp.h.
double carla::client::Timestamp::elapsed_seconds = 0.0 |
Simulated seconds elapsed since the beginning of the current episode.
Definition at line 33 of file Timestamp.h.
Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), carla::rss::RssCheck::CheckObjects(), carla::traffic_manager::TrafficLightStage::HandleNonSignalisedJunction(), carla::traffic_manager::ALSM::IsVehicleStuck(), carla::client::LaneInvasionCallback::Tick(), carla::client::RssSensor::TickRssSensorThreadLocked(), carla::traffic_manager::MotionPlanStage::Update(), carla::traffic_manager::ALSM::Update(), carla::traffic_manager::ALSM::UpdateData(), and carla::traffic_manager::ALSM::UpdateIdleTime().
std::size_t carla::client::Timestamp::frame = 0u |
Number of frames elapsed since the simulator was launched.
Definition at line 30 of file Timestamp.h.
Referenced by carla::rss::RssCheck::CheckObjects(), carla::rss::RssCheck::CreateWorldModel(), carla::client::WorldSnapshot::GetFrame(), carla::client::detail::EpisodeState::GetFrame(), operator==(), carla::traffic_manager::TrafficManagerLocal::Run(), carla::client::LaneInvasionCallback::Tick(), carla::client::RssSensor::TickRssSensor(), and carla::client::RssSensor::TickRssSensorThreadLocked().
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.
Definition at line 40 of file Timestamp.h.