This article is automatically translated from Russian by Google Translator.
Read the article about creating a new text program and generating a diagram to code:
The functionality of the runtime environment is accessed through predefined objects and functions.
Object | Description |
brick | Represents the TRIK controller and provides access to the robot's devices. |
script | Represents methods of controlling the execution of the script and provides access to operating system functions. |
mailbox | It implements communication between robots in the network by means of the mailbox mechanism. |
gamepad | Serves to work with the remote control. |
Provides management of parallel threads. |
Function | Description |
getPhoto | Returns a one-dimensional array of bytes containing the pixels of the rgb32-formatted image taken from the camera. |
Allows you to use functions implemented by the user in other files. It is assumed for writing your own libraries. As a passed parameter you must specify the full system path to the file with the required functions. |