Skip to content

Commit

Permalink
Make simulations run at max speed
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Apr 16, 2019
1 parent 46c95a2 commit 157fbef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/GymFactory/src/GymFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ gympp::EnvironmentPtr gympp::GymFactory::make(const std::__cxx11::string& envNam
// Create the environment
auto ignGym = std::make_shared<gazebo::IgnitionEnvironment>(actionSpace,
observationSpace,
/*updateRate=*/50,
/*iterations=*/10);
/*updateRate=*/10000000,
/*iterations=*/1);

// Setup the world
if (!ignGym->setupGazeboWorld(md.worldFileName)) {
gymppError << "Failed to setup gazebo world";
Expand Down

0 comments on commit 157fbef

Please sign in to comment.