Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SocialAgents3D
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Pitiot
SocialAgents3D
Commits
eb5c416c
Commit
eb5c416c
authored
Oct 19, 2012
by
pitiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corridor sans multirés
parent
62820091
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/env_map.h
include/env_map.h
+2
-2
src/simulator.cpp
src/simulator.cpp
+2
-2
No files found.
include/env_map.h
View file @
eb5c416c
...
...
@@ -270,7 +270,7 @@ inline void EnvMap::addObstAsNeighbor (Obstacle * o, const std::list<Dart>& bel
Dart
first
=
NIL
;
Dart
d
=
NIL
;
Dart
dd
=
NIL
;
// CGoGNout << "debut"
<<CGoGNendl;
// CGoGNout << "debut : Dart "<<(*it).index
<<CGoGNendl;
//boucle pour trouver une face du voisinage de l'obstacle ne contenant pas l'obstacle
do
{
...
...
@@ -292,7 +292,7 @@ inline void EnvMap::addObstAsNeighbor (Obstacle * o, const std::list<Dart>& bel
}
while
(
first
==
NIL
&&
d
!=
beg
);
++
it
;
}
while
(
first
==
NIL
&&
it
!=
belonging_cells
.
end
());
// CGoGNout << "first trouvée"<<first.index<<CGoGNendl;
d
=
first
;
do
{
...
...
src/simulator.cpp
View file @
eb5c416c
...
...
@@ -73,7 +73,7 @@ void Simulator::init(unsigned int config, int minSize, float dimension, bool ena
// tc3 = new ThreadUpdateInfo(agents_, nbAgents / 2, nbAgents * 3 / 4);
// tc4 = new ThreadUpdateInfo(agents_, nbAgents * 3 / 4, nbAgents);
#ifndef SPATIAL_HASHING
envMap_
.
subdivideToProperLevel
();
//
envMap_.subdivideToProperLevel();
#endif
}
...
...
@@ -188,7 +188,7 @@ void Simulator::doStep()
}
envMap_
.
updateMap
();
//
envMap_.updateMap();
// CGoGNout<<"fin update map temps : "<<nbSteps_<<CGoGNendl;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment