From cc88bbb9e82ef4a19ff3ae35cb258396e38f7ea3 Mon Sep 17 00:00:00 2001 From: Kristof Hannemann <50989282+hannemn@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:24:52 +0100 Subject: [PATCH] Fixed wrong order of sender and receiver timestamp in make_frame() method (#1252) --- contrib/ecalhdf5/include/ecal/measurement/imeasurement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/ecalhdf5/include/ecal/measurement/imeasurement.h b/contrib/ecalhdf5/include/ecal/measurement/imeasurement.h index c8c75993a1..29e570c467 100644 --- a/contrib/ecalhdf5/include/ecal/measurement/imeasurement.h +++ b/contrib/ecalhdf5/include/ecal/measurement/imeasurement.h @@ -48,7 +48,7 @@ namespace eCAL meas->GetEntryDataSize(entry.ID, message_size); data.resize(message_size); meas->GetEntryData(entry.ID, (void*)data.data()); - return make_frame( data, entry.RcvTimestamp, entry.SndTimestamp ); + return make_frame( data, entry.SndTimestamp, entry.RcvTimestamp ); } std::string name() @@ -188,7 +188,7 @@ namespace eCAL // return m_owner[*m_entry_iterator]; BinaryFrame e = *it; eCAL::message::Deserialize(e.message, message); - return make_frame(message, e.receive_timestamp, e.send_timestamp); + return make_frame(message, e.send_timestamp, e.receive_timestamp); }; //friend void swap(iterator& lhs, iterator& rhs); //C++11 I think bool operator==(const iterator& rhs) const { return it == rhs.it; };