Mentions légales du service

Skip to content

Studio 1.5 crashes when getting events

Created by: FrancescoMondada

When running the following code on a Wireless Thymio or a Thymio connected by USB, under windows or macos, ASEBA Studio does not display the events and crashes. All is working fine under 1.4.

var speed=50
motor.left.target = speed
motor.right.target = speed

onevent prox
    when prox.ground.delta[0] < 400 do
        speed = speed+20
        motor.left.target = speed
        motor.right.target = speed
    end
    emit displayspeed speed

The problem seems to be at the reception and display of the events (here displayspeed ) Of course one should define an event called "displayspeed" with one argument.