TRIK controller programming in Python and JavaScript
Last updated
Last updated
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
Represents the TRIK controller and provides access to the robot's devices.
Represents methods of controlling the execution of the script and provides access to operating system functions.
It implements communication between robots in the network by means of the mailbox mechanism.
Serves to work with the remote control.
Provides management of parallel threads.
Function
Description
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.