Revision: 7173
http://playerstage.svn.sourceforge.net/playerstage/?rev=7173&view=rev
Author: rtv
Date: 2008-11-26 21:26:26 +0000 (Wed, 26 Nov 2008)
Log Message:
-----------
cleaned up demos
Modified Paths:
--------------
code/stage/trunk/examples/ctrl/fasr.cc
Modified: code/stage/trunk/examples/ctrl/fasr.cc
===================================================================
--- code/stage/trunk/examples/ctrl/fasr.cc 2008-11-26 21:01:07 UTC (rev
7172)
+++ code/stage/trunk/examples/ctrl/fasr.cc 2008-11-26 21:26:26 UTC (rev
7173)
@@ -76,21 +76,7 @@
robot->sink = mod->GetWorld()->GetModel( "sink" );
assert(robot->sink);
-
- const uint32_t wp_count = 100;
- Waypoint* wps = new Waypoint[wp_count];
-
- for( int i=0; i<wp_count; i++ )
- {
- wps[i].pose.x = i / 12.5;
- wps[i].pose.y = 4.0*drand48() - 2.0;
- wps[i].pose.z = 0;
- wps[i].pose.a = 0;
- wps[i].color = stg_color_pack( 1,0,1,0 );
- }
-
- robot->pos->SetWaypoints( wps, wp_count );
-
+
return 0; //ok
}
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