Introduction to the Programming interface of openRoberta
Informations for the visual programming environment Blockly for senseBox.
openRoberta is a graphical programming interface developed by the Fraunhofer Institute. Besides the senseBox, you can program many other systems via Open Roberta.
Open the Open Roberta Lab at lab.open-roberta.org. There you first have to select your system, the senseBox.
After you have chosen your system, you will find yourself on the programming interface. This can be roughly divided into three areas: The navigation bar at the top, the toolbox on the left and the large white work area.
By clickling on the Globe Icon in the top right of the navigation bar you can choose your language.
The Navigation bar can be divided into two areas. In the upper half the buttons “Edit”, “Robot”, “Help” etc. There, for example, stored programs can be opened or the system can be changed. In the lower half are the tabs for “Program” and “Robot Configuration”. The “Program” tab is open by default and shows you your desktop to write programs. Under the tab “Robot configuration” the different connected sensors and actuators must be specified.
If a connected component is not specified in the robot configuration, it cannot be used in the program!
Behind the Toolbox are all the blocks you need to program the senseBox. You can simply drag and drop into the workspace. All blocks of a category are always colored in the same color as the category.
In the workspace you program your senseBox. As you can see, by default there are already two blocks in the ‘Start’ and ‘Repeat infinitely often’ workspace. These blocks are essential for every program and therefore cannot be removed. Furthermore you will find the button in the lower right corner of the workspace to transfer your program to the senseBox, save the program in the cloud, zoom in and out your blocks in the workspace and the trash can to delete blocks.
To transfer your program to the senseBox, you must connect the senseBox to your computer via the USB cable. Next, you can download it by clicking the “Play” button in the lower left corner of the workspace. Now follow the instructions in the Pop-up window.
This and all other information about the Open Roberta Lab can be found online in the [Documentation on the openroberta-lab from the Fraunhofer Institute] (https://jira.iais.fraunhofer.de/wiki/display/ORInfo ).
Vorstellung der verschiedenen Editoren für die senseBox