EV3 Elephant using Open Roberta in Linux

2017-06-19 17.58.14b

[existeix una versió en català]

We performed a second test of the Open Roberta framework (the first one covered the installation): it has a longer code with functions and variables (it is no longer a basic level).

In particular, we have programmed the behavior of the Lego EV3 Elephant using the Open Roberta framework. Instead of the Lego development software that only works for Mac and Win desktops, Open Roberta can also be used from Linux (we have used Ubuntu 16.10).

 

 (click to enlarge)

The aim was to follow the original Lego program to let the Elephant move according to the keys pressed:

 

 (click to enlarge and choose “View full size”)

Robot configuration

 

elephant-OpenRoberta-config

(click to enlarge)

Code

 

elephant-OpenRoberta-code

 (click to enlarge)

Conclusions

  • Open Roberta is ready for production from Linux.
  • To-do list: to check how to create parallelism within a procedure.