From 82b51b1ee591945aafa0d8fa06cfada7b7066366 Mon Sep 17 00:00:00 2001 From: Remi Bettan Date: Tue, 19 Nov 2024 09:56:55 +0200 Subject: [PATCH] bug correction --- src/media/ros/ros_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media/ros/ros_reader.cpp b/src/media/ros/ros_reader.cpp index 299b233f1f..b98d2ec5e8 100644 --- a/src/media/ros/ros_reader.cpp +++ b/src/media/ros/ros_reader.cpp @@ -520,7 +520,7 @@ namespace librealsense data[2] = static_cast(msg->angular_velocity.z); LOG_DEBUG("RS2_STREAM_GYRO " << motion_frame); } - if (stream_id.stream_type == RS2_STREAM_MOTION) + else if (stream_id.stream_type == RS2_STREAM_MOTION) { auto data = reinterpret_cast(motion_frame->data.data()); // orientation part