mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
Merge branch 'fix/standalone-imu-time-domain' into v2/develop
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user