Skip to content

Commit

Permalink
bug correction
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Nov 19, 2024
1 parent 36336ff commit 82b51b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media/ros/ros_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ namespace librealsense
data[2] = static_cast<float>(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<rs2_combined_motion*>(motion_frame->data.data());
// orientation part
Expand Down

0 comments on commit 82b51b1

Please sign in to comment.