From: clement r. <kl...@us...> - 2006-01-19 21:23:46
|
Update of /cvsroot/robotflow/RobotFlow/Behaviors/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27069/src Modified Files: EllipticalAvoid.cc Log Message: correct memory managment initialisation Index: EllipticalAvoid.cc =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/Behaviors/src/EllipticalAvoid.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** EllipticalAvoid.cc 19 Jan 2006 16:49:04 -0000 1.4 --- EllipticalAvoid.cc 19 Jan 2006 21:23:38 -0000 1.5 *************** *** 201,205 **** // Memory to prevent oscillation (avoiding / not avoiding) ! static int memory = m_nbAvoidance; static bool avoidActivated = false; static unsigned int lastPos = 0; --- 201,205 ---- // Memory to prevent oscillation (avoiding / not avoiding) ! static int memory = 0; static bool avoidActivated = false; static unsigned int lastPos = 0; |