Skip to content

Commit

Permalink
Merge pull request #668 from osrf/jessica/wind_plugin_port
Browse files Browse the repository at this point in the history
fix wind plugin pause
  • Loading branch information
j-herman authored Jun 21, 2023
2 parents eb3b7e1 + e3acf52 commit ebd7f7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vrx_gz/src/USVWind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ void USVWind::PreUpdate(
sim::EntityComponentManager &_ecm)
{
GZ_PROFILE("USVWind::PreUpdate");

if (_info.paused)
return;
auto time = std::chrono::duration<double>(_info.simTime);
if (this->dataPtr->previousTime == std::chrono::duration<double>(0))
{
Expand Down

0 comments on commit ebd7f7f

Please sign in to comment.