Revision: 7083 http://playerstage.svn.sourceforge.net/playerstage/?rev=7083&view=rev Author: thjc Date: 2008-10-07 11:34:17 +0000 (Tue, 07 Oct 2008)
Log Message: ----------- applied patch 2144822 VFH Planner initilization Modified Paths: -------------- code/player/trunk/server/drivers/position/vfh/vfh.cc Modified: code/player/trunk/server/drivers/position/vfh/vfh.cc =================================================================== --- code/player/trunk/server/drivers/position/vfh/vfh.cc 2008-10-07 11:33:53 UTC (rev 7082) +++ code/player/trunk/server/drivers/position/vfh/vfh.cc 2008-10-07 11:34:17 UTC (rev 7083) @@ -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 Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit