Skip to content

Commit

Permalink
Merge branch 'ign-gazebo4' into gonzodepedro/world_exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Koenig committed Jan 28, 2021
2 parents 073bc91 + 8fd9b26 commit 9921e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/SimulationRunner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -872,18 +872,18 @@ void SimulationRunner::LoadLoggingPlugins(const ServerConfig &_config)
{
std::list<ServerConfig::PluginInfo> plugins;

if(_config.UseLogRecord() && !_config.LogPlaybackPath().empty())
if (_config.UseLogRecord() && !_config.LogPlaybackPath().empty())
{
ignwarn <<
"Both recording and playback are specified, defaulting to playback\n";
}

if(!_config.LogPlaybackPath().empty())
if (!_config.LogPlaybackPath().empty())
{
auto playbackPlugin = _config.LogPlaybackPlugin();
plugins.push_back(playbackPlugin);
}
else if(_config.UseLogRecord())
else if (_config.UseLogRecord())
{
auto recordPlugin = _config.LogRecordPlugin();
plugins.push_back(recordPlugin);
Expand Down
1 change: 0 additions & 1 deletion test/integration/logical_camera_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,4 @@ TEST_F(LogicalCameraTest, LogicalCameraBox)
ignition::math::Pose3d boxPoseCamera2Frame = boxPose - sensor2Pose;
EXPECT_EQ(boxPoseCamera2Frame, ignition::msgs::Convert(img2.model(0).pose()));
mutex.unlock();

}

0 comments on commit 9921e82

Please sign in to comment.