Skip to content

Commit

Permalink
Adding some logging to fuse
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLocus committed Jun 13, 2024
1 parent a98e9ae commit c673d9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fuse_optimizers/src/fixed_lag_smoother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,14 +456,17 @@ bool FixedLagSmoother::startServiceCallback(std_srvs::Empty::Request&, std_srvs:

void FixedLagSmoother::start()
{
ROS_INFO_STREAM("Starting optimizer.");
// Tell all the plugins to start
startPlugins();
// Test for auto-start
autostart();
ROS_INFO_STREAM("Starting optimizer complete.");
}

void FixedLagSmoother::stop()
{
ROS_INFO_STREAM("Stopping optimizer.");
// Tell all the plugins to stop
stopPlugins();
// Reset the optimizer state
Expand All @@ -490,6 +493,7 @@ void FixedLagSmoother::stop()
timestamp_tracking_.clear();
lag_expiration_ = ros::Time(0, 0);
}
ROS_INFO_STREAM("Optimizer stopping complete.");
}

void FixedLagSmoother::transactionCallback(
Expand Down

0 comments on commit c673d9f

Please sign in to comment.