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
напред(n) Move n steps forward
назад(n) Move n steps backward
наляво Turn left over 90 degrees
надясно Turn right over 90 degrees
север(n) Turn to head north and move n steps forward
юг(n) Turn to head south and move n steps forward
изток(n) Turn to head east and move n steps forward
запад(n) Turn to head west and move n steps forward
Paint
оцветиБяло Put the brush with white paint to the ground.
оцветиЧерно Put the brush with black paint to the ground.
сприОцветяване Stop painting, hide the brush
Grab
вдигни Get the beacon in front of the robot
пусни Put a beacon in front of the robot
Flip coin
шансМонета Flip a coin to make a random choice. шансМонета will either be true or false.

 

See Left Front Right

 

влявоПрепяствие

влявоСвободно

влявоФар

влявоБяло

влявоЧерно

напредПрепяствие

напредСвободно

напредФар

напредБяло

напредЧерно

вдясноПрепяствие

вдясноСвободно

вдясноФар

вдясноБяло

вдясноЧерно

RoboMind - Copyright © 2005 - 2016 - Research Kitchen