Documentation
Basic instructions
Overview
Basic instructions
- move
- paint
- grab
- see
Programming structures
Example scripts
Education

Basic instructions

In each domain there are a fixed number of basic instructions you may use to write a program. You're only allowed to use this instructions directly when writing the script. For our robot the following basic instructions exist:

Move
ileri(n) Move n steps forward
geri(n) Move n steps backward
sola() Turn left over 90 degrees
saða() Turn right over 90 degrees
kuzeye(n) Turn to head north and move n steps forward
güneye(n) Turn to head south and move n steps forward
doðuya(n) Turn to head east and move n steps forward
batýya(n) Turn to head west and move n steps forward
Paint
beyazaboya() Put the brush with white paint to the ground.
siyahaboya() Put the brush with black paint to the ground.
boyamyýbýrak() Stop painting, hide the brush
Grab
kavra() Get the beacon in front of the robot
býrak() Put a beacon in front of the robot
Flip coin
rastgele() Flip a coin to make a random choice. rastgele() will either be true or false.

 

See Left Front Right

 

soldaengel()

soltemiz()

soldaýþýk()

solumbeyaz()

solumsiyah()

öndeengel()

öntemiz()

öndeýþýk()

önümbeyaz()

önümsiyah()

saðdaengel()

saðtemiz()

saðdaýþýk()

saðýmbeyaz()

saðýmsiyah()

RoboMind - Copyright © 2005 - 2016 - Research Kitchen