Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Programming with NEPO follows a simple principle. The blocks are interconnected and will be executed by the robot according to their
order. This principle is called sequential operation. Only blocks that are connected with each other are executed while running the program.
The blocks that are connected together and to the start block are also called sequence or task.
To connect blocks with each other, they have sequence connections and/or connectors. Depending on the mode of a block, the number of
the connectors may vary.
Programming with NEPO is really easy. Every program begins with the program-start block.
This block is always added by default in the Open Roberta Lab workspace. The first block you want
to use is connected with the sequence connector of theprogram-start block. The sequence
connector is a triangle at the bottom of the block, and this triangle will become yellow as soon as a
suitable block is in close proximity of the block.
configuration, therefore you can jump to the section Starting a program on the robot.
Standard configuration
To simplify the robot configuration, we have already created one default configuration. This
configuration contains one touch sensor (on sensor port 1) and one ultrasonic sensor (on sensor
port 4), and two large motors (on motor ports B and C). The wheel diameter is 5,6 cm and the track
width is 13,5 cm.
This configuration corresponds to the robot of the LEGO Education building instructions.
this, you need to log in to the Roberta Open Lab. Then you go to the Robot configuration
EV3basis menu to configure the settings as they match to your real robot. Afterwards click the
menu edit and save - or save as. Using save as you can give your robot configuration a
new name. If you click only on save, the existing setting will be overwritten with the name Robot
configuration EV3basis.
Sensors
Here you declare the sensors connected to the sonsorports. For this you only need to drag one of
the available sensors to the corresponding sensor port.
Motors
The settings are done like those of sensors. Drag the corresponding motor to the motor port,
according your robot model. Additionally, there is the possibility of other power consumers to be
connected to an engine port.
NEPO
NEPO, this is how we call our graphical programming language. It is easy and fun to learn programming. NEPO can also be used to
program and interact with other robot systems. We hope that there will be an opportunity for one of our upcoming updates of the Open
Roberta Labs that you can for example program a NXT robot with NEPO.
Maybe NEPO seems familiar to you. When designing NEPO we were inspired by existing concepts like scratch and blockly.
The graphical NEPO blocks have different components and thus different attributes. A block always represents a certain functionality. Its
function can easily be recognized through the associated block category, for example sensors . Other features of the graphical blocks are:
Selection Menu
In the selection menu you can choose between various functionalities such as in block drive bet
ween forward and reverse.
Sequence conncetion
Using the sequence connection, the blocks are interconnected. The program consists of all
interconnected blocks. The blocks will be executed according to their order - from top to bottom. A
NEPO block can have more then one sequence connection.
In total there six input and output types within NEPO. These types can have the following values:
1.
2.
3.
4.
5.
6.
The type List can even include the other four values.
Block Categories
A block-category summerizes blocks which have the same functionality. For example, the
block-category "sensors" contains all blocks which can be used to program the standard LEGO
MINDSTORMS EV3 sensors.
The Open Roberta Lab offers two choices that will serve for clarity when selecting existing blocks:
Step 1: Login
Beginner
Expert
Switching between block-categories is possible only after login (see right).
The selection "Beginners" is the default selection. This category includes the main program blocks
which are most important for programming a robot.
Choosing "Advanced" includes the one additional block-categories "Functions" and "List" and
additional NEPO blocks in other block categories.
NEPO offers eleven block categories:
Action
Sensors
Check
Logic
Math
Text
Lists "Advanced"
Colors
Variables
Functions "Advanced"
Message "Advanced"
The description of the blocks and the available configuration options refer to the standard model
EV3. It is used to describe the following scheme:
Setting options:
Operation
Enumeration of blocks belonging to the category
Description of the individual blocks
Settings of the blocks