Skip to content

Commit

Permalink
Publish step size in world stats topic (gazebosim#2340)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Gaurav Kumar <[email protected]>
  • Loading branch information
iche033 authored and GauravKumar9920 committed Mar 30, 2024
1 parent bce4ae2 commit 1716fe5
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 1716fe5

Please sign in to comment.