]> git.llucax.com Git - z.facultad/75.68/celdas.git/commitdiff
Added a file remotely
authorMarcelo Benitez <cmarcelobenitez@gmail.com>
Sun, 26 Nov 2006 22:19:14 +0000 (22:19 +0000)
committerMarcelo Benitez <cmarcelobenitez@gmail.com>
Sun, 26 Nov 2006 22:19:14 +0000 (22:19 +0000)
trunk/src/breve/robot/Demo-2wheels2-2.tz [new file with mode: 0644]

diff --git a/trunk/src/breve/robot/Demo-2wheels2-2.tz b/trunk/src/breve/robot/Demo-2wheels2-2.tz
new file mode 100644 (file)
index 0000000..2c3ad99
--- /dev/null
@@ -0,0 +1,24 @@
+
+@use Celdas-2-2.
+\r
+@define CELDAS_MAX_TURN_VELOCITY 2.\r
+
+Controller DemoController.
+
+CeldasControl : DemoController {
+       + variables:
+               vehicle (object).
+               n (int).
+
+       + to init:
+               
+                new CeldasObstacle init at-location (0,1,0).                \r
+                new CeldasObstacle init at-location (-25,1,0).
+
+               vehicle = new CeldasVehicle.
+               self watch item vehicle.
+
+               vehicle move to (-20, 0.8, -3).
+
+               vehicle set-global-velocity to 15.0.
+}