LibMultiSense
LibMultiSense Documentation
multisense::MultiSenseStatus::TimeStatus Struct Reference

#include <MultiSenseTypes.hh>

Public Member Functions

std::chrono::nanoseconds offset_to_host () const
 Compute the time offset which can manually be added to all camera timestamps to change the camera timestamps from the reference clock of the camera into reference clock of the host. More...
 
TimeT apply_offset_to_host (const TimeT &input_camera_time) const
 Apply the time offset to a camera timestamps to camera timestamp from the reference clock of the camera into reference clock of the host. More...
 

Public Attributes

std::chrono::nanoseconds camera_time {0}
 The camera's system time when the status message request was received. More...
 
std::chrono::nanoseconds client_host_time {0}
 The time of the host machine running the client when the status request was sent. More...
 
std::chrono::nanoseconds network_delay {0}
 The estimated network delay between when the status request was sent, and when the status request was received. More...
 

Detailed Description

Definition at line 1185 of file MultiSenseTypes.hh.

Member Function Documentation

◆ apply_offset_to_host()

TimeT multisense::MultiSenseStatus::TimeStatus::apply_offset_to_host ( const TimeT input_camera_time) const
inline

Apply the time offset to a camera timestamps to camera timestamp from the reference clock of the camera into reference clock of the host.

Definition at line 1217 of file MultiSenseTypes.hh.

◆ offset_to_host()

std::chrono::nanoseconds multisense::MultiSenseStatus::TimeStatus::offset_to_host ( ) const
inline

Compute the time offset which can manually be added to all camera timestamps to change the camera timestamps from the reference clock of the camera into reference clock of the host.

Definition at line 1208 of file MultiSenseTypes.hh.

Member Data Documentation

◆ camera_time

std::chrono::nanoseconds multisense::MultiSenseStatus::TimeStatus::camera_time {0}

The camera's system time when the status message request was received.

Definition at line 1190 of file MultiSenseTypes.hh.

◆ client_host_time

std::chrono::nanoseconds multisense::MultiSenseStatus::TimeStatus::client_host_time {0}

The time of the host machine running the client when the status request was sent.

Definition at line 1195 of file MultiSenseTypes.hh.

◆ network_delay

std::chrono::nanoseconds multisense::MultiSenseStatus::TimeStatus::network_delay {0}

The estimated network delay between when the status request was sent, and when the status request was received.

This is computed by measuring the time between when the client machine sent the status request, and received the status response

Definition at line 1202 of file MultiSenseTypes.hh.


The documentation for this struct was generated from the following file: