OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

Random number generation broken #76

Closed timn closed 1 year ago

timn commented 3 years ago

When using the blocks "random integer" or "random fraction", execution fails with _randInt() or _randDouble() not found (Python KeyError). The generated code calls those functions without importing them from anywhere it seems.

ensonic commented 3 years ago

hmm for me this works. image