From ca48ec8f472471c8b0fda96e5f5f717c337d137f Mon Sep 17 00:00:00 2001 From: kosuke55 Date: Thu, 24 Jun 2021 14:12:59 +0900 Subject: [PATCH] Not raising warn if delay is 0 --- rosbag2_transport/src/rosbag2_transport/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rosbag2_transport/src/rosbag2_transport/player.cpp b/rosbag2_transport/src/rosbag2_transport/player.cpp index 58a63a4d60..2148f8da28 100644 --- a/rosbag2_transport/src/rosbag2_transport/player.cpp +++ b/rosbag2_transport/src/rosbag2_transport/player.cpp @@ -215,7 +215,7 @@ void Player::play() is_in_play_ = true; float delay; - if (play_options_.delay > 0.0) { + if (play_options_.delay >= 0.0) { delay = play_options_.delay; } else { RCLCPP_WARN(