X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/blobdiff_plain/09715c02260f695a67bda6667961b6736bb0a7a8..91255c290904e2384ec5ff2e07223f3977b879bc:/trunk/src/breve/robot/Demo-2wheels2-5.tz diff --git a/trunk/src/breve/robot/Demo-2wheels2-5.tz b/trunk/src/breve/robot/Demo-2wheels2-5.tz index 4e44234..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,21 +12,8 @@ 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). - + + vehicle = new CeldasVehicle. self watch item vehicle.