Skip to content

Commit

Permalink
Publish step size in world stats topic (#2340)
Browse files Browse the repository at this point in the history

Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Mar 22, 2024
1 parent 6cfcd07 commit 5faaf5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SimulationRunner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@ void SimulationRunner::PublishStats()

msg.set_paused(this->currentInfo.paused);

msgs::Set(msg.mutable_step_size(), this->currentInfo.dt);

if (this->Stepping())
{
// (deprecated) Remove this header in Gazebo H
Expand Down

0 comments on commit 5faaf5e

Please sign in to comment.