Skip to content

Commit c673d9f

Browse files
committed
Adding some logging to fuse
1 parent a98e9ae commit c673d9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fuse_optimizers/src/fixed_lag_smoother.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,14 +456,17 @@ bool FixedLagSmoother::startServiceCallback(std_srvs::Empty::Request&, std_srvs:
456456

457457
void FixedLagSmoother::start()
458458
{
459+
ROS_INFO_STREAM("Starting optimizer.");
459460
// Tell all the plugins to start
460461
startPlugins();
461462
// Test for auto-start
462463
autostart();
464+
ROS_INFO_STREAM("Starting optimizer complete.");
463465
}
464466

465467
void FixedLagSmoother::stop()
466468
{
469+
ROS_INFO_STREAM("Stopping optimizer.");
467470
// Tell all the plugins to stop
468471
stopPlugins();
469472
// Reset the optimizer state
@@ -490,6 +493,7 @@ void FixedLagSmoother::stop()
490493
timestamp_tracking_.clear();
491494
lag_expiration_ = ros::Time(0, 0);
492495
}
496+
ROS_INFO_STREAM("Optimizer stopping complete.");
493497
}
494498

495499
void FixedLagSmoother::transactionCallback(

0 commit comments

Comments
 (0)