Skip to content

Commit

Permalink
Merge pull request #24 from iory/fetch15-timered
Browse files Browse the repository at this point in the history
  • Loading branch information
708yamaguchi authored Jul 13, 2022
2 parents dcc5ada + 2454f6b commit bc9c21a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jsk_topic_tools/src/timered_diagnostic_updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ namespace jsk_topic_tools

void TimeredDiagnosticUpdater::update()
{
diagnostic_updater_->update();
// Since TimedDiagnosticUpdater is already managed as a timer,
// diagnostic_updater_->force_update is executed instead of diagnostic_updater_->update.
diagnostic_updater_->force_update();
}

void TimeredDiagnosticUpdater::timerCallback(const ros::TimerEvent& event)
Expand Down

0 comments on commit bc9c21a

Please sign in to comment.