Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 550be5ed authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

bla

parent ac94ca7c
......@@ -51,7 +51,7 @@ Dart EnvMap::getBelongingCell(const PFP::VEC3& pos)
void EnvMap::init()
{
float sideSize = 70.0f;
unsigned int nbSquares = 15;
unsigned int nbSquares = 3;
CityGenerator::generateCity<PFP>(map, position, obstacleMark, buildingMark, sideSize, nbSquares);
// CityGenerator::generateMall<PFP>(map, position, obstacleMark, buildingMark, sideSize);
// CityGenerator::simplifyFreeSpace<PFP>(map, position, obstacleMark, buildingMark);
......
......@@ -5,8 +5,8 @@ Simulator::Simulator() : globalTime_(0.0f), timeStep_(0.2f)
srand(10);
envMap_.init();
std::cout << "setup scenario" << std::endl;
importAgents("myAgents.pos");
// setupScenario(15000);
// importAgents("myAgents.pos");
setupScenario(15000);
// addPathsToAgents();
unsigned nbAgents = agents_.size();
......@@ -81,7 +81,7 @@ void Simulator::doStep()
if(int(globalTime_ / timeStep_) % 1500 == 0)
{
std::cout << "swap goals (globalTime -> " << globalTime_ << std::endl ;
std::cout << "swap goals (globalTime -> " << globalTime_ << ")" << std::endl ;
swapAgentsGoals();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment