Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
Move initial sim time
Browse files Browse the repository at this point in the history
Signed-off-by: Audrow Nash <audrow.j.nash@nasa.gov>
  • Loading branch information
audrow committed Feb 1, 2023
1 parent 80de2f0 commit 5cc4db3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gazebo/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ bool Server::ParseArgs(int _argc, char **_argv)
"Absolute path in which to store state data")
("record_period", po::value<double>()->default_value(-1),
"Recording period (seconds).")
("initial_sim_time", po::value<double>(),
"Initial simulation time (seconds).")
("record_filter", po::value<std::string>()->default_value(""),
"Recording filter (supports wildcard and regular expression).")
("record_resources", "Recording with model meshes and materials.")
("initial_sim_time", po::value<double>(),
"Initial simulation time (seconds).")
("seed", po::value<double>(), "Start with a given random number seed.")
("iters", po::value<unsigned int>(), "Number of iterations to simulate.")
("minimal_comms", "Reduce the TCP/IP traffic output by gzserver")
Expand Down Expand Up @@ -752,6 +752,10 @@ void Server::ProcessParams()
this->dataPtr->params.count("record_resources") > 0;
util::LogRecord::Instance()->Start(params);
}
else {
gzerr << "Unknown parameter[" << iter->first << "] with value["
<< iter->second << "]" << std::endl;
}
}
}

Expand Down

0 comments on commit 5cc4db3

Please sign in to comment.