Revision: 7082
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7082&view=rev
Author:   thjc
Date:     2008-10-07 11:33:53 +0000 (Tue, 07 Oct 2008)

Log Message:
-----------
applied patch 2144822 VFH Planner initilization

Modified Paths:
--------------
    code/player/branches/release-2-1-patches/server/drivers/position/vfh/vfh.cc

Modified: 
code/player/branches/release-2-1-patches/server/drivers/position/vfh/vfh.cc
===================================================================
--- code/player/branches/release-2-1-patches/server/drivers/position/vfh/vfh.cc 
2008-10-07 11:30:41 UTC (rev 7081)
+++ code/player/branches/release-2-1-patches/server/drivers/position/vfh/vfh.cc 
2008-10-07 11:33:53 UTC (rev 7082)
@@ -1171,6 +1171,12 @@
       this->SetError(-1);
       return;
     }
+
+    /* Initialize planner data */
+    this->planner_data.done = 1;
+    this->planner_data.valid = 0;
+    this->planner_data.waypoint_idx = -1; /* Not supported */
+    this->planner_data.waypoints_count = -1; /* Not supported */
   }
 
   memset(&this->position_id, 0, sizeof(player_devaddr_t));


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to