Merge branch 'fix/standalone-imu-time-domain' into v2/develop

This commit is contained in:
slz
2026-09-03 17:37:52 +08:00
+1 -1
View File
@@ -7418,7 +7418,7 @@ void OBCameraNode::onNewIMUFrameCallback(const std::shared_ptr<ob::Frame> &frame
setDefaultIMUMessage(imu_msg);
imu_msg.header.frame_id = optical_frame_id_[stream_index];
auto timestamp = fromUsToROSTime(frame->getTimeStampUs());
auto timestamp = fromUsToROSTime(getFrameTimestampUs(frame));
imu_msg.header.stamp = timestamp;
auto imu_info = createIMUInfo(stream_index);