Revision: 7160
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7160&view=rev
Author:   rtv
Date:     2008-11-19 20:30:37 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
updated roomba model with new syntax

Modified Paths:
--------------
    code/stage/trunk/worlds/irobot.inc

Modified: code/stage/trunk/worlds/irobot.inc
===================================================================
--- code/stage/trunk/worlds/irobot.inc  2008-11-19 08:22:32 UTC (rev 7159)
+++ code/stage/trunk/worlds/irobot.inc  2008-11-19 20:30:37 UTC (rev 7160)
@@ -4,24 +4,25 @@
   size [0.33 0.33 0.1]
 
   # this block approximates the circular shape of a Roomba
-  blocks 1
-  block[0].points 16
-  block[0].point[0] [ 0.225 0.000 ]
-  block[0].point[1] [ 0.208 0.086 ]
-  block[0].point[2] [ 0.159 0.159 ]
-  block[0].point[3] [ 0.086 0.208 ]
-  block[0].point[4] [ 0.000 0.225 ]
-  block[0].point[5] [ -0.086 0.208 ]
-  block[0].point[6] [ -0.159 0.159 ]
-  block[0].point[7] [ -0.208 0.086 ]
-  block[0].point[8] [ -0.225 0.000 ]
-  block[0].point[9] [ -0.208 -0.086 ]
-  block[0].point[10] [ -0.159 -0.159 ]
-  block[0].point[11] [ -0.086 -0.208 ]
-  block[0].point[12] [ -0.000 -0.225 ]
-  block[0].point[13] [ 0.086 -0.208 ]
-  block[0].point[14] [ 0.159 -0.159 ]
-  block[0].point[15] [ 0.208 -0.086 ]
+  block( 
+    points 16
+    point[0] [ 0.225 0.000 ]
+    point[1] [ 0.208 0.086 ]
+    point[2] [ 0.159 0.159 ]
+    point[3] [ 0.086 0.208 ]
+    point[4] [ 0.000 0.225 ]
+    point[5] [ -0.086 0.208 ]
+    point[6] [ -0.159 0.159 ]
+    point[7] [ -0.208 0.086 ]
+    point[8] [ -0.225 0.000 ]
+    point[9] [ -0.208 -0.086 ]
+    point[10] [ -0.159 -0.159 ]
+    point[11] [ -0.086 -0.208 ]
+    point[12] [ -0.000 -0.225 ]
+    point[13] [ 0.086 -0.208 ]
+    point[14] [ 0.159 -0.159 ]
+    point[15] [ 0.208 -0.086 ]
+  )
 
   # this bumper array VERY crudely approximates the Roomba's bumpers
 #  bumper( bcount 2  


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

Reply via email to