Skip to content

Commit bc9c21a

Browse files
authored
Merge pull request #24 from iory/fetch15-timered
2 parents dcc5ada + 2454f6b commit bc9c21a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jsk_topic_tools/src/timered_diagnostic_updater.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ namespace jsk_topic_tools
7777

7878
void TimeredDiagnosticUpdater::update()
7979
{
80-
diagnostic_updater_->update();
80+
// Since TimedDiagnosticUpdater is already managed as a timer,
81+
// diagnostic_updater_->force_update is executed instead of diagnostic_updater_->update.
82+
diagnostic_updater_->force_update();
8183
}
8284

8385
void TimeredDiagnosticUpdater::timerCallback(const ros::TimerEvent& event)

0 commit comments

Comments
 (0)