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 - 2012 - Research Kitchen