From 08198e8078f69c1fdfd2b577b309b1e8b6bee1cf Mon Sep 17 00:00:00 2001 From: Remi Bettan Date: Thu, 12 Dec 2024 14:23:06 +0200 Subject: [PATCH] init _is_first_frame param to true --- realsense2_camera/src/ros_sensor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/realsense2_camera/src/ros_sensor.cpp b/realsense2_camera/src/ros_sensor.cpp index f0a5aa5331..53c6d4efe4 100644 --- a/realsense2_camera/src/ros_sensor.cpp +++ b/realsense2_camera/src/ros_sensor.cpp @@ -53,6 +53,7 @@ RosSensor::RosSensor(rs2::sensor sensor, _params(parameters, _logger), _update_sensor_func(update_sensor_func), _hardware_reset_func(hardware_reset_func), + _is_first_frame(true), _diagnostics_updater(diagnostics_updater), _force_image_default_qos(force_image_default_qos) {