Good old Matlab reflex, I tried to put a constant to square using "^2" and studio crashed. Here is a piece of code that crashes every time if you put the "^2" after any of the constants:
onevent acc
if acc[2] <= THRESHOLD_Z_ACC and (acc[0]_acc[0] > THRESHOLD_LOW or acc[1]_acc[1] > THRESHOLD_LOW) then
call leds.circle(0,0,0,0,0,0,0,0)
end
Here is the window that opens:
And then, when I try just to launch studio again, it can't connect to the Thymio. It displays this message:
I managed to reconnect by launching the "Restart USB port" in the tools of Aseba.
I'm on windows 7, Aseba studio 1.2.2 (build ver. git-80758c4 / protocol ver.4)
Hi
Good old Matlab reflex, I tried to put a constant to square using "^2" and studio crashed. Here is a piece of code that crashes every time if you put the "^2" after any of the constants:
onevent acc if acc[2] <= THRESHOLD_Z_ACC and (acc[0]_acc[0] > THRESHOLD_LOW or acc[1]_acc[1] > THRESHOLD_LOW) then call leds.circle(0,0,0,0,0,0,0,0) end
Here is the window that opens:
And then, when I try just to launch studio again, it can't connect to the Thymio. It displays this message:
I managed to reconnect by launching the "Restart USB port" in the tools of Aseba.
I'm on windows 7, Aseba studio 1.2.2 (build ver. git-80758c4 / protocol ver.4)