1. MPI_Allgatherv, version 0.5.3

2. try static models, modify
This commit is contained in:
zhangshuai 2019-07-18 15:10:36 +08:00
parent 04fcd7c5b3
commit 90bfe4dc1d
1 changed files with 4 additions and 1 deletions

View File

@ -1357,7 +1357,10 @@ ModelPtr World::LoadModel(sdf::ElementPtr _sdf, BasePtr _parent)
if (model->GetName() == this->distribution->GetGazeboIDPtr(gazeboLocalID)->GetModelName(i)) if (model->GetName() == this->distribution->GetGazeboIDPtr(gazeboLocalID)->GetModelName(i))
{ {
this->dataPtr->ownModels.push_back(model); 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
} }
} }
} }