Closed Johannes-Thiel closed 1 day ago
We noticed a similar problem. I suspect you're using a level
property on a port expander inside a rule. PR #51 should have fixed the problem with properties being evaluated too early, so we removed the workaround for level
and active
. But it turned out that when compiling a property expression, the property is still accessed in order to retrieve its data type.
A workaround (and maybe the only valid solution) is to add properties explicitly before defining rules:
button = p0.Input(42)
button.level = 0
when button.level == 1 then do_something(); end
This issue will be solved by #18: "When instantiating a proxy module, the execution should wait until the expander has sent a first broadcast message."
Fixed with #104
there seems to be a issue regarding the level property. This has been observed on the mini robot z33 and on the f15.
Due to this error, there is no core output.