Le lundi, 13 décembre 2010 13.25:48, Jonathan Mullins a écrit :
> Thanks guys,
> 
> And another question... Does Aseba treat all int variables coming from a
> target as signed 16bit? I tried using an unsigned however Aseba still
> interpreted it as signed.

Yes, but natives function can interpret then the way you want. 

> In the EPuckVariables code for the physical robot I tried using a uint16
> instead of sint16.

The virtual machine has only one type: 16bits, signed. 
But you can use natives function which use the vmVariables array as a 
"storage" place and interpret the type differently (32bits variables made out 
of 2 consecutive 16bits etc...)


Regards,

Philippe

_______________________________________________
Aseba-user mailing list
[email protected]
https://mail.gna.org/listinfo/aseba-user

Reply via email to