Simulated Barcode Lightpainting
by David
Done with 1 Thymio
Keywords:
Simulation
Robotics algorithms
Multiple Thymios
The thymio barcode lightpainting example is a very creative use of the thymio robot - but it requires quite a lot of preparation and space to actually do it for real!
https://www.thymio.org/en:barcodelightpainting
So - why not run a simulation instead?
Aseba studio and aseba playground can be used together to run the barcode lightpainting aesl code on a simulated thymio.
You don't need to have an actual thymio robot to do this - this creation uses 0 real thymio robots!
Instructions
Run aseba playground and load "thymio-barcodelightpainting-v1.playground"
(the required files can be accessed below from "Download the code" and may also be made available as an example in upcoming versions of the aseba suite)
Run aseba studio and connect to the simulated thymio target.
The simulated thymio usually shows up as:
tcp:localhost;33333
Once connected, open "barcodelightpainting.aesl" and then load and run it on the simulated thymio target.
https://aseba.wdfiles.com/local--files/en:barcodelightpainting/barcodelightpainting.aesl
Note a single edit may be required in barcodelightpainting.aesl
In the current (May 2016) aseba playground there is no way to interact manually with the simulated thymio. The variable "running" needs to be initially set to 1 in order to make the simulated thymio start moving automatically.
Line two of barcodelightpainting.aesl should read:
var running = 1
The simulated thymio behaviour in aseba playground can be watched in real time beside the live data plot in aseba studio.
Note the simulated thymio in aseba playground is not available in the current release of Aseba (v1.5.3 - May 2016) - to access simulated thymio, download the current development version of Aseba by following instructions from https://www.thymio.org/en:start
Comment this creation!
Hi,
Really cool :))) Thank you for this contribution! I'll translate it in French ;)
Cheers