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 #110

Open
stephanemagnenat opened this issue Jul 28, 2017 · 0 comments

Comments

@stephanemagnenat
Copy link
Member

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.

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

1 participant