Skip to content

Commit ae501ec

Browse files
Bryanbmagyar
authored andcommitted
actually latch the pub_time_initialized_ latch
1 parent 3905e20 commit ae501ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

joint_state_controller/src/joint_state_controller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ namespace joint_state_controller
9191
if (!pub_time_initialized_)
9292
{
9393
last_publish_time_ = time - ros::Duration(1.001/publish_rate_); //ensure publish on first cycle
94+
pub_time_initialized_ = true;
9495
}
9596
}
9697

0 commit comments

Comments
 (0)