X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/blobdiff_plain/56921653d5a7913fac626727913465b64fd86097..91255c290904e2384ec5ff2e07223f3977b879bc:/trunk/src/breve/robot/Demo-2wheels2-5.tz?ds=inline diff --git a/trunk/src/breve/robot/Demo-2wheels2-5.tz b/trunk/src/breve/robot/Demo-2wheels2-5.tz index da40ac7..dd3f534 100644 --- a/trunk/src/breve/robot/Demo-2wheels2-5.tz +++ b/trunk/src/breve/robot/Demo-2wheels2-5.tz @@ -1,5 +1,5 @@ -@use Celdas-2-5. +@use Celdas-2-6. @define CELDAS_MAX_TURN_VELOCITY 2. @@ -12,26 +12,7 @@ CeldasControl : DemoController { + to init: obs(object). - - obs = new CeldasObstacle . - obs init at-location (0,1,10)with-size (20,3,1). - obs set-direction at (0,0,1) . - - obs = new CeldasObstacle. - obs init at-location (-25,1,0) with-size (20,3,1). - obs set-direction at (0,0,1). - - obs = new CeldasObstacle. - obs init at-location (-10,1,-10) with-size (1,3,20). - obs set-direction at (1,0,0). - - obs = new CeldasObstacle. - obs init at-location (-10,1,10) with-size (1,3,20). - obs set-direction at (1,0,0). - - obs = new CeldasObstacle. - obs init at-location (10,1,10) with-size (1,3,20). - obs set-direction at (1,0,0). + vehicle = new CeldasVehicle. self watch item vehicle.