From 90bfe4dc1dd3dff10e7b64d8b773193c5fdac96f Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Thu, 18 Jul 2019 15:10:36 +0800 Subject: [PATCH] 1. MPI_Allgatherv, version 0.5.3 2. try static models, modify --- Gazebo_Distributed_MPI/gazebo/physics/World.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gazebo_Distributed_MPI/gazebo/physics/World.cc b/Gazebo_Distributed_MPI/gazebo/physics/World.cc index 32beb91..110de1d 100644 --- a/Gazebo_Distributed_MPI/gazebo/physics/World.cc +++ b/Gazebo_Distributed_MPI/gazebo/physics/World.cc @@ -1357,7 +1357,10 @@ ModelPtr World::LoadModel(sdf::ElementPtr _sdf, BasePtr _parent) if (model->GetName() == this->distribution->GetGazeboIDPtr(gazeboLocalID)->GetModelName(i)) { this->dataPtr->ownModels.push_back(model); - model->SetStatic(true); // Added by zhangshuai for MPI 2019.07.17 + } + else + { + model->SetStatic(true); // Added by zhangshuai for MPI 2019.07.18 } } }