diff --git a/src/DataLoadROS2/dataload_ros2.cpp b/src/DataLoadROS2/dataload_ros2.cpp index 0694a407..55928f55 100644 --- a/src/DataLoadROS2/dataload_ros2.cpp +++ b/src/DataLoadROS2/dataload_ros2.cpp @@ -193,7 +193,7 @@ bool DataLoadROS2::readDataFromFile(PJ::FileLoadInfo* info, { continue; } - const double msg_timestamp = 1e-9 * double(msg->time_stamp); // nanoseconds to seconds + const double msg_timestamp = 1e-9 * double(msg->send_timestamp); // nanoseconds to seconds //------ progress dialog -------------- if (msg_count++ % 100 == 0)