Revision: 6833 http://playerstage.svn.sourceforge.net/playerstage/?rev=6833&view=rev Author: gerkey Date: 2008-07-09 18:34:50 -0700 (Wed, 09 Jul 2008)
Log Message: ----------- fixed turn in place bug, and removed verbose debug output Modified Paths: -------------- code/player/trunk/server/drivers/planner/wavefront/plan_control.c code/player/trunk/server/drivers/planner/wavefront/plan_plan.c Modified: code/player/trunk/server/drivers/planner/wavefront/plan_control.c =================================================================== --- code/player/trunk/server/drivers/planner/wavefront/plan_control.c 2008-07-10 00:12:25 UTC (rev 6832) +++ code/player/trunk/server/drivers/planner/wavefront/plan_control.c 2008-07-10 01:34:50 UTC (rev 6833) @@ -67,6 +67,8 @@ return(0); } + *rotate_dir = 0; + // We're away from the goal; compute velocities if(plan_get_carrot(plan, &cx, &cy, lx, ly, maxd, dweight) < 0.0) { Modified: code/player/trunk/server/drivers/planner/wavefront/plan_plan.c =================================================================== --- code/player/trunk/server/drivers/planner/wavefront/plan_plan.c 2008-07-10 00:12:25 UTC (rev 6832) +++ code/player/trunk/server/drivers/planner/wavefront/plan_plan.c 2008-07-10 01:34:50 UTC (rev 6833) @@ -97,7 +97,7 @@ // Find a local goal to pursue if(_plan_find_local_goal(plan, &gx, &gy, lx, ly) != 0) { - puts("no local goal"); + //puts("no local goal"); return(-1); } @@ -276,7 +276,7 @@ // Must already have computed a global goal if(plan->path_count == 0) { - puts("no global path"); + //puts("no global path"); return(-1); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit