Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning message #389

Open
wants to merge 2 commits into
base: rolling
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fuse_optimizers/src/fixed_lag_smoother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ void FixedLagSmoother::processQueue(
<< lag_expiration.nanoseconds() << ". The queued transaction with timestamp "
<< element.stamp().nanoseconds() << " from sensor " << element.sensor_name
<< " has a minimum involved timestamp of " << min_stamp.nanoseconds() << ", which is "
<< (lag_expiration - min_stamp).nanoseconds()
<< (lag_expiration - min_stamp).seconds()
<< " seconds too old. Ignoring this transaction.");
transaction_riter = erase(pending_transactions_, transaction_riter);
} else if ( // NOLINT
Expand All @@ -442,7 +442,7 @@ void FixedLagSmoother::processQueue(
"The queued transaction with timestamp "
<< element.stamp().nanoseconds() << " and maximum involved stamp of "
<< max_stamp.nanoseconds() << " from sensor " << element.sensor_name
<< " could not be processed after " << (current_time - max_stamp).nanoseconds()
<< " could not be processed after " << (current_time - max_stamp).seconds()
<< " seconds, which is greater than the 'transaction_timeout' value of "
<< params_.transaction_timeout.nanoseconds() << ". Ignoring this transaction.");
transaction_riter = erase(pending_transactions_, transaction_riter);
Expand Down