mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-09-12 11:10:19 +08:00
feat: update the output timing for frame drop notifications
This commit is contained in:
@@ -120,6 +120,7 @@ class FrameTimestampCsvLogger {
|
||||
int64_t arrival_steady_us, bool publish_expected);
|
||||
void populatePublishData(StreamState &state, TrackedStream stream, int64_t publish_system_us,
|
||||
int64_t publish_steady_us);
|
||||
void reportDropLogFormatOnce();
|
||||
|
||||
std::optional<int64_t> updateDelta(std::optional<int64_t> &previous, int64_t current);
|
||||
|
||||
@@ -143,6 +144,7 @@ class FrameTimestampCsvLogger {
|
||||
std::atomic_bool shutdown_requested_{false};
|
||||
bool writer_failed_ = false;
|
||||
bool queue_warning_active_ = false;
|
||||
bool drop_log_format_reported_ = false;
|
||||
std::string csv_file_path_;
|
||||
std::ofstream csv_stream_;
|
||||
std::thread writer_thread_;
|
||||
|
||||
Reference in New Issue
Block a user