1. MPI_Allgatherv, version 0.5.3
2. try static models, modify
This commit is contained in:
parent
04fcd7c5b3
commit
90bfe4dc1d
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue