Skip to content

Commit

Permalink
init _is_first_frame param to true
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Dec 12, 2024
1 parent 1cbd81b commit 08198e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions realsense2_camera/src/ros_sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 08198e8

Please sign in to comment.