Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-evaluation of execution conditions can only be performed upon local events #123

Closed
MobsyaBot opened this issue Apr 18, 2018 · 1 comment

Comments

@MobsyaBot
Copy link
Collaborator

Issue by stephanemagnenat
Friday Jul 28, 2017 at 08:14 GMT
Originally opened as aseba-community/thymio-vpl2#110


In local states-8categorical branch add support for a categorical variable that can have one of 8 values, providing a simple form of state that is independent of the compiler-provided state support.

This feature works, but as currently re-evaluation of execution conditions are tight to the trigger of a local event, if a line has only this variable as event, it won't be triggered when this variable is changed.

For example, in the following program, the robot does not turn green when the forward button is pressed:
screen shot 2017-07-28 at 10 12 21

If we want to support such variable, then we should add the possibility to trigger re-evaluation of execution conditions from aesl code, rather than only upon local events.

@mbonani
Copy link
Contributor

mbonani commented May 18, 2018

as first step it should make an error and not permit to have this 8 state event alone

@mbonani mbonani closed this as completed Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants