Skip to content

Commit

Permalink
Not raising warn if delay is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kosuke55 committed Jun 24, 2021
1 parent 688fc5a commit ca48ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosbag2_transport/src/rosbag2_transport/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ca48ec8

Please sign in to comment.