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

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
előre(n) Move n steps forward
hátra(n) Move n steps backward
balra Turn left over 90 degrees
jobbra Turn right over 90 degrees
északra(n) Turn to head north and move n steps forward
délre(n) Turn to head south and move n steps forward
keletre(n) Turn to head east and move n steps forward
nyugatra(n) Turn to head west and move n steps forward
Paint
fehérreFest Put the brush with white paint to the ground.
feketéreFest Put the brush with black paint to the ground.
nemFest Stop painting, hide the brush
Grab
felvesz Get the beacon in front of the robot
letesz Put a beacon in front of the robot
Flip coin
érmeFej Flip a coin to make a random choice. érmeFej will either be true or false.

 

See Left Front Right

 

vanBalraAkadály

balraSzabad

vanBalraJeladó

balraFehér

balraFekete

vanElőlAkadály

előlSzabad

vanElőlJeladó

előlFehér

előlFekete

vanJobbraAkadály

jobbraSzabad

vanJobbraJeladó

jobbraFehér

jobbraFekete

RoboMind - Copyright © 2005 - 2016 - Research Kitchen