diff --git a/src/SimulationRunner.hh b/src/SimulationRunner.hh index 60d524158f7..744253548aa 100644 --- a/src/SimulationRunner.hh +++ b/src/SimulationRunner.hh @@ -188,8 +188,10 @@ namespace ignition /// \brief Load server plugins for a given entity. /// \param[in] _config Configuration to load plugins from. + /// \param[in] _injectLogPlugins Inject log playback or record + /// plugins based on the _config contents public: void LoadServerPlugins(const ServerConfig &_config, - bool _injectLogPlugins=false); + bool _injectLogPlugins = false); /// \brief Get whether this is running. When running is true, /// then simulation is stepping forward. diff --git a/src/systems/log/LogRecord.cc b/src/systems/log/LogRecord.cc index ea4167a59f1..2e0e3665131 100644 --- a/src/systems/log/LogRecord.cc +++ b/src/systems/log/LogRecord.cc @@ -290,9 +290,6 @@ bool LogRecordPrivate::Start(const std::string &_logPath, } ignmsg << "Recording to log file [" << dbPath << "]" << std::endl; - // Use ign-transport directly - //sdf::ElementPtr sdfWorld = sdfRoot->GetElement("world"); - // Add default topics if no topics were specified. std::string dynPoseTopic = "/world/" + this->worldName + "/dynamic_pose/info";