Simulated Barcode Lightpainting
thymio_sim_sshot_v1-1.png
sim-barcode-lightpainting-screenshot-01.png
thymio-barcodelightpainting-v1_cropped.png
size="square"

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

Download the code

Click here

Link to more info

Comment this creation!

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License